Lines Matching refs:wpabuf

64 	struct wpabuf *pubkey, *dh_shared;  in wps_derive_keys()
155 struct wpabuf * wps_decrypt_encr_settings(struct wps_data *wps, const u8 *encr, in wps_decrypt_encr_settings()
158 struct wpabuf *decrypted; in wps_decrypt_encr_settings()
356 struct wpabuf * wps_get_oob_cred(struct wps_context *wps, int rf_band, in wps_get_oob_cred()
360 struct wpabuf *plain; in wps_get_oob_cred()
412 struct wpabuf * wps_build_nfc_pw_token(u16 dev_pw_id, in wps_build_nfc_pw_token()
413 const struct wpabuf *pubkey, in wps_build_nfc_pw_token()
414 const struct wpabuf *dev_pw) in wps_build_nfc_pw_token()
416 struct wpabuf *data; in wps_build_nfc_pw_token()
437 struct wpabuf msg; in wps_oob_use_cred()
575 struct wpabuf * wps_build_wsc_ack(struct wps_data *wps) in wps_build_wsc_ack()
577 struct wpabuf *msg; in wps_build_wsc_ack()
598 struct wpabuf * wps_build_wsc_nack(struct wps_data *wps) in wps_build_wsc_nack()
600 struct wpabuf *msg; in wps_build_wsc_nack()
624 struct wpabuf * wps_nfc_token_build(int ndef, int id, struct wpabuf *pubkey, in wps_nfc_token_build()
625 struct wpabuf *dev_pw) in wps_nfc_token_build()
627 struct wpabuf *ret; in wps_nfc_token_build()
634 struct wpabuf *tmp; in wps_nfc_token_build()
646 int wps_nfc_gen_dh(struct wpabuf **pubkey, struct wpabuf **privkey) in wps_nfc_gen_dh()
648 struct wpabuf *priv = NULL, *pub = NULL; in wps_nfc_gen_dh()
672 struct wpabuf * wps_nfc_token_gen(int ndef, int *id, struct wpabuf **pubkey, in wps_nfc_token_gen()
673 struct wpabuf **privkey, in wps_nfc_token_gen()
674 struct wpabuf **dev_pw) in wps_nfc_token_gen()
676 struct wpabuf *pw; in wps_nfc_token_gen()
703 struct wpabuf * wps_build_nfc_handover_req(struct wps_context *ctx, in wps_build_nfc_handover_req()
704 struct wpabuf *nfc_dh_pubkey) in wps_build_nfc_handover_req()
706 struct wpabuf *msg; in wps_build_nfc_handover_req()
740 static int wps_build_ssid(struct wpabuf *msg, struct wps_context *wps) in wps_build_ssid()
752 static int wps_build_ap_freq(struct wpabuf *msg, int freq) in wps_build_ap_freq()
783 struct wpabuf * wps_build_nfc_handover_sel(struct wps_context *ctx, in wps_build_nfc_handover_sel()
784 struct wpabuf *nfc_dh_pubkey, in wps_build_nfc_handover_sel()
787 struct wpabuf *msg; in wps_build_nfc_handover_sel()
823 struct wpabuf * wps_build_nfc_handover_req_p2p(struct wps_context *ctx, in wps_build_nfc_handover_req_p2p()
824 struct wpabuf *nfc_dh_pubkey) in wps_build_nfc_handover_req_p2p()
826 struct wpabuf *msg; in wps_build_nfc_handover_req_p2p()
860 struct wpabuf * wps_build_nfc_handover_sel_p2p(struct wps_context *ctx, in wps_build_nfc_handover_sel_p2p()
862 struct wpabuf *nfc_dh_pubkey, in wps_build_nfc_handover_sel_p2p()
863 struct wpabuf *nfc_dev_pw) in wps_build_nfc_handover_sel_p2p()
865 struct wpabuf *msg; in wps_build_nfc_handover_sel_p2p()