Home
last modified time | relevance | path

Searched refs:mac_key (Results 1 – 4 of 4) sorted by relevance

/external/srtp/crypto/ae_xfm/
Dxfm.c33 unsigned char mac_key[MAC_KEY_LEN]; in aes_128_cbc_hmac_sha1_96_func() local
59 status = hmac_compute(&hmac_ctx, "MAC", 3, MAC_KEY_LEN, mac_key); in aes_128_cbc_hmac_sha1_96_func()
79 status = hmac_init(&hmac_ctx, mac_key, MAC_KEY_LEN); in aes_128_cbc_hmac_sha1_96_func()
107 unsigned char mac_key[MAC_KEY_LEN]; in aes_128_cbc_hmac_sha1_96_inv() local
136 status = hmac_compute(&hmac_ctx, "MAC", 3, MAC_KEY_LEN, mac_key); in aes_128_cbc_hmac_sha1_96_inv()
155 status = hmac_init(&hmac_ctx, mac_key, MAC_KEY_LEN); in aes_128_cbc_hmac_sha1_96_inv()
193 unsigned char mac_key[MAC_KEY_LEN]; in aes_128_cbc_hmac_sha1_96_enc() local
224 status = hmac_compute(&hmac_ctx, "MAC", 3, MAC_KEY_LEN, mac_key); in aes_128_cbc_hmac_sha1_96_enc()
262 status = hmac_init(&hmac_ctx, mac_key, MAC_KEY_LEN); in aes_128_cbc_hmac_sha1_96_enc()
304 unsigned char mac_key[MAC_KEY_LEN]; in aes_128_cbc_hmac_sha1_96_dec() local
[all …]
/external/boringssl/src/crypto/cipher/
De_tls.c37 uint8_t mac_key[EVP_MAX_MD_SIZE]; member
50 OPENSSL_cleanse(&tls_ctx->mac_key, sizeof(tls_ctx->mac_key)); in aead_tls_cleanup()
85 memcpy(tls_ctx->mac_key, key, mac_key_len); in aead_tls_init()
309 tls_ctx->mac_key, tls_ctx->mac_key_len)) { in aead_tls_open()
/external/boringssl/src/ssl/
Dssl_aead_ctx.c34 const uint8_t *mac_key, size_t mac_key_len, in SSL_AEAD_CTX_new() argument
51 memcpy(merged_key, mac_key, mac_key_len); in SSL_AEAD_CTX_new()
Dinternal.h298 const uint8_t *mac_key, size_t mac_key_len,