Lines Matching refs:Kx_len
5347 const u8 *Kx, size_t Kx_len, in dpp_pkex_derive_z() argument
5360 if (dpp_hmac(hash_len, salt, hash_len, Kx, Kx_len, prk) < 0) in dpp_pkex_derive_z()
5418 size_t Jx_len, Kx_len; in dpp_pkex_rx_exchange_resp() local
5536 EVP_PKEY_derive(ctx, NULL, &Kx_len) != 1 || in dpp_pkex_rx_exchange_resp()
5537 Kx_len > DPP_MAX_SHARED_SECRET_LEN || in dpp_pkex_rx_exchange_resp()
5538 EVP_PKEY_derive(ctx, Kx, &Kx_len) != 1) { in dpp_pkex_rx_exchange_resp()
5546 Kx, Kx_len); in dpp_pkex_rx_exchange_resp()
5553 pkex->code, Kx, Kx_len, in dpp_pkex_rx_exchange_resp()
5555 os_memset(Kx, 0, Kx_len); in dpp_pkex_rx_exchange_resp()
5625 size_t Jx_len, Kx_len, Lx_len; in dpp_pkex_rx_commit_reveal_req() local
5648 EVP_PKEY_derive(ctx, NULL, &Kx_len) != 1 || in dpp_pkex_rx_commit_reveal_req()
5649 Kx_len > DPP_MAX_SHARED_SECRET_LEN || in dpp_pkex_rx_commit_reveal_req()
5650 EVP_PKEY_derive(ctx, Kx, &Kx_len) != 1) { in dpp_pkex_rx_commit_reveal_req()
5658 Kx, Kx_len); in dpp_pkex_rx_commit_reveal_req()
5665 Kx, Kx_len, pkex->z, curve->hash_len); in dpp_pkex_rx_commit_reveal_req()
5666 os_memset(Kx, 0, Kx_len); in dpp_pkex_rx_commit_reveal_req()