Lines Matching full:nonce
1102 const uint8_t *nonce, size_t nonce_len,
1121 CRYPTO_gcm128_setiv(&gcm, key, nonce, nonce_len);
1145 const uint8_t *nonce, size_t nonce_len,
1168 CRYPTO_gcm128_setiv(&gcm, key, nonce, nonce_len);
1197 12, /* nonce len */
1211 12, /* nonce len */
1275 /* kDefaultAESKeyWrapNonce is the default nonce value given in 2.2.3.1. */
1282 const uint8_t *nonce, size_t nonce_len,
1301 nonce = kDefaultAESKeyWrapNonce;
1347 memcpy(A, nonce, 8);
1371 const uint8_t *nonce, size_t nonce_len,
1390 nonce = kDefaultAESKeyWrapNonce;
1448 if (CRYPTO_memcmp(A, nonce, 8) != 0) {
1459 8, /* nonce len */
1473 8, /* nonce len */
1592 const uint8_t *nonce, const uint8_t *ciphertext,
1598 SHA256_Update(&sha256, nonce, EVP_AEAD_AES_CTR_HMAC_SHA256_NONCE_LEN);
1623 const uint8_t *in, size_t len, const uint8_t *nonce) {
1631 memcpy(counter, nonce, EVP_AEAD_AES_CTR_HMAC_SHA256_NONCE_LEN);
1647 const uint8_t *nonce, size_t nonce_len,
1670 aead_aes_ctr_hmac_sha256_crypt(aes_ctx, out, in, in_len, nonce);
1674 &aes_ctx->outer_init_state, ad, ad_len, nonce, out, in_len);
1683 const uint8_t *nonce, size_t nonce_len,
1708 &aes_ctx->outer_init_state, ad, ad_len, nonce, in,
1715 aead_aes_ctr_hmac_sha256_crypt(aes_ctx, out, in, plaintext_len, nonce);
1723 12, /* nonce length */
1738 12, /* nonce length */