Home
last modified time | relevance | path

Searched refs:auth_tag (Results 1 – 5 of 5) sorted by relevance

/external/srtp/crypto/ae_xfm/
Dxfm.c29 void *auth_tag) { in aes_128_cbc_hmac_sha1_96_func() argument
88 status = hmac_compute(&hmac_ctx, opaque, *opaque_len, TAG_LEN, auth_tag); in aes_128_cbc_hmac_sha1_96_func()
103 void *auth_tag) { in aes_128_cbc_hmac_sha1_96_inv() argument
109 unsigned char *tag = auth_tag; in aes_128_cbc_hmac_sha1_96_inv()
194 unsigned char *auth_tag; in aes_128_cbc_hmac_sha1_96_enc() local
274 auth_tag = (unsigned char *)opaque; in aes_128_cbc_hmac_sha1_96_enc()
275 auth_tag += *opaque_len; in aes_128_cbc_hmac_sha1_96_enc()
276 status = hmac_compute(&hmac_ctx, opaque, *opaque_len, TAG_LEN, auth_tag); in aes_128_cbc_hmac_sha1_96_enc()
306 unsigned char *auth_tag; in aes_128_cbc_hmac_sha1_96_dec() local
386 auth_tag = (unsigned char *)opaque; in aes_128_cbc_hmac_sha1_96_dec()
[all …]
/external/srtp/srtp/
Dsrtp.c604 uint8_t *auth_tag = NULL; /* location of auth_tag within packet */ in srtp_protect() local
713 auth_tag = (uint8_t *)hdr + *pkt_octet_len; in srtp_protect()
716 auth_tag = NULL; in srtp_protect()
788 status = cipher_output(stream->rtp_cipher, auth_tag, prefix_len); in srtp_protect()
792 octet_string_hex_string(auth_tag, prefix_len)); in srtp_protect()
821 status = auth_compute(stream->rtp_auth, (uint8_t *)&est, 4, auth_tag); in srtp_protect()
823 octet_string_hex_string(auth_tag, tag_len)); in srtp_protect()
829 if (auth_tag) { in srtp_protect()
845 uint8_t *auth_tag = NULL; /* location of auth_tag within packet */ in srtp_unprotect() local
982 auth_tag = (uint8_t *)hdr + *pkt_octet_len - tag_len; in srtp_unprotect()
[all …]
Dekt.c263 void **auth_tag, in srtcp_ekt_trailer() argument
/external/srtp/crypto/include/
Dxfm.h58 void *auth_tag
71 void *auth_tag /* location of auth tag */
/external/chromium_org/net/quic/crypto/
Daes_128_gcm_12_decrypter_nss.cc235 unsigned char auth_tag[Aes128Gcm12Decrypter::kAuthTagSize]; in My_Decrypt() local
236 ghash.Finish(auth_tag, Aes128Gcm12Decrypter::kAuthTagSize); in My_Decrypt()
238 auth_tag[i] ^= tag_mask[i]; in My_Decrypt()
241 if (NSS_SecureMemcmp(auth_tag, enc + output_len, in My_Decrypt()