Lines Matching refs:hkey
4563 struct wpabuf *secret, *pub, *hkey;
4661 hkey = wpabuf_alloc(wpabuf_len(pub) + elems.owe_dh_len - 2 + 2);
4662 if (!hkey) {
4668 wpabuf_put_buf(hkey, pub); /* C */
4670 wpabuf_put_data(hkey, elems.owe_dh + 2, elems.owe_dh_len - 2); /* A */
4671 wpabuf_put_le16(hkey, sm->owe_group); /* group */
4673 res = hmac_sha256(wpabuf_head(hkey), wpabuf_len(hkey),
4676 res = hmac_sha384(wpabuf_head(hkey), wpabuf_len(hkey),
4679 res = hmac_sha512(wpabuf_head(hkey), wpabuf_len(hkey),
4681 wpabuf_clear_free(hkey);