Searched refs:crypto_core_hchacha20_OUTPUTBYTES (Results 1 – 5 of 5) sorted by relevance
| /f-stack/freebsd/contrib/libsodium/src/libsodium/crypto_aead/xchacha20poly1305/sodium/ |
| H A D | aead_xchacha20poly1305.c | 28 unsigned char k2[crypto_core_hchacha20_OUTPUTBYTES]; in crypto_aead_xchacha20poly1305_ietf_encrypt_detached() 37 sodium_memzero(k2, crypto_core_hchacha20_OUTPUTBYTES); in crypto_aead_xchacha20poly1305_ietf_encrypt_detached() 81 unsigned char k2[crypto_core_hchacha20_OUTPUTBYTES]; in crypto_aead_xchacha20poly1305_ietf_decrypt_detached() 90 sodium_memzero(k2, crypto_core_hchacha20_OUTPUTBYTES); in crypto_aead_xchacha20poly1305_ietf_decrypt_detached()
|
| /f-stack/freebsd/contrib/libsodium/test/default/ |
| H A D | xchacha20.c | 8 const char out[crypto_core_hchacha20_OUTPUTBYTES * 2 + 1]; 43 out = (unsigned char *) sodium_malloc(crypto_core_hchacha20_OUTPUTBYTES); in tv_hchacha20() 44 out2 = (unsigned char *) sodium_malloc(crypto_core_hchacha20_OUTPUTBYTES); in tv_hchacha20() 51 sodium_hex2bin(out, crypto_core_hchacha20_OUTPUTBYTES, in tv_hchacha20() 54 assert(memcmp(out, out2, crypto_core_hchacha20_OUTPUTBYTES) == 0); in tv_hchacha20() 60 sodium_hex2bin(out, crypto_core_hchacha20_OUTPUTBYTES, in tv_hchacha20() 62 crypto_core_hchacha20_OUTPUTBYTES * 2 + 1, NULL, NULL, NULL); in tv_hchacha20() 65 assert(memcmp(out, out2, crypto_core_hchacha20_OUTPUTBYTES) == 0); in tv_hchacha20() 73 assert(crypto_core_hchacha20_outputbytes() == crypto_core_hchacha20_OUTPUTBYTES); in tv_hchacha20()
|
| /f-stack/freebsd/contrib/libsodium/src/libsodium/crypto_stream/xchacha20/ |
| H A D | stream_xchacha20.c | 32 unsigned char k2[crypto_core_hchacha20_OUTPUTBYTES]; in crypto_stream_xchacha20() 49 unsigned char k2[crypto_core_hchacha20_OUTPUTBYTES]; in crypto_stream_xchacha20_xor_ic()
|
| /f-stack/freebsd/contrib/libsodium/src/libsodium/include/sodium/ |
| H A D | crypto_core_hchacha20.h | 11 #define crypto_core_hchacha20_OUTPUTBYTES 32U macro
|
| /f-stack/freebsd/contrib/libsodium/src/libsodium/crypto_core/hchacha20/ |
| H A D | core_hchacha20.c | 74 return crypto_core_hchacha20_OUTPUTBYTES; in crypto_core_hchacha20_outputbytes()
|