Home
last modified time | relevance | path

Searched refs:hash_size (Results 1 – 11 of 11) sorted by relevance

/hal_espressif-3.7.0/components/wpa_supplicant/src/tls/
Dtlsv1_record.c46 rl->hash_size = MD5_MAC_LEN; in tlsv1_record_set_cipher_suite()
49 rl->hash_size = SHA1_MAC_LEN; in tlsv1_record_set_cipher_suite()
52 rl->hash_size = SHA256_MAC_LEN; in tlsv1_record_set_cipher_suite()
208 rl->hash_size); in tlsv1_record_send()
219 if (clen < rl->hash_size) { in tlsv1_record_send()
427 if (plen < rl->hash_size) { in tlsv1_record_receive()
434 plen -= rl->hash_size; in tlsv1_record_receive()
437 rl->hash_size); in tlsv1_record_receive()
458 if (hlen != rl->hash_size || in tlsv1_record_receive()
Dtlsv1_server.c85 key_block_len = 2 * (conn->rl.hash_size + conn->rl.key_material_len + in tlsv1_server_derive_keys()
100 os_memcpy(conn->rl.read_mac_secret, pos, conn->rl.hash_size); in tlsv1_server_derive_keys()
101 pos += conn->rl.hash_size; in tlsv1_server_derive_keys()
103 os_memcpy(conn->rl.write_mac_secret, pos, conn->rl.hash_size); in tlsv1_server_derive_keys()
104 pos += conn->rl.hash_size; in tlsv1_server_derive_keys()
674 return 2 * (conn->rl.hash_size + conn->rl.key_material_len + in tlsv1_server_get_keyblock_size()
Dtlsv1_client.c103 key_block_len = 2 * (conn->rl.hash_size + conn->rl.key_material_len); in tls_derive_keys()
119 os_memcpy(conn->rl.write_mac_secret, pos, conn->rl.hash_size); in tls_derive_keys()
120 pos += conn->rl.hash_size; in tls_derive_keys()
122 os_memcpy(conn->rl.read_mac_secret, pos, conn->rl.hash_size); in tls_derive_keys()
123 pos += conn->rl.hash_size; in tls_derive_keys()
808 return 2 * (conn->rl.hash_size + conn->rl.key_material_len + in tlsv1_client_get_keyblock_size()
Dtlsv1_record.h41 size_t hash_size; member
/hal_espressif-3.7.0/components/bt/porting/ext/tinycrypt/src/
Decc_dsa.c100 unsigned hash_size, uECC_word_t *k, uint8_t *signature, in uECC_sign_with_k() argument
150 bits2int(tmp, message_hash, hash_size, curve); in uECC_sign_with_k()
162 unsigned hash_size, uint8_t *signature, uECC_Curve curve) in uECC_sign() argument
179 if (uECC_sign_with_k(private_key, message_hash, hash_size, k, signature, in uECC_sign()
193 unsigned hash_size, const uint8_t *signature, in uECC_verify() argument
239 bits2int(u1, message_hash, hash_size, curve); in uECC_verify()
/hal_espressif-3.7.0/components/bt/esp_ble_mesh/mesh_common/tinycrypt/src/
Decc_dsa.c100 unsigned hash_size, uECC_word_t *k, uint8_t *signature, in uECC_sign_with_k() argument
149 bits2int(tmp, message_hash, hash_size, curve); in uECC_sign_with_k()
161 unsigned hash_size, uint8_t *signature, uECC_Curve curve) in uECC_sign() argument
178 if (uECC_sign_with_k(private_key, message_hash, hash_size, k, signature, in uECC_sign()
192 unsigned hash_size, const uint8_t *signature, in uECC_verify() argument
238 bits2int(u1, message_hash, hash_size, curve); in uECC_verify()
/hal_espressif-3.7.0/components/bootloader/subproject/components/micro-ecc/
DuECC_verify_antifault.h17 unsigned hash_size,
DuECC_verify_antifault.c19 unsigned hash_size, in uECC_verify_antifault() argument
73 bits2int(u1, message_hash, hash_size, curve); in uECC_verify_antifault()
131 unsigned hash_words = hash_size / sizeof(uECC_word_t); in uECC_verify_antifault()
/hal_espressif-3.7.0/components/bt/common/osi/
Dhash_map.c33 size_t hash_size; member
149 hash_map->hash_size++; in hash_map_set()
175 hash_map->hash_size--; in hash_map_erase()
/hal_espressif-3.7.0/components/bt/porting/ext/tinycrypt/include/tinycrypt/
Decc_dsa.h114 unsigned int hash_size, uECC_word_t *k, uint8_t *signature,
/hal_espressif-3.7.0/components/bt/esp_ble_mesh/mesh_common/tinycrypt/include/tinycrypt/
Decc_dsa.h114 unsigned int hash_size, uECC_word_t *k, uint8_t *signature,