003 File Manager
Current Path:
/usr/src/sys/contrib/libsodium/src/libsodium/crypto_stream/salsa2012
usr
/
src
/
sys
/
contrib
/
libsodium
/
src
/
libsodium
/
crypto_stream
/
salsa2012
/
📁
..
📁
ref
📄
stream_salsa2012.c
(520 B)
Editing: stream_salsa2012.c
#include "crypto_stream_salsa2012.h" #include "randombytes.h" size_t crypto_stream_salsa2012_keybytes(void) { return crypto_stream_salsa2012_KEYBYTES; } size_t crypto_stream_salsa2012_noncebytes(void) { return crypto_stream_salsa2012_NONCEBYTES; } size_t crypto_stream_salsa2012_messagebytes_max(void) { return crypto_stream_salsa2012_MESSAGEBYTES_MAX; } void crypto_stream_salsa2012_keygen(unsigned char k[crypto_stream_salsa2012_KEYBYTES]) { randombytes_buf(k, crypto_stream_salsa2012_KEYBYTES); }
Upload File
Create Folder