Home
last modified time | relevance | path

Searched refs:pk_len (Results 1 – 8 of 8) sorted by relevance

/external/wpa_supplicant_8/src/eap_common/
Deap_gpsk_common.c114 u8 *pk, size_t pk_len) in eap_gpsk_derive_keys_helper() argument
181 wpa_hexdump_key(MSG_DEBUG, "EAP-GPSK: PK", pos, pk_len); in eap_gpsk_derive_keys_helper()
182 os_memcpy(pk, pos, pk_len); in eap_gpsk_derive_keys_helper()
192 u8 *pk, size_t *pk_len) in eap_gpsk_derive_keys_aes() argument
214 *pk_len = EAP_GPSK_PK_LEN_AES; in eap_gpsk_derive_keys_aes()
220 pk, *pk_len); in eap_gpsk_derive_keys_aes()
285 u8 *pk, size_t *pk_len) in eap_gpsk_derive_keys() argument
321 pk, pk_len); in eap_gpsk_derive_keys()
Deap_gpsk_common.h55 u8 *pk, size_t *pk_len);
/external/u-boot/lib/libavb/
Davb_slot_verify.c463 size_t pk_len; in load_and_verify_vbmeta() local
604 avb_vbmeta_image_verify(vbmeta_buf, vbmeta_num_read, &pk_data, &pk_len); in load_and_verify_vbmeta()
607 avb_assert(pk_data != NULL && pk_len > 0); in load_and_verify_vbmeta()
662 if (expected_public_key_length != pk_len || in load_and_verify_vbmeta()
663 avb_safe_memcmp(expected_public_key, pk_data, pk_len) != 0) { in load_and_verify_vbmeta()
687 ops, pk_data, pk_len, pk_metadata, pk_metadata_len, &key_is_trusted); in load_and_verify_vbmeta()
/external/avb/libavb/
Davb_slot_verify.c572 size_t pk_len; in load_and_verify_vbmeta() local
717 avb_vbmeta_image_verify(vbmeta_buf, vbmeta_num_read, &pk_data, &pk_len); in load_and_verify_vbmeta()
720 avb_assert(pk_data != NULL && pk_len > 0); in load_and_verify_vbmeta()
775 if (expected_public_key_length != pk_len || in load_and_verify_vbmeta()
776 avb_safe_memcmp(expected_public_key, pk_data, pk_len) != 0) { in load_and_verify_vbmeta()
800 ops, pk_data, pk_len, pk_metadata, pk_metadata_len, &key_is_trusted); in load_and_verify_vbmeta()
/external/wpa_supplicant_8/src/wps/
Dwps_enrollee.c559 size_t pk_len) in wps_process_pubkey() argument
561 if (pk == NULL || pk_len == 0) { in wps_process_pubkey()
568 sha256_vector(1, &pk, &pk_len, hash); in wps_process_pubkey()
573 pk, pk_len); in wps_process_pubkey()
585 wps->dh_pubkey_r = wpabuf_alloc_copy(pk, pk_len); in wps_process_pubkey()
Dwps_registrar.c2402 size_t pk_len) in wps_process_pubkey() argument
2404 if (pk == NULL || pk_len == 0) { in wps_process_pubkey()
2410 wps->dh_pubkey_e = wpabuf_alloc_copy(pk, pk_len); in wps_process_pubkey()
/external/wpa_supplicant_8/src/eap_server/
Deap_server_gpsk.c26 size_t pk_len; member
415 data->pk, &data->pk_len) < 0) { in eap_gpsk_process_gpsk_2()
/external/wpa_supplicant_8/src/eap_peer/
Deap_gpsk.c25 size_t pk_len; member
371 data->pk, &data->pk_len) < 0) { in eap_gpsk_send_gpsk_2()