Home
last modified time | relevance | path

Searched refs:crypto_stream_salsa20_KEYBYTES (Results 1 – 7 of 7) sorted by relevance

/freebsd/sys/contrib/libsodium/src/libsodium/crypto_stream/salsa20/
H A Dstream_salsa20.c32 return crypto_stream_salsa20_KEYBYTES; in crypto_stream_salsa20_keybytes()
72 crypto_stream_salsa20_keygen(unsigned char k[crypto_stream_salsa20_KEYBYTES]) in crypto_stream_salsa20_keygen() argument
74 randombytes_buf(k, crypto_stream_salsa20_KEYBYTES); in crypto_stream_salsa20_keygen()
/freebsd/sys/contrib/libsodium/src/libsodium/include/sodium/
H A Dcrypto_stream_salsa20.h23 #define crypto_stream_salsa20_KEYBYTES 32U macro
51 void crypto_stream_salsa20_keygen(unsigned char k[crypto_stream_salsa20_KEYBYTES]);
/freebsd/sys/contrib/libsodium/src/libsodium/crypto_secretbox/
H A Dcrypto_secretbox_easy.c24 unsigned char subkey[crypto_stream_salsa20_KEYBYTES]; in crypto_secretbox_detached()
90 unsigned char subkey[crypto_stream_salsa20_KEYBYTES]; in crypto_secretbox_open_detached()
95 crypto_stream_salsa20(block0, crypto_stream_salsa20_KEYBYTES, in crypto_secretbox_open_detached()
/freebsd/sys/contrib/libsodium/test/default/
H A Dkeygen.c35 { crypto_stream_salsa20_keygen, crypto_stream_salsa20_KEYBYTES }, in tv_keygen()
/freebsd/sys/contrib/libsodium/src/libsodium/randombytes/salsa20/
H A Drandombytes_salsa20_random.c94 unsigned char key[crypto_stream_salsa20_KEYBYTES];
459 &stream.key[crypto_stream_salsa20_KEYBYTES - 4] ^= (uint32_t) r; in randombytes_salsa20_random_xorhwrand()
/freebsd/sys/contrib/libsodium/src/libsodium/crypto_stream/salsa20/xmm6int/
H A Dsalsa20_xmm6int-sse2.c81 COMPILER_ASSERT(crypto_stream_salsa20_KEYBYTES == 256 / 8); in stream_sse2()
H A Dsalsa20_xmm6int-avx2.c90 COMPILER_ASSERT(crypto_stream_salsa20_KEYBYTES == 256 / 8); in stream_avx2()