Home
last modified time | relevance | path

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 Dstream_xchacha20.c38 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 Daead_xchacha20poly1305.c33 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 Dsecretstream_xchacha20poly1305.c49 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 Dcrypto_core_hchacha20.h15 #define crypto_core_hchacha20_INPUTBYTES 16U macro
/f-stack/freebsd/contrib/libsodium/test/default/
H A Dxchacha20.c7 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 Dcore_hchacha20.c80 return crypto_core_hchacha20_INPUTBYTES; in crypto_core_hchacha20_inputbytes()