Lines Matching refs:wpabuf

64 	struct wpabuf *pubkey, *dh_shared;  in wps_derive_keys()
152 struct wpabuf * wps_decrypt_encr_settings(struct wps_data *wps, const u8 *encr, in wps_decrypt_encr_settings()
155 struct wpabuf *decrypted; in wps_decrypt_encr_settings()
355 struct wpabuf * wps_get_oob_cred(struct wps_context *wps, int rf_band, in wps_get_oob_cred()
359 struct wpabuf *plain; in wps_get_oob_cred()
411 struct wpabuf * wps_build_nfc_pw_token(u16 dev_pw_id, in wps_build_nfc_pw_token()
412 const struct wpabuf *pubkey, in wps_build_nfc_pw_token()
413 const struct wpabuf *dev_pw) in wps_build_nfc_pw_token()
415 struct wpabuf *data; in wps_build_nfc_pw_token()
436 struct wpabuf msg; in wps_oob_use_cred()
574 struct wpabuf * wps_build_wsc_ack(struct wps_data *wps) in wps_build_wsc_ack()
576 struct wpabuf *msg; in wps_build_wsc_ack()
597 struct wpabuf * wps_build_wsc_nack(struct wps_data *wps) in wps_build_wsc_nack()
599 struct wpabuf *msg; in wps_build_wsc_nack()
623 struct wpabuf * wps_nfc_token_build(int ndef, int id, struct wpabuf *pubkey, in wps_nfc_token_build()
624 struct wpabuf *dev_pw) in wps_nfc_token_build()
626 struct wpabuf *ret; in wps_nfc_token_build()
633 struct wpabuf *tmp; in wps_nfc_token_build()
645 int wps_nfc_gen_dh(struct wpabuf **pubkey, struct wpabuf **privkey) in wps_nfc_gen_dh()
647 struct wpabuf *priv = NULL, *pub = NULL; in wps_nfc_gen_dh()
670 struct wpabuf * wps_nfc_token_gen(int ndef, int *id, struct wpabuf **pubkey, in wps_nfc_token_gen()
671 struct wpabuf **privkey, in wps_nfc_token_gen()
672 struct wpabuf **dev_pw) in wps_nfc_token_gen()
674 struct wpabuf *pw; in wps_nfc_token_gen()
701 struct wpabuf * wps_build_nfc_handover_req(struct wps_context *ctx, in wps_build_nfc_handover_req()
702 struct wpabuf *nfc_dh_pubkey) in wps_build_nfc_handover_req()
704 struct wpabuf *msg; in wps_build_nfc_handover_req()
738 static int wps_build_ssid(struct wpabuf *msg, struct wps_context *wps) in wps_build_ssid()
750 static int wps_build_ap_freq(struct wpabuf *msg, int freq) in wps_build_ap_freq()
781 struct wpabuf * wps_build_nfc_handover_sel(struct wps_context *ctx, in wps_build_nfc_handover_sel()
782 struct wpabuf *nfc_dh_pubkey, in wps_build_nfc_handover_sel()
785 struct wpabuf *msg; in wps_build_nfc_handover_sel()
821 struct wpabuf * wps_build_nfc_handover_req_p2p(struct wps_context *ctx, in wps_build_nfc_handover_req_p2p()
822 struct wpabuf *nfc_dh_pubkey) in wps_build_nfc_handover_req_p2p()
824 struct wpabuf *msg; in wps_build_nfc_handover_req_p2p()
858 struct wpabuf * wps_build_nfc_handover_sel_p2p(struct wps_context *ctx, in wps_build_nfc_handover_sel_p2p()
860 struct wpabuf *nfc_dh_pubkey, in wps_build_nfc_handover_sel_p2p()
861 struct wpabuf *nfc_dev_pw) in wps_build_nfc_handover_sel_p2p()
863 struct wpabuf *msg; in wps_build_nfc_handover_sel_p2p()