Searched refs:STATE_COUNTER (Results 1 – 1 of 1) sorted by relevance
20 #define STATE_COUNTER(STATE) ((STATE)->nonce) macro30 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()