mirror of
https://github.com/jedisct1/libsodium.git
synced 2026-08-25 08:37:13 +09:00
Keep crypto_stream_salsa* constants close to their wrappers
This commit is contained in:
@@ -12,16 +12,15 @@
|
||||
#include <stddef.h>
|
||||
#include "export.h"
|
||||
|
||||
#define crypto_stream_salsa2012_KEYBYTES 32U
|
||||
#define crypto_stream_salsa2012_NONCEBYTES 8U
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#define crypto_stream_salsa2012_KEYBYTES 32U
|
||||
SODIUM_EXPORT
|
||||
size_t crypto_stream_salsa2012_keybytes(void);
|
||||
|
||||
#define crypto_stream_salsa2012_NONCEBYTES 8U
|
||||
SODIUM_EXPORT
|
||||
size_t crypto_stream_salsa2012_noncebytes(void);
|
||||
|
||||
|
||||
@@ -12,16 +12,15 @@
|
||||
#include <stddef.h>
|
||||
#include "export.h"
|
||||
|
||||
#define crypto_stream_salsa208_KEYBYTES 32U
|
||||
#define crypto_stream_salsa208_NONCEBYTES 8U
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#define crypto_stream_salsa208_KEYBYTES 32U
|
||||
SODIUM_EXPORT
|
||||
size_t crypto_stream_salsa208_keybytes(void);
|
||||
|
||||
#define crypto_stream_salsa208_NONCEBYTES 8U
|
||||
SODIUM_EXPORT
|
||||
size_t crypto_stream_salsa208_noncebytes(void);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user