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

12

/external/chromium_org/crypto/
H A Dsignature_creator_unittest.cc37 std::vector<uint8> key_info; local
38 key_original->ExportPrivateKey(&key_info);
40 crypto::RSAPrivateKey::CreateFromPrivateKeyInfo(key_info));
75 std::vector<uint8> key_info; local
76 key_original->ExportPrivateKey(&key_info);
78 crypto::RSAPrivateKey::CreateFromPrivateKeyInfo(key_info));
113 std::vector<uint8> key_info; local
114 key_original->ExportPrivateKey(&key_info);
116 crypto::RSAPrivateKey::CreateFromPrivateKeyInfo(key_info));
H A Dec_signature_creator_unittest.cc24 std::vector<uint8> key_info; local
26 key_original->ExportEncryptedPrivateKey(std::string(), 1000, &key_info));
32 std::string(), key_info, pubkey_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.c89 int key_info, ver; local
116 key_info = WPA_KEY_INFO_REQUEST | ver;
118 key_info |= WPA_KEY_INFO_MIC;
120 key_info |= WPA_KEY_INFO_ERROR;
122 key_info |= WPA_KEY_INFO_KEY_TYPE;
123 WPA_PUT_BE16(reply->key_info, key_info);
136 rbuf, rlen, key_info & WPA_KEY_INFO_MIC ?
336 WPA_PUT_BE16(reply->key_info,
701 int key_info)
698 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
1033 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
1075 u16 key_info, keylen; local
1188 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
1238 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
1316 wpa_supplicant_send_2_of_2(struct wpa_sm *sm, const struct wpa_eapol_key *key, int ver, u16 key_info) argument
1358 u16 key_info; local
1547 u16 key_info = WPA_GET_BE16(key->key_info); local
1601 u16 key_info, ver; local
[all...]
H A Dpeerkey.c71 u16 key_info; local
84 key_info = ver | WPA_KEY_INFO_SMK_MESSAGE | WPA_KEY_INFO_MIC |
87 WPA_PUT_BE16(err->key_info, key_info);
131 u16 key_info; local
145 key_info = ver | WPA_KEY_INFO_SMK_MESSAGE | WPA_KEY_INFO_MIC |
147 WPA_PUT_BE16(reply->key_info, key_info);
329 u16 key_info, ver; local
346 key_info
386 u16 key_info, ver; local
982 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.h325 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.c89 int key_info, ver; local
116 key_info = WPA_KEY_INFO_REQUEST | ver;
118 key_info |= WPA_KEY_INFO_MIC;
120 key_info |= WPA_KEY_INFO_ERROR;
122 key_info |= WPA_KEY_INFO_KEY_TYPE;
123 WPA_PUT_BE16(reply->key_info, key_info);
136 rbuf, rlen, key_info & WPA_KEY_INFO_MIC ?
336 WPA_PUT_BE16(reply->key_info,
701 int key_info)
698 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
1033 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
1075 u16 key_info, keylen; local
1188 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
1238 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
1316 wpa_supplicant_send_2_of_2(struct wpa_sm *sm, const struct wpa_eapol_key *key, int ver, u16 key_info) argument
1358 u16 key_info; local
1547 u16 key_info = WPA_GET_BE16(key->key_info); local
1601 u16 key_info, ver; local
[all...]
H A Dpeerkey.c71 u16 key_info; local
84 key_info = ver | WPA_KEY_INFO_SMK_MESSAGE | WPA_KEY_INFO_MIC |
87 WPA_PUT_BE16(err->key_info, key_info);
131 u16 key_info; local
145 key_info = ver | WPA_KEY_INFO_SMK_MESSAGE | WPA_KEY_INFO_MIC |
147 WPA_PUT_BE16(reply->key_info, key_info);
329 u16 key_info, ver; local
346 key_info
386 u16 key_info, ver; local
982 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.h325 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.c89 int key_info, ver; local
116 key_info = WPA_KEY_INFO_REQUEST | ver;
118 key_info |= WPA_KEY_INFO_MIC;
120 key_info |= WPA_KEY_INFO_ERROR;
122 key_info |= WPA_KEY_INFO_KEY_TYPE;
123 WPA_PUT_BE16(reply->key_info, key_info);
136 rbuf, rlen, key_info & WPA_KEY_INFO_MIC ?
336 WPA_PUT_BE16(reply->key_info,
701 int key_info)
698 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
1033 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
1075 u16 key_info, keylen; local
1188 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
1238 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
1316 wpa_supplicant_send_2_of_2(struct wpa_sm *sm, const struct wpa_eapol_key *key, int ver, u16 key_info) argument
1358 u16 key_info; local
1547 u16 key_info = WPA_GET_BE16(key->key_info); local
1601 u16 key_info, ver; local
[all...]
H A Dpeerkey.c71 u16 key_info; local
84 key_info = ver | WPA_KEY_INFO_SMK_MESSAGE | WPA_KEY_INFO_MIC |
87 WPA_PUT_BE16(err->key_info, key_info);
131 u16 key_info; local
145 key_info = ver | WPA_KEY_INFO_SMK_MESSAGE | WPA_KEY_INFO_MIC |
147 WPA_PUT_BE16(reply->key_info, key_info);
329 u16 key_info, ver; local
346 key_info
386 u16 key_info, ver; local
982 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.h325 u16 ver, u16 key_info,
/external/chromium_org/chrome/browser/devtools/device/usb/
H A Dandroid_rsa.cc189 std::vector<uint8> key_info(decoded_key.begin(), decoded_key.end());
190 key.reset(crypto::RSAPrivateKey::CreateFromPrivateKeyInfo(key_info));
194 std::vector<uint8> key_info; local
195 if (!key || !key->ExportPrivateKey(&key_info))
198 std::string key_string(key_info.begin(), key_info.end());
/external/wpa_supplicant_8/hostapd/src/ap/
H A Dwpa_auth.c791 u16 key_info, key_data_length; local
808 key_info = WPA_GET_BE16(key->key_info);
811 " key_info=0x%x type=%u key_data_length=%u",
812 MAC2STR(sm->addr), key_info, key->type, key_data_length);
853 if ((key_info & (WPA_KEY_INFO_SMK_MESSAGE | WPA_KEY_INFO_REQUEST)) ==
855 if (key_info & WPA_KEY_INFO_ERROR) {
862 } else if (key_info & WPA_KEY_INFO_SMK_MESSAGE) {
865 } else if (key_info & WPA_KEY_INFO_REQUEST) {
868 } else if (!(key_info
1279 __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
1445 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
1480 u16 key_info; local
[all...]
H A Dwpa_auth_i.h215 struct wpa_state_machine *sm, int key_info,
/external/wpa_supplicant_8/src/ap/
H A Dwpa_auth.c791 u16 key_info, key_data_length; local
808 key_info = WPA_GET_BE16(key->key_info);
811 " key_info=0x%x type=%u key_data_length=%u",
812 MAC2STR(sm->addr), key_info, key->type, key_data_length);
853 if ((key_info & (WPA_KEY_INFO_SMK_MESSAGE | WPA_KEY_INFO_REQUEST)) ==
855 if (key_info & WPA_KEY_INFO_ERROR) {
862 } else if (key_info & WPA_KEY_INFO_SMK_MESSAGE) {
865 } else if (key_info & WPA_KEY_INFO_REQUEST) {
868 } else if (!(key_info
1279 __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
1445 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
1480 u16 key_info; local
[all...]
H A Dwpa_auth_i.h215 struct wpa_state_machine *sm, int key_info,
/external/wpa_supplicant_8/wpa_supplicant/src/ap/
H A Dwpa_auth.c791 u16 key_info, key_data_length; local
808 key_info = WPA_GET_BE16(key->key_info);
811 " key_info=0x%x type=%u key_data_length=%u",
812 MAC2STR(sm->addr), key_info, key->type, key_data_length);
853 if ((key_info & (WPA_KEY_INFO_SMK_MESSAGE | WPA_KEY_INFO_REQUEST)) ==
855 if (key_info & WPA_KEY_INFO_ERROR) {
862 } else if (key_info & WPA_KEY_INFO_SMK_MESSAGE) {
865 } else if (key_info & WPA_KEY_INFO_REQUEST) {
868 } else if (!(key_info
1279 __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
1445 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
1480 u16 key_info; local
[all...]
H A Dwpa_auth_i.h215 struct wpa_state_machine *sm, int key_info,
/external/chromium_org/components/policy/core/common/cloud/
H A Duser_cloud_policy_store.cc148 em::PolicySigningKey key_info; local
149 key_info.set_signing_key(policy.new_public_key());
150 key_info.set_signing_key_signature(
152 key_info.set_verification_key(verification_key);
154 if (!key_info.SerializeToString(&key_data)) {
/external/wpa_supplicant_8/wpa_supplicant/
H A Dibss_rsn.c707 u16 key_info; local
740 key_info = WPA_GET_BE16(key->key_info);
742 return !!(key_info & WPA_KEY_INFO_ACK);
/external/chromium_org/chrome/browser/policy/test/
H A Dpolicy_testserver.py899 key_info = { 'private_key' : key }
905 key_info['signatures'] = {'*': key_sig}
908 self.keys.append(key_info)
/external/wpa_supplicant_8/hostapd/src/common/
H A Dwpa_common.h181 /* Note: key_info, key_length, and key_data_length are unaligned */
182 u8 key_info[2]; /* big endian */ member in struct:wpa_eapol_key

Completed in 2500 milliseconds

12