Searched refs:key_block_len (Results 1 – 4 of 4) sorted by relevance
/external/boringssl/src/crypto/hmac/ |
D | hmac.c | 120 unsigned key_block_len; in HMAC_Init_ex() local 128 !EVP_DigestFinal_ex(&ctx->md_ctx, key_block, &key_block_len)) { in HMAC_Init_ex() 134 key_block_len = (unsigned)key_len; in HMAC_Init_ex() 137 if (key_block_len != HMAC_MAX_MD_CBLOCK) { in HMAC_Init_ex() 138 memset(&key_block[key_block_len], 0, sizeof(key_block) - key_block_len); in HMAC_Init_ex()
|
/external/boringssl/src/ssl/ |
D | t1_enc.c | 387 size_t key_block_len; in tls1_setup_key_block() local 431 key_block_len = key_len + mac_secret_len + fixed_iv_len; in tls1_setup_key_block() 432 key_block_len *= 2; in tls1_setup_key_block() 436 p = (uint8_t *)OPENSSL_malloc(key_block_len); in tls1_setup_key_block() 442 s->s3->tmp.key_block_length = key_block_len; in tls1_setup_key_block() 445 if (!tls1_generate_key_block(s, p, key_block_len)) { in tls1_setup_key_block()
|
/external/wpa_supplicant_8/src/tls/ |
D | tlsv1_client.c | 56 size_t key_block_len; in tls_derive_keys() local 78 key_block_len = 2 * (conn->rl.hash_size + conn->rl.key_material_len); in tls_derive_keys() 80 key_block_len += 2 * conn->rl.iv_size; in tls_derive_keys() 84 key_block, key_block_len)) { in tls_derive_keys() 89 key_block, key_block_len); in tls_derive_keys()
|
D | tlsv1_server.c | 63 size_t key_block_len; in tlsv1_server_derive_keys() local 85 key_block_len = 2 * (conn->rl.hash_size + conn->rl.key_material_len + in tlsv1_server_derive_keys() 90 key_block, key_block_len)) { in tlsv1_server_derive_keys() 95 key_block, key_block_len); in tlsv1_server_derive_keys()
|