Home
last modified time | relevance | path

Searched refs:crypto_stream_chacha20_KEYBYTES (Results 1 – 9 of 9) sorted by relevance

/freebsd/sys/contrib/libsodium/src/libsodium/crypto_stream/chacha20/
H A Dstream_chacha20.c22 return crypto_stream_chacha20_KEYBYTES; in crypto_stream_chacha20_keybytes()
107 crypto_stream_chacha20_keygen(unsigned char k[crypto_stream_chacha20_KEYBYTES]) in crypto_stream_chacha20_keygen() argument
109 randombytes_buf(k, crypto_stream_chacha20_KEYBYTES); in crypto_stream_chacha20_keygen()
/freebsd/sys/contrib/libsodium/src/libsodium/include/sodium/
H A Dcrypto_stream_chacha20.h23 #define crypto_stream_chacha20_KEYBYTES 32U macro
53 void crypto_stream_chacha20_keygen(unsigned char k[crypto_stream_chacha20_KEYBYTES]);
/freebsd/sys/contrib/libsodium/src/libsodium/crypto_secretbox/xchacha20poly1305/
H A Dsecretbox_xchacha20poly1305.c28 unsigned char subkey[crypto_stream_chacha20_KEYBYTES]; in crypto_secretbox_xchacha20poly1305_detached()
97 unsigned char subkey[crypto_stream_chacha20_KEYBYTES]; in crypto_secretbox_xchacha20poly1305_open_detached()
102 crypto_stream_chacha20(block0, crypto_stream_chacha20_KEYBYTES, in crypto_secretbox_xchacha20poly1305_open_detached()
/freebsd/sys/contrib/libsodium/test/default/
H A Dchacha20.c22 unsigned char key[crypto_stream_chacha20_KEYBYTES]; in tv()
109 unsigned char key[crypto_stream_chacha20_KEYBYTES]; in tv_ietf()
175 assert(crypto_stream_chacha20_keybytes() == crypto_stream_chacha20_KEYBYTES); in main()
H A Dkeygen.c33 { crypto_stream_chacha20_keygen, crypto_stream_chacha20_KEYBYTES }, in tv_keygen()
/freebsd/sys/contrib/libsodium/src/libsodium/crypto_stream/chacha20/dolbeau/
H A Dchacha20_dolbeau-avx2.c98 COMPILER_ASSERT(crypto_stream_chacha20_KEYBYTES == 256 / 8); in stream_ref()
117 COMPILER_ASSERT(crypto_stream_chacha20_KEYBYTES == 256 / 8); in stream_ietf_ref()
H A Dchacha20_dolbeau-ssse3.c92 COMPILER_ASSERT(crypto_stream_chacha20_KEYBYTES == 256 / 8); in stream_ref()
111 COMPILER_ASSERT(crypto_stream_chacha20_KEYBYTES == 256 / 8); in stream_ietf_ref()
/freebsd/sys/contrib/libsodium/src/libsodium/crypto_stream/xchacha20/
H A Dstream_xchacha20.c35 COMPILER_ASSERT(crypto_stream_chacha20_KEYBYTES <= sizeof k2); in crypto_stream_xchacha20()
/freebsd/sys/contrib/libsodium/src/libsodium/crypto_stream/chacha20/ref/
H A Dchacha20_ref.c235 COMPILER_ASSERT(crypto_stream_chacha20_KEYBYTES == 256 / 8); in stream_ref()
254 COMPILER_ASSERT(crypto_stream_chacha20_KEYBYTES == 256 / 8); in stream_ietf_ref()