Searched refs:crypto_core_hchacha20_INPUTBYTES (Results 1 – 6 of 6) sorted by relevance
| /f-stack/freebsd/contrib/libsodium/src/libsodium/crypto_stream/xchacha20/ |
| H A D | stream_xchacha20.c | 38 crypto_core_hchacha20_INPUTBYTES); in crypto_stream_xchacha20() 40 return crypto_stream_chacha20(c, clen, n + crypto_core_hchacha20_INPUTBYTES, in crypto_stream_xchacha20() 53 c, m, mlen, n + crypto_core_hchacha20_INPUTBYTES, ic, k2); in crypto_stream_xchacha20_xor_ic()
|
| /f-stack/freebsd/contrib/libsodium/src/libsodium/crypto_aead/xchacha20poly1305/sodium/ |
| H A D | aead_xchacha20poly1305.c | 33 memcpy(npub2 + 4, npub + crypto_core_hchacha20_INPUTBYTES, in crypto_aead_xchacha20poly1305_ietf_encrypt_detached() 86 memcpy(npub2 + 4, npub + crypto_core_hchacha20_INPUTBYTES, in crypto_aead_xchacha20poly1305_ietf_decrypt_detached()
|
| /f-stack/freebsd/contrib/libsodium/src/libsodium/crypto_secretstream/xchacha20poly1305/ |
| H A D | secretstream_xchacha20poly1305.c | 49 crypto_core_hchacha20_INPUTBYTES + in crypto_secretstream_xchacha20poly1305_init_push() 60 memcpy(STATE_INONCE(state), out + crypto_core_hchacha20_INPUTBYTES, in crypto_secretstream_xchacha20poly1305_init_push() 75 memcpy(STATE_INONCE(state), in + crypto_core_hchacha20_INPUTBYTES, in crypto_secretstream_xchacha20poly1305_init_pull()
|
| /f-stack/freebsd/contrib/libsodium/src/libsodium/include/sodium/ |
| H A D | crypto_core_hchacha20.h | 15 #define crypto_core_hchacha20_INPUTBYTES 16U macro
|
| /f-stack/freebsd/contrib/libsodium/test/default/ |
| H A D | xchacha20.c | 7 const char in[crypto_core_hchacha20_INPUTBYTES * 2 + 1]; 42 in = (unsigned char *) sodium_malloc(crypto_core_hchacha20_INPUTBYTES); in tv_hchacha20() 49 sodium_hex2bin(in, crypto_core_hchacha20_INPUTBYTES, in tv_hchacha20() 74 assert(crypto_core_hchacha20_inputbytes() == crypto_core_hchacha20_INPUTBYTES); in tv_hchacha20()
|
| /f-stack/freebsd/contrib/libsodium/src/libsodium/crypto_core/hchacha20/ |
| H A D | core_hchacha20.c | 80 return crypto_core_hchacha20_INPUTBYTES; in crypto_core_hchacha20_inputbytes()
|