Home
last modified time | relevance | path

Searched refs:key_info (Results 1 – 9 of 9) sorted by relevance

/external/libchrome/crypto/
Dsignature_creator_unittest.cc36 std::vector<uint8_t> key_info; in TEST() local
37 key_original->ExportPrivateKey(&key_info); in TEST()
39 crypto::RSAPrivateKey::CreateFromPrivateKeyInfo(key_info)); in TEST()
74 std::vector<uint8_t> key_info; in TEST() local
75 key_original->ExportPrivateKey(&key_info); in TEST()
77 crypto::RSAPrivateKey::CreateFromPrivateKeyInfo(key_info)); in TEST()
109 std::vector<uint8_t> key_info; in TEST() local
110 key_original->ExportPrivateKey(&key_info); in TEST()
112 crypto::RSAPrivateKey::CreateFromPrivateKeyInfo(key_info)); in TEST()
/external/wpa_supplicant_8/src/rsn_supp/
Dwpa.c101 int key_info, ver; in wpa_sm_key_request() local
132 key_info = WPA_KEY_INFO_REQUEST | ver; in wpa_sm_key_request()
134 key_info |= WPA_KEY_INFO_MIC | WPA_KEY_INFO_SECURE; in wpa_sm_key_request()
136 key_info |= WPA_KEY_INFO_ERROR; in wpa_sm_key_request()
138 key_info |= WPA_KEY_INFO_KEY_TYPE; in wpa_sm_key_request()
139 WPA_PUT_BE16(reply->key_info, key_info); in wpa_sm_key_request()
149 if (!(key_info & WPA_KEY_INFO_MIC)) in wpa_sm_key_request()
400 WPA_PUT_BE16(reply->key_info, in wpa_supplicant_send_2_of_4()
806 int key_info) in wpa_supplicant_pairwise_gtk() argument
852 key_info & WPA_KEY_INFO_SECURE); in wpa_supplicant_pairwise_gtk()
[all …]
Dpeerkey.c72 u16 key_info; in wpa_supplicant_send_smk_error() local
86 key_info = ver | WPA_KEY_INFO_SMK_MESSAGE | WPA_KEY_INFO_MIC | in wpa_supplicant_send_smk_error()
89 WPA_PUT_BE16(err->key_info, key_info); in wpa_supplicant_send_smk_error()
134 u16 key_info; in wpa_supplicant_send_smk_m3() local
149 key_info = ver | WPA_KEY_INFO_SMK_MESSAGE | WPA_KEY_INFO_MIC | in wpa_supplicant_send_smk_m3()
151 WPA_PUT_BE16(reply->key_info, key_info); in wpa_supplicant_send_smk_m3()
329 u16 key_info, ver; in wpa_supplicant_send_stk_1_of_4() local
346 key_info = ver | WPA_KEY_INFO_KEY_TYPE | WPA_KEY_INFO_ACK; in wpa_supplicant_send_stk_1_of_4()
347 WPA_PUT_BE16(msg->key_info, key_info); in wpa_supplicant_send_stk_1_of_4()
386 u16 key_info, ver; in wpa_supplicant_send_stk_3_of_4() local
[all …]
Dpeerkey.h44 struct wpa_eapol_key *key, u16 key_info, u16 ver,
48 u16 key_info, u16 ver);
64 struct wpa_eapol_key *key, u16 key_info, u16 ver, in peerkey_rx_eapol_4way() argument
72 u16 key_info, u16 ver) in peerkey_rx_eapol_smk() argument
Dwpa_i.h366 u16 ver, u16 key_info,
/external/wpa_supplicant_8/src/ap/
Dwpa_auth.c881 u16 key_info, key_data_length; in wpa_receive() local
902 key_info = WPA_GET_BE16(key->key_info); in wpa_receive()
912 MAC2STR(sm->addr), key_info, key->type, key_data_length); in wpa_receive()
953 if ((key_info & (WPA_KEY_INFO_SMK_MESSAGE | WPA_KEY_INFO_REQUEST)) == in wpa_receive()
955 if (key_info & WPA_KEY_INFO_ERROR) { in wpa_receive()
962 } else if (key_info & WPA_KEY_INFO_SMK_MESSAGE) { in wpa_receive()
965 } else if (key_info & WPA_KEY_INFO_REQUEST) { in wpa_receive()
968 } else if (!(key_info & WPA_KEY_INFO_KEY_TYPE)) { in wpa_receive()
982 u16 ver = key_info & WPA_KEY_INFO_TYPE_MASK; in wpa_receive()
1015 if (key_info & WPA_KEY_INFO_REQUEST) { in wpa_receive()
[all …]
Dwpa_auth_i.h222 struct wpa_state_machine *sm, int key_info,
/external/wpa_supplicant_8/wpa_supplicant/
Dibss_rsn.c711 u16 key_info; in ibss_rsn_eapol_dst_supp() local
744 key_info = WPA_GET_BE16(key->key_info); in ibss_rsn_eapol_dst_supp()
746 return !!(key_info & WPA_KEY_INFO_ACK); in ibss_rsn_eapol_dst_supp()
/external/wpa_supplicant_8/src/common/
Dwpa_common.h175 u8 key_info[2]; /* big endian */ member
190 u8 key_info[2]; /* big endian */ member