Lines Matching refs:wpabuf_put_le16

95 		wpabuf_put_le16(msg, DPP_ATTR_PROTOCOL_VERSION);  in dpp_pkex_build_exchange_req()
96 wpabuf_put_le16(msg, 1); in dpp_pkex_build_exchange_req()
109 wpabuf_put_le16(msg, DPP_ATTR_FINITE_CYCLIC_GROUP); in dpp_pkex_build_exchange_req()
110 wpabuf_put_le16(msg, 2); in dpp_pkex_build_exchange_req()
111 wpabuf_put_le16(msg, curve->ike_group); in dpp_pkex_build_exchange_req()
119 wpabuf_put_le16(msg, DPP_ATTR_CODE_IDENTIFIER); in dpp_pkex_build_exchange_req()
120 wpabuf_put_le16(msg, os_strlen(pkex->identifier)); in dpp_pkex_build_exchange_req()
132 wpabuf_put_le16(msg, DPP_ATTR_ENCRYPTED_KEY); in dpp_pkex_build_exchange_req()
133 wpabuf_put_le16(msg, 2 * curve->prime_len); in dpp_pkex_build_exchange_req()
260 wpabuf_put_le16(msg, DPP_ATTR_PROTOCOL_VERSION); in dpp_pkex_build_exchange_resp()
261 wpabuf_put_le16(msg, 1); in dpp_pkex_build_exchange_resp()
268 wpabuf_put_le16(msg, DPP_ATTR_CODE_IDENTIFIER); in dpp_pkex_build_exchange_resp()
269 wpabuf_put_le16(msg, os_strlen(pkex->identifier)); in dpp_pkex_build_exchange_resp()
284 wpabuf_put_le16(msg, DPP_ATTR_ENCRYPTED_KEY); in dpp_pkex_build_exchange_resp()
285 wpabuf_put_le16(msg, 2 * curve->prime_len); in dpp_pkex_build_exchange_resp()
303 wpabuf_put_le16(msg, DPP_ATTR_FINITE_CYCLIC_GROUP); in dpp_pkex_build_exchange_resp()
304 wpabuf_put_le16(msg, 2); in dpp_pkex_build_exchange_resp()
305 wpabuf_put_le16(msg, curve->ike_group); in dpp_pkex_build_exchange_resp()
616 wpabuf_put_le16(clear, DPP_ATTR_BOOTSTRAP_KEY); in dpp_pkex_build_commit_reveal_req()
617 wpabuf_put_le16(clear, 2 * curve->prime_len); in dpp_pkex_build_commit_reveal_req()
625 wpabuf_put_le16(clear, DPP_ATTR_BOOTSTRAP_KEY); in dpp_pkex_build_commit_reveal_req()
626 wpabuf_put_le16(clear, wpabuf_len(A_pub)); in dpp_pkex_build_commit_reveal_req()
637 wpabuf_put_le16(clear, DPP_ATTR_I_AUTH_TAG); in dpp_pkex_build_commit_reveal_req()
638 wpabuf_put_le16(clear, curve->hash_len); in dpp_pkex_build_commit_reveal_req()
646 wpabuf_put_le16(clear, DPP_ATTR_I_AUTH_TAG); in dpp_pkex_build_commit_reveal_req()
647 wpabuf_put_le16(clear, curve->hash_len); in dpp_pkex_build_commit_reveal_req()
666 wpabuf_put_le16(msg, DPP_ATTR_WRAPPED_DATA); in dpp_pkex_build_commit_reveal_req()
667 wpabuf_put_le16(msg, wpabuf_len(clear) + AES_BLOCK_SIZE); in dpp_pkex_build_commit_reveal_req()
937 wpabuf_put_le16(clear, DPP_ATTR_BOOTSTRAP_KEY); in dpp_pkex_build_commit_reveal_resp()
938 wpabuf_put_le16(clear, 2 * curve->prime_len); in dpp_pkex_build_commit_reveal_resp()
946 wpabuf_put_le16(clear, DPP_ATTR_BOOTSTRAP_KEY); in dpp_pkex_build_commit_reveal_resp()
947 wpabuf_put_le16(clear, wpabuf_len(B_pub)); in dpp_pkex_build_commit_reveal_resp()
958 wpabuf_put_le16(clear, DPP_ATTR_R_AUTH_TAG); in dpp_pkex_build_commit_reveal_resp()
959 wpabuf_put_le16(clear, curve->hash_len); in dpp_pkex_build_commit_reveal_resp()
967 wpabuf_put_le16(clear, DPP_ATTR_R_AUTH_TAG); in dpp_pkex_build_commit_reveal_resp()
968 wpabuf_put_le16(clear, curve->hash_len); in dpp_pkex_build_commit_reveal_resp()
987 wpabuf_put_le16(msg, DPP_ATTR_WRAPPED_DATA); in dpp_pkex_build_commit_reveal_resp()
988 wpabuf_put_le16(msg, wpabuf_len(clear) + AES_BLOCK_SIZE); in dpp_pkex_build_commit_reveal_resp()