libsodium (1.0.19)

(root)/
include/
sodium/
crypto_core_salsa208.h
       1  #ifndef crypto_core_salsa208_H
       2  #define crypto_core_salsa208_H
       3  
       4  #include <stddef.h>
       5  #include "export.h"
       6  
       7  #ifdef __cplusplus
       8  extern "C" {
       9  #endif
      10  
      11  #define crypto_core_salsa208_OUTPUTBYTES 64U
      12  SODIUM_EXPORT
      13  size_t crypto_core_salsa208_outputbytes(void)
      14              __attribute__ ((deprecated));
      15  
      16  #define crypto_core_salsa208_INPUTBYTES 16U
      17  SODIUM_EXPORT
      18  size_t crypto_core_salsa208_inputbytes(void)
      19              __attribute__ ((deprecated));
      20  
      21  #define crypto_core_salsa208_KEYBYTES 32U
      22  SODIUM_EXPORT
      23  size_t crypto_core_salsa208_keybytes(void)
      24              __attribute__ ((deprecated));
      25  
      26  #define crypto_core_salsa208_CONSTBYTES 16U
      27  SODIUM_EXPORT
      28  size_t crypto_core_salsa208_constbytes(void)
      29              __attribute__ ((deprecated));
      30  
      31  SODIUM_EXPORT
      32  int crypto_core_salsa208(unsigned char *out, const unsigned char *in,
      33                           const unsigned char *k, const unsigned char *c)
      34              __attribute__ ((nonnull(1, 2, 3)));
      35  
      36  #ifdef __cplusplus
      37  }
      38  #endif
      39  
      40  #endif