Home
last modified time | relevance | path

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

/netbsd-src/sys/external/isc/libsodium/dist/src/libsodium/crypto_secretstream/xchacha20poly1305/
H A Dsecretstream_xchacha20poly1305.c86 unsigned char new_key_and_inonce[crypto_stream_chacha20_ietf_KEYBYTES + in crypto_secretstream_xchacha20poly1305_rekey() local
91 new_key_and_inonce[i] = state->k[i]; in crypto_secretstream_xchacha20poly1305_rekey()
94 new_key_and_inonce[crypto_stream_chacha20_ietf_KEYBYTES + i] = in crypto_secretstream_xchacha20poly1305_rekey()
97 crypto_stream_chacha20_ietf_xor(new_key_and_inonce, new_key_and_inonce, in crypto_secretstream_xchacha20poly1305_rekey()
98 sizeof new_key_and_inonce, in crypto_secretstream_xchacha20poly1305_rekey()
101 state->k[i] = new_key_and_inonce[i]; in crypto_secretstream_xchacha20poly1305_rekey()
105 new_key_and_inonce[crypto_stream_chacha20_ietf_KEYBYTES + i]; in crypto_secretstream_xchacha20poly1305_rekey()