D | dpp_pkex.c | 363 u8 Kx[DPP_MAX_SHARED_SECRET_LEN]; in dpp_pkex_rx_exchange_req() local 532 if (dpp_ecdh(pkex->y, pkex->x, Kx, &Kx_len) < 0) in dpp_pkex_rx_exchange_req() 536 Kx, Kx_len); in dpp_pkex_rx_exchange_req() 543 Kx, Kx_len, pkex->z, curve->hash_len); in dpp_pkex_rx_exchange_req() 544 os_memset(Kx, 0, Kx_len); in dpp_pkex_rx_exchange_req() 699 u8 Jx[DPP_MAX_SHARED_SECRET_LEN], Kx[DPP_MAX_SHARED_SECRET_LEN]; in dpp_pkex_rx_exchange_resp() local 833 if (dpp_ecdh(pkex->x, pkex->y, Kx, &Kx_len) < 0) in dpp_pkex_rx_exchange_resp() 837 Kx, Kx_len); in dpp_pkex_rx_exchange_resp() 844 pkex->code, Kx, Kx_len, in dpp_pkex_rx_exchange_resp() 846 os_memset(Kx, 0, Kx_len); in dpp_pkex_rx_exchange_resp()
|