Lines Matching defs:tag
392 u_char tag[GMAC_DIGEST_LEN];
443 axf->Final(tag, &ctx);
451 if (timingsafe_bcmp(tag, tag2, swa->sw_mlen) != 0)
456 crypto_copyback(crp, crp->crp_digest_start, swa->sw_mlen, tag);
459 explicit_bzero(tag, sizeof(tag));
469 u_char tag[GMAC_DIGEST_LEN];
591 axf->Final(tag, &ctx);
593 /* Validate tag */
600 r = timingsafe_bcmp(tag, tag2, swa->sw_mlen);
607 /* tag matches, decrypt data */
636 crypto_copyback(crp, crp->crp_digest_start, swa->sw_mlen, tag);
641 explicit_bzero(tag, sizeof(tag));
650 u_char tag[AES_CBC_MAC_HASH_LEN];
683 axf->Final(tag, &ctx);
690 if (timingsafe_bcmp(tag, tag2, swa->sw_mlen) != 0)
692 explicit_bzero(tag2, sizeof(tag));
695 crypto_copyback(crp, crp->crp_digest_start, swa->sw_mlen, tag);
697 explicit_bzero(tag, sizeof(tag));
707 u_char tag[AES_CBC_MAC_HASH_LEN];
793 * the tag and a second time after the tag is
813 axf->Final(tag, &ctx);
815 /* Validate tag */
823 r = timingsafe_bcmp(tag, tag2, swa->sw_mlen);
830 /* tag matches, decrypt data */
860 crypto_copyback(crp, crp->crp_digest_start, swa->sw_mlen, tag);
865 explicit_bzero(tag, sizeof(tag));