Home | History | Annotate | Download | only in cipher

Lines Matching refs:ad

1060                              const uint8_t *ad, size_t ad_len) {
1079 if (ad_len > 0 && !CRYPTO_gcm128_aad(&gcm, ad, ad_len)) {
1103 const uint8_t *ad, size_t ad_len) {
1126 if (!CRYPTO_gcm128_aad(&gcm, ad, ad_len)) {
1283 const uint8_t *ad, size_t ad_len,
1291 SHA256_Update(&sha256, ad, ad_len);
1341 const uint8_t *ad, size_t ad_len) {
1366 &aes_ctx->outer_init_state, ad, ad_len, nonce, out, in_len);
1377 const uint8_t *ad, size_t ad_len) {
1400 &aes_ctx->outer_init_state, ad, ad_len, nonce, in,
1551 * AD. The result is written to |out_tag|. */
1553 uint8_t out_tag[16], const uint8_t *in, size_t in_len, const uint8_t *ad,
1559 CRYPTO_POLYVAL_update_blocks(&polyval_ctx, ad, ad_len & ~15);
1564 OPENSSL_memcpy(scratch, &ad[ad_len & ~15], ad_len & 15);
1578 uint64_t ad;
1583 length_block.bitlens.ad = ad_len * 8;
1636 const uint8_t *ad, size_t ad_len) {
1662 gcm_siv_polyval(tag, in, in_len, ad, ad_len, keys.auth_key, nonce);
1677 const uint8_t *ad, size_t ad_len) {
1711 gcm_siv_polyval(expected_tag, out, plaintext_len, ad, ad_len, keys.auth_key,