Home
last modified time | relevance | path

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

/hal_espressif-latest/components/wpa_supplicant/esp_supplicant/src/crypto/
Dcrypto_mbedtls-ec.c639 int pk_len = 0; in crypto_ec_get_publickey_buf() local
642 pk_len = mbedtls_pk_write_pubkey( &c, buf, pkey); in crypto_ec_get_publickey_buf()
644 if (pk_len < 0) in crypto_ec_get_publickey_buf()
648 return pk_len; in crypto_ec_get_publickey_buf()
650 os_memcpy(key_buf, buf + MBEDTLS_MPI_MAX_SIZE + 10 - pk_len, pk_len); in crypto_ec_get_publickey_buf()
652 return pk_len; in crypto_ec_get_publickey_buf()
/hal_espressif-latest/components/wpa_supplicant/src/wps/
Dwps_enrollee.c570 size_t pk_len) in wps_process_pubkey() argument
572 if (pk == NULL || pk_len == 0) { in wps_process_pubkey()
579 sha256_vector(1, &pk, &pk_len, hash); in wps_process_pubkey()
584 pk, pk_len); in wps_process_pubkey()
596 wps->dh_pubkey_r = wpabuf_alloc_copy(pk, pk_len); in wps_process_pubkey()
Dwps_registrar.c2416 size_t pk_len) in wps_process_pubkey() argument
2418 if (pk == NULL || pk_len == 0) { in wps_process_pubkey()
2424 wps->dh_pubkey_e = wpabuf_alloc_copy(pk, pk_len); in wps_process_pubkey()