Searched refs:block_size (Results 1 – 7 of 7) sorted by relevance
/hostap-3.6.0/src/eap_common/ |
D | eap_eke_common.c | 587 size_t block_size, icv_len, pad; in eap_eke_prot() local 591 block_size = AES_BLOCK_SIZE; in eap_eke_prot() 602 pad = data_len % block_size; in eap_eke_prot() 604 pad = block_size - pad; in eap_eke_prot() 606 if (*prot_len < block_size + data_len + pad + icv_len) { in eap_eke_prot() 612 if (random_get_bytes(pos, block_size)) in eap_eke_prot() 615 wpa_hexdump(MSG_DEBUG, "EAP-EKE: IV for Prot()", iv, block_size); in eap_eke_prot() 616 pos += block_size; in eap_eke_prot() 641 size_t block_size, icv_len; in eap_eke_decrypt_prot() local 645 block_size = AES_BLOCK_SIZE; in eap_eke_decrypt_prot() [all …]
|
D | ikev2_common.h | 267 size_t block_size; member
|
D | ikev2_common.c | 453 iv_len = encr_alg->block_size; in ikev2_decrypt_payload() 552 iv_len = encr_alg->block_size; in ikev2_build_encrypted()
|
/hostap-3.6.0/src/wps/ |
D | wps_attr_build.c | 397 const size_t block_size = 16; in wps_build_encr_settings() local 403 pad_len = block_size - wpabuf_len(plain) % block_size; in wps_build_encr_settings() 407 wpabuf_put_be16(msg, block_size + wpabuf_len(plain)); in wps_build_encr_settings() 409 iv = wpabuf_put(msg, block_size); in wps_build_encr_settings() 410 if (random_get_bytes(iv, block_size) < 0) in wps_build_encr_settings()
|
D | wps_common.c | 159 const size_t block_size = 16; in wps_decrypt_encr_settings() local 165 if (encr == NULL || encr_len < 2 * block_size || encr_len % block_size) in wps_decrypt_encr_settings() 171 decrypted = wpabuf_alloc(encr_len - block_size); in wps_decrypt_encr_settings() 176 wpabuf_put_data(decrypted, encr + block_size, encr_len - block_size); in wps_decrypt_encr_settings()
|
/hostap-3.6.0/src/tls/ |
D | tlsv1_common.h | 232 size_t block_size; /* also iv_size */ member
|
D | tlsv1_record.c | 60 rl->iv_size = data->block_size; in tlsv1_record_set_cipher_suite()
|