Home
last modified time | relevance | path

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

/external/boringssl/src/ssl/
Dssl_aead_ctx.c33 const uint8_t *enc_key, size_t enc_key_len, in SSL_AEAD_CTX_new() argument
47 if (mac_key_len + enc_key_len + fixed_iv_len > sizeof(merged_key)) { in SSL_AEAD_CTX_new()
52 memcpy(merged_key + mac_key_len, enc_key, enc_key_len); in SSL_AEAD_CTX_new()
53 memcpy(merged_key + mac_key_len + enc_key_len, fixed_iv, fixed_iv_len); in SSL_AEAD_CTX_new()
55 enc_key_len += mac_key_len; in SSL_AEAD_CTX_new()
56 enc_key_len += fixed_iv_len; in SSL_AEAD_CTX_new()
68 &aead_ctx->ctx, aead, enc_key, enc_key_len, in SSL_AEAD_CTX_new()
Dinternal.h297 const uint8_t *enc_key, size_t enc_key_len,
/external/boringssl/src/crypto/cipher/
De_ssl3.c98 size_t enc_key_len = EVP_CIPHER_key_length(cipher); in aead_ssl3_init() local
99 assert(mac_key_len + enc_key_len + EVP_CIPHER_iv_length(cipher) == key_len); in aead_ssl3_init()
113 &key[mac_key_len + enc_key_len], in aead_ssl3_init()
De_tls.c71 size_t enc_key_len = EVP_CIPHER_key_length(cipher); in aead_tls_init() local
72 assert(mac_key_len + enc_key_len + in aead_tls_init()
91 implicit_iv ? &key[mac_key_len + enc_key_len] : NULL, in aead_tls_init()