Home
last modified time | relevance | path

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

/f-stack/freebsd/contrib/libsodium/src/libsodium/crypto_secretstream/xchacha20poly1305/
H A Dsecretstream_xchacha20poly1305.c20 #define STATE_COUNTER(STATE) ((STATE)->nonce) macro
30 memset(STATE_COUNTER(state), 0, in _crypto_secretstream_xchacha20poly1305_counter_reset()
32 STATE_COUNTER(state)[0] = 1; in _crypto_secretstream_xchacha20poly1305_counter_reset()
163 sodium_increment(STATE_COUNTER(state), in crypto_secretstream_xchacha20poly1305_push()
166 sodium_is_zero(STATE_COUNTER(state), in crypto_secretstream_xchacha20poly1305_push()
243 sodium_increment(STATE_COUNTER(state), in crypto_secretstream_xchacha20poly1305_pull()
246 sodium_is_zero(STATE_COUNTER(state), in crypto_secretstream_xchacha20poly1305_pull()