Lines Matching defs:secret
405 static int dpp_hkdf_expand(size_t hash_len, const u8 *secret, size_t secret_len,
409 return hmac_sha256_kdf(secret, secret_len, NULL,
413 return hmac_sha384_kdf(secret, secret_len, NULL,
417 return hmac_sha512_kdf(secret, secret_len, NULL,
614 u8 *secret, size_t *secret_len)
653 * need for shared secret from EVP_PKEY_derive(NULL) in some
678 os_memcpy(secret, buf, *secret_len);
683 if (EVP_PKEY_derive(ctx, secret, secret_len) != 1) {
2303 wpa_hexdump_key(MSG_DEBUG, "DPP: ECDH shared secret (M.x)",
2891 wpa_hexdump_key(MSG_DEBUG, "DPP: ECDH shared secret (N.x)",
3189 wpa_hexdump_key(MSG_DEBUG, "DPP: ECDH shared secret (M.x)",
3791 dpp_auth_fail(auth, "Failed to derive ECDH shared secret");
3798 wpa_hexdump_key(MSG_DEBUG, "DPP: ECDH shared secret (N.x)",
6580 wpa_hexdump_key(MSG_DEBUG, "DPP: ECDH shared secret (N.x)",
7444 wpa_hexdump_key(MSG_DEBUG, "DPP: ECDH shared secret (K.x)",
7721 wpa_hexdump_key(MSG_DEBUG, "DPP: ECDH shared secret (J.x)",
7746 wpa_hexdump_key(MSG_DEBUG, "DPP: ECDH shared secret (K.x)",
7987 wpa_hexdump_key(MSG_DEBUG, "DPP: ECDH shared secret (J.x)",
8024 wpa_hexdump_key(MSG_DEBUG, "DPP: ECDH shared secret (L.x)",
8149 wpa_hexdump_key(MSG_DEBUG, "DPP: ECDH shared secret (L.x)",
8322 pfs->secret = crypto_ecdh_set_peerkey(pfs->ecdh, 0, peer_ie + 2,
8324 pfs->secret = wpabuf_zeropad(pfs->secret, pfs->curve->prime_len);
8325 if (!pfs->secret) {
8329 wpa_hexdump_buf_key(MSG_DEBUG, "DPP: DH shared secret", pfs->secret);
8340 wpabuf_clear_free(pfs->secret);