Searched refs:hmac_size (Results 1 – 2 of 2) sorted by relevance
/third_party/ffmpeg/libavformat/ |
D | srtp.c | 133 int rtcp, hmac_size; in ff_srtp_decrypt() local 141 hmac_size = rtcp ? s->rtcp_hmac_size : s->rtp_hmac_size; in ff_srtp_decrypt() 143 if (len < hmac_size) in ff_srtp_decrypt() 149 av_hmac_update(s->hmac, buf, len - hmac_size); in ff_srtp_decrypt() 179 if (memcmp(hmac, buf + len - hmac_size, hmac_size)) { in ff_srtp_decrypt() 184 len -= hmac_size; in ff_srtp_decrypt() 244 int rtcp, hmac_size, padding; in ff_srtp_encrypt() local 251 hmac_size = rtcp ? s->rtcp_hmac_size : s->rtp_hmac_size; in ff_srtp_encrypt() 252 padding = hmac_size; in ff_srtp_encrypt() 322 memcpy(buf + len, hmac, hmac_size); in ff_srtp_encrypt() [all …]
|
/third_party/openssl/crypto/hmac/ |
D | hm_ameth.c | 21 static int hmac_size(const EVP_PKEY *pkey) in hmac_size() function 107 hmac_size,
|