Lines Matching refs:wpabuf

64 	struct wpabuf *pubkey, *dh_shared;  in wps_derive_keys()
161 struct wpabuf * wps_decrypt_encr_settings(struct wps_data *wps, const u8 *encr, in wps_decrypt_encr_settings()
164 struct wpabuf *decrypted; in wps_decrypt_encr_settings()
370 struct wpabuf * wps_get_oob_cred(struct wps_context *wps, int rf_band, in wps_get_oob_cred()
374 struct wpabuf *plain; in wps_get_oob_cred()
427 struct wpabuf * wps_build_nfc_pw_token(u16 dev_pw_id, in wps_build_nfc_pw_token()
428 const struct wpabuf *pubkey, in wps_build_nfc_pw_token()
429 const struct wpabuf *dev_pw) in wps_build_nfc_pw_token()
431 struct wpabuf *data; in wps_build_nfc_pw_token()
453 struct wpabuf msg; in wps_oob_use_cred()
591 struct wpabuf * wps_build_wsc_ack(struct wps_data *wps) in wps_build_wsc_ack()
593 struct wpabuf *msg; in wps_build_wsc_ack()
614 struct wpabuf * wps_build_wsc_nack(struct wps_data *wps) in wps_build_wsc_nack()
616 struct wpabuf *msg; in wps_build_wsc_nack()
640 struct wpabuf * wps_nfc_token_build(int ndef, int id, struct wpabuf *pubkey, in wps_nfc_token_build()
641 struct wpabuf *dev_pw) in wps_nfc_token_build()
643 struct wpabuf *ret; in wps_nfc_token_build()
650 struct wpabuf *tmp; in wps_nfc_token_build()
662 int wps_nfc_gen_dh(struct wpabuf **pubkey, struct wpabuf **privkey) in wps_nfc_gen_dh()
664 struct wpabuf *priv = NULL, *pub = NULL; in wps_nfc_gen_dh()
688 struct wpabuf * wps_nfc_token_gen(int ndef, int *id, struct wpabuf **pubkey, in wps_nfc_token_gen()
689 struct wpabuf **privkey, in wps_nfc_token_gen()
690 struct wpabuf **dev_pw) in wps_nfc_token_gen()
692 struct wpabuf *pw; in wps_nfc_token_gen()
719 struct wpabuf * wps_build_nfc_handover_req(struct wps_context *ctx, in wps_build_nfc_handover_req()
720 struct wpabuf *nfc_dh_pubkey) in wps_build_nfc_handover_req()
722 struct wpabuf *msg; in wps_build_nfc_handover_req()
756 static int wps_build_ssid(struct wpabuf *msg, struct wps_context *wps) in wps_build_ssid()
768 static int wps_build_ap_freq(struct wpabuf *msg, int freq) in wps_build_ap_freq()
799 struct wpabuf * wps_build_nfc_handover_sel(struct wps_context *ctx, in wps_build_nfc_handover_sel()
800 struct wpabuf *nfc_dh_pubkey, in wps_build_nfc_handover_sel()
803 struct wpabuf *msg; in wps_build_nfc_handover_sel()
839 struct wpabuf * wps_build_nfc_handover_req_p2p(struct wps_context *ctx, in wps_build_nfc_handover_req_p2p()
840 struct wpabuf *nfc_dh_pubkey) in wps_build_nfc_handover_req_p2p()
842 struct wpabuf *msg; in wps_build_nfc_handover_req_p2p()
876 struct wpabuf * wps_build_nfc_handover_sel_p2p(struct wps_context *ctx, in wps_build_nfc_handover_sel_p2p()
878 struct wpabuf *nfc_dh_pubkey, in wps_build_nfc_handover_sel_p2p()
879 struct wpabuf *nfc_dev_pw) in wps_build_nfc_handover_sel_p2p()
881 struct wpabuf *msg; in wps_build_nfc_handover_sel_p2p()