Sha256: 80814eeaced57bbe6decbbf7ec205acfdafdb041538b836de8816bfd4f69e1d6

Contents?: true

Size: 830 Bytes

Versions: 2

Compression:

Stored size: 830 Bytes

Contents

#ifndef crypto_core_salsa20_H
#define crypto_core_salsa20_H

#include <stddef.h>
#include "export.h"

#define crypto_core_salsa20_OUTPUTBYTES 64U
#define crypto_core_salsa20_INPUTBYTES 16U
#define crypto_core_salsa20_KEYBYTES 32U
#define crypto_core_salsa20_CONSTBYTES 16U

#ifdef __cplusplus
extern "C" {
#endif

SODIUM_EXPORT
size_t crypto_core_salsa20_outputbytes(void);

SODIUM_EXPORT
size_t crypto_core_salsa20_inputbytes(void);

SODIUM_EXPORT
size_t crypto_core_salsa20_keybytes(void);

SODIUM_EXPORT
size_t crypto_core_salsa20_constbytes(void);

SODIUM_EXPORT
const char * crypto_core_salsa20_primitive(void);

SODIUM_EXPORT
int crypto_core_salsa20(unsigned char *,const unsigned char *,const unsigned char *,const unsigned char *);

#ifdef __cplusplus
}
#endif

#define crypto_core_salsa20_ref crypto_core_salsa20

#endif

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rbnacl-libsodium-0.4.5 vendor/libsodium/src/libsodium/include/sodium/crypto_core_salsa20.h
rbnacl-libsodium-0.4.5a vendor/libsodium/src/libsodium/include/sodium/crypto_core_salsa20.h