Searched refs:key_block_len (Results 1 – 6 of 6) sorted by relevance
/external/boringssl/src/crypto/hmac/ |
D | hmac.c | 122 unsigned key_block_len; in HMAC_Init_ex() local 130 !EVP_DigestFinal_ex(&ctx->md_ctx, key_block, &key_block_len)) { in HMAC_Init_ex() 136 key_block_len = (unsigned)key_len; in HMAC_Init_ex() 139 if (key_block_len != EVP_MAX_MD_BLOCK_SIZE) { in HMAC_Init_ex() 140 OPENSSL_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 | 328 if (hs->key_block_len != 0) { in tls1_setup_key_block() 365 size_t key_block_len = SSL_get_key_block_len(ssl); in tls1_setup_key_block() local 367 uint8_t *keyblock = OPENSSL_malloc(key_block_len); in tls1_setup_key_block() 373 if (!SSL_generate_key_block(ssl, keyblock, key_block_len)) { in tls1_setup_key_block() 378 assert(key_block_len < 256); in tls1_setup_key_block() 379 hs->key_block_len = (uint8_t)key_block_len; in tls1_setup_key_block() 403 assert((mac_secret_len + key_len + iv_len) * 2 == hs->key_block_len); in tls1_change_cipher_state()
|
D | s3_both.c | 181 OPENSSL_cleanse(hs->key_block, hs->key_block_len); in ssl_handshake_free()
|
D | internal.h | 1076 uint8_t key_block_len; in OPENSSL_MSVC_PRAGMA() member
|
/external/wpa_supplicant_8/src/tls/ |
D | tlsv1_client.c | 57 size_t key_block_len; in tls_derive_keys() local 79 key_block_len = 2 * (conn->rl.hash_size + conn->rl.key_material_len); in tls_derive_keys() 81 key_block_len += 2 * conn->rl.iv_size; in tls_derive_keys() 85 key_block, key_block_len)) { in tls_derive_keys() 90 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()
|