Lines Matching refs:nonce
98 const uint8_t nonce[12], const uint8_t *ad, in aead_poly1305()
104 c20_ctx->key, nonce, 0); in aead_poly1305()
113 size_t max_out_len, const uint8_t nonce[12], in seal_impl()
140 CRYPTO_chacha_20(out, in, in_len, c20_ctx->key, nonce, 1); in seal_impl()
143 aead_poly1305(poly1305_update, tag, c20_ctx, nonce, ad, ad_len, out, in_len); in seal_impl()
152 size_t max_out_len, const uint8_t nonce[12], in open_impl()
177 aead_poly1305(poly1305_update, tag, c20_ctx, nonce, ad, ad_len, in, in open_impl()
184 CRYPTO_chacha_20(out, in, plaintext_len, c20_ctx->key, nonce, 1); in open_impl()
210 const uint8_t *nonce, size_t nonce_len, in aead_chacha20_poly1305_seal() argument
217 return seal_impl(poly1305_update, ctx, out, out_len, max_out_len, nonce, in, in aead_chacha20_poly1305_seal()
223 const uint8_t *nonce, size_t nonce_len, in aead_chacha20_poly1305_open() argument
230 return open_impl(poly1305_update, ctx, out, out_len, max_out_len, nonce, in, in aead_chacha20_poly1305_open()
267 const uint8_t *nonce, size_t nonce_len, const uint8_t *in, size_t in_len, in aead_chacha20_poly1305_old_seal() argument
275 memcpy(nonce_96 + 4, nonce, 8); in aead_chacha20_poly1305_old_seal()
282 const uint8_t *nonce, size_t nonce_len, const uint8_t *in, size_t in_len, in aead_chacha20_poly1305_old_open() argument
290 memcpy(nonce_96 + 4, nonce, 8); in aead_chacha20_poly1305_old_open()