HomeSort by relevance Sort by last modified time
    Searched full:mac_key_len (Results 1 - 4 of 4) sorted by null

  /external/boringssl/src/ssl/
ssl_aead_ctx.cc 32 size_t mac_key_len, const uint8_t *fixed_iv,
41 expected_mac_key_len != mac_key_len) {
47 if (mac_key_len > 0) {
50 if (mac_key_len + enc_key_len + fixed_iv_len > sizeof(merged_key)) {
54 OPENSSL_memcpy(merged_key, mac_key, mac_key_len);
55 OPENSSL_memcpy(merged_key + mac_key_len, enc_key, enc_key_len);
56 OPENSSL_memcpy(merged_key + mac_key_len + enc_key_len, fixed_iv,
59 enc_key_len += mac_key_len;
83 if (mac_key_len == 0) {
internal.h 436 size_t mac_key_len, const uint8_t *fixed_iv,
    [all...]
  /external/boringssl/src/crypto/cipher_extra/
e_tls.c 39 uint8_t mac_key_len; member in struct:__anon13362
71 size_t mac_key_len = EVP_MD_size(md); local
73 assert(mac_key_len + enc_key_len +
83 assert(mac_key_len <= EVP_MAX_MD_SIZE);
84 OPENSSL_memcpy(tls_ctx->mac_key, key, mac_key_len);
85 tls_ctx->mac_key_len = (uint8_t)mac_key_len;
89 if (!EVP_CipherInit_ex(&tls_ctx->cipher_ctx, cipher, NULL, &key[mac_key_len],
90 implicit_iv ? &key[mac_key_len + enc_key_len] : NULL,
92 !HMAC_Init_ex(&tls_ctx->hmac_ctx, key, mac_key_len, md, NULL))
    [all...]
e_ssl3.c 99 size_t mac_key_len = EVP_MD_size(md); local
101 assert(mac_key_len + enc_key_len + EVP_CIPHER_iv_length(cipher) == key_len);
112 if (!EVP_CipherInit_ex(&ssl3_ctx->cipher_ctx, cipher, NULL, &key[mac_key_len],
113 &key[mac_key_len + enc_key_len],
116 !EVP_DigestUpdate(&ssl3_ctx->md_ctx, key, mac_key_len)) {

Completed in 3380 milliseconds