003 File Manager
Current Path:
/usr/src/sys/contrib/libsodium/src/libsodium/crypto_stream/salsa208
usr
/
src
/
sys
/
contrib
/
libsodium
/
src
/
libsodium
/
crypto_stream
/
salsa208
/
📁
..
📁
ref
📄
stream_salsa208.c
(510 B)
Editing: stream_salsa208.c
#include "crypto_stream_salsa208.h" #include "randombytes.h" size_t crypto_stream_salsa208_keybytes(void) { return crypto_stream_salsa208_KEYBYTES; } size_t crypto_stream_salsa208_noncebytes(void) { return crypto_stream_salsa208_NONCEBYTES; } size_t crypto_stream_salsa208_messagebytes_max(void) { return crypto_stream_salsa208_MESSAGEBYTES_MAX; } void crypto_stream_salsa208_keygen(unsigned char k[crypto_stream_salsa208_KEYBYTES]) { randombytes_buf(k, crypto_stream_salsa208_KEYBYTES); }
Upload File
Create Folder