Lines Matching refs:tag2
447 u_char tag2[GMAC_DIGEST_LEN]; in swcr_gmac() local
450 tag2); in swcr_gmac()
451 if (timingsafe_bcmp(tag, tag2, swa->sw_mlen) != 0) in swcr_gmac()
453 explicit_bzero(tag2, sizeof(tag2)); in swcr_gmac()
596 u_char tag2[GMAC_DIGEST_LEN]; in swcr_gcm() local
598 crypto_copydata(crp, crp->crp_digest_start, swa->sw_mlen, tag2); in swcr_gcm()
600 r = timingsafe_bcmp(tag, tag2, swa->sw_mlen); in swcr_gcm()
601 explicit_bzero(tag2, sizeof(tag2)); in swcr_gcm()
686 u_char tag2[AES_CBC_MAC_HASH_LEN]; in swcr_ccm_cbc_mac() local
689 tag2); in swcr_ccm_cbc_mac()
690 if (timingsafe_bcmp(tag, tag2, swa->sw_mlen) != 0) in swcr_ccm_cbc_mac()
692 explicit_bzero(tag2, sizeof(tag)); in swcr_ccm_cbc_mac()
818 u_char tag2[AES_CBC_MAC_HASH_LEN]; in swcr_ccm() local
821 tag2); in swcr_ccm()
823 r = timingsafe_bcmp(tag, tag2, swa->sw_mlen); in swcr_ccm()
824 explicit_bzero(tag2, sizeof(tag2)); in swcr_ccm()