Home
last modified time | relevance | path

Searched refs:i_auth (Results 1 – 3 of 3) sorted by relevance

/hostap-3.7.0/src/common/
Ddpp_auth.c960 u8 i_auth[4 + DPP_MAX_HASH_LEN]; in dpp_auth_build_conf() local
1076 WPA_PUT_LE16(i_auth, DPP_ATTR_I_AUTH_TAG); in dpp_auth_build_conf()
1077 WPA_PUT_LE16(&i_auth[2], auth->curve->hash_len); in dpp_auth_build_conf()
1078 if (dpp_gen_i_auth(auth, i_auth + 4) < 0) in dpp_auth_build_conf()
1084 i_auth[4 + auth->curve->hash_len / 2] ^= 0x01; in dpp_auth_build_conf()
1089 i_auth, i_auth_len, in dpp_auth_build_conf()
1817 const u8 *r_bootstrap, *i_bootstrap, *wrapped_data, *status, *i_auth; in dpp_auth_conf_rx() local
1950 i_auth = dpp_get_attr(unwrapped, unwrapped_len, DPP_ATTR_I_AUTH_TAG, in dpp_auth_conf_rx()
1952 if (!i_auth || i_auth_len != auth->curve->hash_len) { in dpp_auth_conf_rx()
1958 i_auth, i_auth_len); in dpp_auth_conf_rx()
[all …]
Ddpp_i.h107 int dpp_gen_i_auth(struct dpp_authentication *auth, u8 *i_auth);
Ddpp_crypto.c948 int dpp_gen_i_auth(struct dpp_authentication *auth, u8 *i_auth) in dpp_gen_i_auth() argument
1022 res = dpp_hash_vector(auth->curve, num_elem, addr, len, i_auth); in dpp_gen_i_auth()
1024 wpa_hexdump(MSG_DEBUG, "DPP: I-auth", i_auth, in dpp_gen_i_auth()