Back to home page

EIC code displayed by LXR

 
 

    


Warning, file /include/sodium/crypto_core_salsa208.h was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).

0001 #ifndef crypto_core_salsa208_H
0002 #define crypto_core_salsa208_H
0003 
0004 #include <stddef.h>
0005 #include "export.h"
0006 
0007 #ifdef __cplusplus
0008 extern "C" {
0009 #endif
0010 
0011 #define crypto_core_salsa208_OUTPUTBYTES 64U
0012 SODIUM_EXPORT
0013 size_t crypto_core_salsa208_outputbytes(void)
0014             __attribute__ ((deprecated));
0015 
0016 #define crypto_core_salsa208_INPUTBYTES 16U
0017 SODIUM_EXPORT
0018 size_t crypto_core_salsa208_inputbytes(void)
0019             __attribute__ ((deprecated));
0020 
0021 #define crypto_core_salsa208_KEYBYTES 32U
0022 SODIUM_EXPORT
0023 size_t crypto_core_salsa208_keybytes(void)
0024             __attribute__ ((deprecated));
0025 
0026 #define crypto_core_salsa208_CONSTBYTES 16U
0027 SODIUM_EXPORT
0028 size_t crypto_core_salsa208_constbytes(void)
0029             __attribute__ ((deprecated));
0030 
0031 SODIUM_EXPORT
0032 int crypto_core_salsa208(unsigned char *out, const unsigned char *in,
0033                          const unsigned char *k, const unsigned char *c)
0034             __attribute__ ((nonnull(1, 2, 3)));
0035 
0036 #ifdef __cplusplus
0037 }
0038 #endif
0039 
0040 #endif