Searched refs:key_info (Results 1 - 23 of 23) sorted by relevance

/external/libchrome/crypto/
H A Dsignature_creator_unittest.cc36 std::vector<uint8_t> key_info; local
37 key_original->ExportPrivateKey(&key_info);
39 crypto::RSAPrivateKey::CreateFromPrivateKeyInfo(key_info));
74 std::vector<uint8_t> key_info; local
75 key_original->ExportPrivateKey(&key_info);
77 crypto::RSAPrivateKey::CreateFromPrivateKeyInfo(key_info));
109 std::vector<uint8_t> key_info; local
110 key_original->ExportPrivateKey(&key_info);
112 crypto::RSAPrivateKey::CreateFromPrivateKeyInfo(key_info));
/external/wpa_supplicant_8/hostapd/src/rsn_supp/
H A 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,
72 u16 key_info, u16 ver)
63 peerkey_rx_eapol_4way(struct wpa_sm *sm, struct wpa_peerkey *peerkey, struct wpa_eapol_key *key, u16 key_info, u16 ver, const u8 *key_data, size_t key_data_len) argument
70 peerkey_rx_eapol_smk(struct wpa_sm *sm, const u8 *src_addr, struct wpa_eapol_key *key, size_t extra_len, u16 key_info, u16 ver) argument
H A Dwpa.c101 int key_info, ver; local
132 key_info = WPA_KEY_INFO_REQUEST | ver;
134 key_info |= WPA_KEY_INFO_MIC | WPA_KEY_INFO_SECURE;
136 key_info |= WPA_KEY_INFO_ERROR;
138 key_info |= WPA_KEY_INFO_KEY_TYPE;
139 WPA_PUT_BE16(reply->key_info, key_info);
149 if (!(key_info & WPA_KEY_INFO_MIC))
400 WPA_PUT_BE16(reply->key_info,
806 int key_info)
803 wpa_supplicant_pairwise_gtk(struct wpa_sm *sm, const struct wpa_eapol_key *key, const u8 *gtk, size_t gtk_len, int key_info) argument
1143 wpa_supplicant_send_4_of_4(struct wpa_sm *sm, const unsigned char *dst, const struct wpa_eapol_key *key, u16 ver, u16 key_info, struct wpa_ptk *ptk) argument
1191 u16 key_info, keylen; local
1316 wpa_supplicant_process_1_of_2_rsn(struct wpa_sm *sm, const u8 *keydata, size_t keydatalen, u16 key_info, struct wpa_gtk_data *gd) argument
1366 wpa_supplicant_process_1_of_2_wpa(struct wpa_sm *sm, const struct wpa_eapol_key *key, const u8 *key_data, size_t key_data_len, u16 key_info, u16 ver, struct wpa_gtk_data *gd) argument
1453 wpa_supplicant_send_2_of_2(struct wpa_sm *sm, const struct wpa_eapol_key *key, int ver, u16 key_info) argument
1501 u16 key_info; local
1713 u16 key_info = WPA_GET_BE16(key->key_info); local
1767 u16 key_info, ver; local
[all...]
H A Dpeerkey.c72 u16 key_info; local
86 key_info = ver | WPA_KEY_INFO_SMK_MESSAGE | WPA_KEY_INFO_MIC |
89 WPA_PUT_BE16(err->key_info, key_info);
134 u16 key_info; local
149 key_info = ver | WPA_KEY_INFO_SMK_MESSAGE | WPA_KEY_INFO_MIC |
151 WPA_PUT_BE16(reply->key_info, key_info);
329 u16 key_info, ver; local
346 key_info
386 u16 key_info, ver; local
985 int key_info, ver; local
1113 peerkey_rx_eapol_4way(struct wpa_sm *sm, struct wpa_peerkey *peerkey, struct wpa_eapol_key *key, u16 key_info, u16 ver, const u8 *key_data, size_t key_data_len) argument
1137 peerkey_rx_eapol_smk(struct wpa_sm *sm, const u8 *src_addr, struct wpa_eapol_key *key, size_t extra_len, u16 key_info, u16 ver) argument
[all...]
H A Dwpa_i.h366 u16 ver, u16 key_info,
/external/wpa_supplicant_8/src/rsn_supp/
H A 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,
72 u16 key_info, u16 ver)
63 peerkey_rx_eapol_4way(struct wpa_sm *sm, struct wpa_peerkey *peerkey, struct wpa_eapol_key *key, u16 key_info, u16 ver, const u8 *key_data, size_t key_data_len) argument
70 peerkey_rx_eapol_smk(struct wpa_sm *sm, const u8 *src_addr, struct wpa_eapol_key *key, size_t extra_len, u16 key_info, u16 ver) argument
H A Dwpa.c101 int key_info, ver; local
132 key_info = WPA_KEY_INFO_REQUEST | ver;
134 key_info |= WPA_KEY_INFO_MIC | WPA_KEY_INFO_SECURE;
136 key_info |= WPA_KEY_INFO_ERROR;
138 key_info |= WPA_KEY_INFO_KEY_TYPE;
139 WPA_PUT_BE16(reply->key_info, key_info);
149 if (!(key_info & WPA_KEY_INFO_MIC))
400 WPA_PUT_BE16(reply->key_info,
806 int key_info)
803 wpa_supplicant_pairwise_gtk(struct wpa_sm *sm, const struct wpa_eapol_key *key, const u8 *gtk, size_t gtk_len, int key_info) argument
1143 wpa_supplicant_send_4_of_4(struct wpa_sm *sm, const unsigned char *dst, const struct wpa_eapol_key *key, u16 ver, u16 key_info, struct wpa_ptk *ptk) argument
1191 u16 key_info, keylen; local
1316 wpa_supplicant_process_1_of_2_rsn(struct wpa_sm *sm, const u8 *keydata, size_t keydatalen, u16 key_info, struct wpa_gtk_data *gd) argument
1366 wpa_supplicant_process_1_of_2_wpa(struct wpa_sm *sm, const struct wpa_eapol_key *key, const u8 *key_data, size_t key_data_len, u16 key_info, u16 ver, struct wpa_gtk_data *gd) argument
1453 wpa_supplicant_send_2_of_2(struct wpa_sm *sm, const struct wpa_eapol_key *key, int ver, u16 key_info) argument
1501 u16 key_info; local
1713 u16 key_info = WPA_GET_BE16(key->key_info); local
1767 u16 key_info, ver; local
[all...]
H A Dpeerkey.c72 u16 key_info; local
86 key_info = ver | WPA_KEY_INFO_SMK_MESSAGE | WPA_KEY_INFO_MIC |
89 WPA_PUT_BE16(err->key_info, key_info);
134 u16 key_info; local
149 key_info = ver | WPA_KEY_INFO_SMK_MESSAGE | WPA_KEY_INFO_MIC |
151 WPA_PUT_BE16(reply->key_info, key_info);
329 u16 key_info, ver; local
346 key_info
386 u16 key_info, ver; local
985 int key_info, ver; local
1113 peerkey_rx_eapol_4way(struct wpa_sm *sm, struct wpa_peerkey *peerkey, struct wpa_eapol_key *key, u16 key_info, u16 ver, const u8 *key_data, size_t key_data_len) argument
1137 peerkey_rx_eapol_smk(struct wpa_sm *sm, const u8 *src_addr, struct wpa_eapol_key *key, size_t extra_len, u16 key_info, u16 ver) argument
[all...]
H A Dwpa_i.h366 u16 ver, u16 key_info,
/external/wpa_supplicant_8/wpa_supplicant/src/rsn_supp/
H A 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,
72 u16 key_info, u16 ver)
63 peerkey_rx_eapol_4way(struct wpa_sm *sm, struct wpa_peerkey *peerkey, struct wpa_eapol_key *key, u16 key_info, u16 ver, const u8 *key_data, size_t key_data_len) argument
70 peerkey_rx_eapol_smk(struct wpa_sm *sm, const u8 *src_addr, struct wpa_eapol_key *key, size_t extra_len, u16 key_info, u16 ver) argument
H A Dwpa.c101 int key_info, ver; local
132 key_info = WPA_KEY_INFO_REQUEST | ver;
134 key_info |= WPA_KEY_INFO_MIC | WPA_KEY_INFO_SECURE;
136 key_info |= WPA_KEY_INFO_ERROR;
138 key_info |= WPA_KEY_INFO_KEY_TYPE;
139 WPA_PUT_BE16(reply->key_info, key_info);
149 if (!(key_info & WPA_KEY_INFO_MIC))
400 WPA_PUT_BE16(reply->key_info,
806 int key_info)
803 wpa_supplicant_pairwise_gtk(struct wpa_sm *sm, const struct wpa_eapol_key *key, const u8 *gtk, size_t gtk_len, int key_info) argument
1143 wpa_supplicant_send_4_of_4(struct wpa_sm *sm, const unsigned char *dst, const struct wpa_eapol_key *key, u16 ver, u16 key_info, struct wpa_ptk *ptk) argument
1191 u16 key_info, keylen; local
1316 wpa_supplicant_process_1_of_2_rsn(struct wpa_sm *sm, const u8 *keydata, size_t keydatalen, u16 key_info, struct wpa_gtk_data *gd) argument
1366 wpa_supplicant_process_1_of_2_wpa(struct wpa_sm *sm, const struct wpa_eapol_key *key, const u8 *key_data, size_t key_data_len, u16 key_info, u16 ver, struct wpa_gtk_data *gd) argument
1453 wpa_supplicant_send_2_of_2(struct wpa_sm *sm, const struct wpa_eapol_key *key, int ver, u16 key_info) argument
1501 u16 key_info; local
1713 u16 key_info = WPA_GET_BE16(key->key_info); local
1767 u16 key_info, ver; local
[all...]
H A Dpeerkey.c72 u16 key_info; local
86 key_info = ver | WPA_KEY_INFO_SMK_MESSAGE | WPA_KEY_INFO_MIC |
89 WPA_PUT_BE16(err->key_info, key_info);
134 u16 key_info; local
149 key_info = ver | WPA_KEY_INFO_SMK_MESSAGE | WPA_KEY_INFO_MIC |
151 WPA_PUT_BE16(reply->key_info, key_info);
329 u16 key_info, ver; local
346 key_info
386 u16 key_info, ver; local
985 int key_info, ver; local
1113 peerkey_rx_eapol_4way(struct wpa_sm *sm, struct wpa_peerkey *peerkey, struct wpa_eapol_key *key, u16 key_info, u16 ver, const u8 *key_data, size_t key_data_len) argument
1137 peerkey_rx_eapol_smk(struct wpa_sm *sm, const u8 *src_addr, struct wpa_eapol_key *key, size_t extra_len, u16 key_info, u16 ver) argument
[all...]
H A Dwpa_i.h366 u16 ver, u16 key_info,
/external/wpa_supplicant_8/hostapd/src/ap/
H A Dwpa_auth.c881 u16 key_info, key_data_length; local
902 key_info = WPA_GET_BE16(key->key_info);
911 " key_info=0x%x type=%u key_data_length=%u",
912 MAC2STR(sm->addr), key_info, key->type, key_data_length);
953 if ((key_info & (WPA_KEY_INFO_SMK_MESSAGE | WPA_KEY_INFO_REQUEST)) ==
955 if (key_info & WPA_KEY_INFO_ERROR) {
962 } else if (key_info & WPA_KEY_INFO_SMK_MESSAGE) {
965 } else if (key_info & WPA_KEY_INFO_REQUEST) {
968 } else if (!(key_info
1407 __wpa_send_eapol(struct wpa_authenticator *wpa_auth, struct wpa_state_machine *sm, int key_info, const u8 *key_rsc, const u8 *nonce, const u8 *kde, size_t kde_len, int keyidx, int encr, int force_version) argument
1608 wpa_send_eapol(struct wpa_authenticator *wpa_auth, struct wpa_state_machine *sm, int key_info, const u8 *key_rsc, const u8 *nonce, const u8 *kde, size_t kde_len, int keyidx, int encr) argument
1645 u16 key_info; local
[all...]
H A Dwpa_auth_i.h222 struct wpa_state_machine *sm, int key_info,
/external/wpa_supplicant_8/src/ap/
H A Dwpa_auth.c881 u16 key_info, key_data_length; local
902 key_info = WPA_GET_BE16(key->key_info);
911 " key_info=0x%x type=%u key_data_length=%u",
912 MAC2STR(sm->addr), key_info, key->type, key_data_length);
953 if ((key_info & (WPA_KEY_INFO_SMK_MESSAGE | WPA_KEY_INFO_REQUEST)) ==
955 if (key_info & WPA_KEY_INFO_ERROR) {
962 } else if (key_info & WPA_KEY_INFO_SMK_MESSAGE) {
965 } else if (key_info & WPA_KEY_INFO_REQUEST) {
968 } else if (!(key_info
1407 __wpa_send_eapol(struct wpa_authenticator *wpa_auth, struct wpa_state_machine *sm, int key_info, const u8 *key_rsc, const u8 *nonce, const u8 *kde, size_t kde_len, int keyidx, int encr, int force_version) argument
1608 wpa_send_eapol(struct wpa_authenticator *wpa_auth, struct wpa_state_machine *sm, int key_info, const u8 *key_rsc, const u8 *nonce, const u8 *kde, size_t kde_len, int keyidx, int encr) argument
1645 u16 key_info; local
[all...]
H A Dwpa_auth_i.h222 struct wpa_state_machine *sm, int key_info,
/external/wpa_supplicant_8/wpa_supplicant/src/ap/
H A Dwpa_auth.c881 u16 key_info, key_data_length; local
902 key_info = WPA_GET_BE16(key->key_info);
911 " key_info=0x%x type=%u key_data_length=%u",
912 MAC2STR(sm->addr), key_info, key->type, key_data_length);
953 if ((key_info & (WPA_KEY_INFO_SMK_MESSAGE | WPA_KEY_INFO_REQUEST)) ==
955 if (key_info & WPA_KEY_INFO_ERROR) {
962 } else if (key_info & WPA_KEY_INFO_SMK_MESSAGE) {
965 } else if (key_info & WPA_KEY_INFO_REQUEST) {
968 } else if (!(key_info
1407 __wpa_send_eapol(struct wpa_authenticator *wpa_auth, struct wpa_state_machine *sm, int key_info, const u8 *key_rsc, const u8 *nonce, const u8 *kde, size_t kde_len, int keyidx, int encr, int force_version) argument
1608 wpa_send_eapol(struct wpa_authenticator *wpa_auth, struct wpa_state_machine *sm, int key_info, const u8 *key_rsc, const u8 *nonce, const u8 *kde, size_t kde_len, int keyidx, int encr) argument
1645 u16 key_info; local
[all...]
H A Dwpa_auth_i.h222 struct wpa_state_machine *sm, int key_info,
/external/wpa_supplicant_8/hostapd/src/common/
H A Dwpa_common.h174 /* Note: key_info, key_length, and key_data_length are unaligned */
175 u8 key_info[2]; /* big endian */ member in struct:wpa_eapol_key
189 /* Note: key_info, key_length, and key_data_length are unaligned */
190 u8 key_info[2]; /* big endian */ member in struct:wpa_eapol_key_192
/external/wpa_supplicant_8/src/common/
H A Dwpa_common.h174 /* Note: key_info, key_length, and key_data_length are unaligned */
175 u8 key_info[2]; /* big endian */ member in struct:wpa_eapol_key
189 /* Note: key_info, key_length, and key_data_length are unaligned */
190 u8 key_info[2]; /* big endian */ member in struct:wpa_eapol_key_192
/external/wpa_supplicant_8/wpa_supplicant/src/common/
H A Dwpa_common.h174 /* Note: key_info, key_length, and key_data_length are unaligned */
175 u8 key_info[2]; /* big endian */ member in struct:wpa_eapol_key
189 /* Note: key_info, key_length, and key_data_length are unaligned */
190 u8 key_info[2]; /* big endian */ member in struct:wpa_eapol_key_192
/external/wpa_supplicant_8/wpa_supplicant/
H A Dibss_rsn.c711 u16 key_info; local
744 key_info = WPA_GET_BE16(key->key_info);
746 return !!(key_info & WPA_KEY_INFO_ACK);

Completed in 442 milliseconds