Home
last modified time | relevance | path

Searched refs:key_data (Results 1 – 25 of 25) sorted by relevance

/external/wpa_supplicant_6/wpa_supplicant/src/eap_peer/
Deap_tls.c29 u8 *key_data; member
77 os_free(data->key_data); in eap_tls_deinit()
126 os_free(data->key_data); in eap_tls_success()
127 data->key_data = eap_peer_tls_derive_key(sm, &data->ssl, in eap_tls_success()
131 if (data->key_data) { in eap_tls_success()
133 data->key_data, EAP_TLS_KEY_LEN); in eap_tls_success()
135 data->key_data + EAP_TLS_KEY_LEN, in eap_tls_success()
201 os_free(data->key_data); in eap_tls_init_for_reauth()
202 data->key_data = NULL; in eap_tls_init_for_reauth()
222 return data->key_data != NULL; in eap_tls_isKeyAvailable()
[all …]
Deap_ttls.c73 u8 *key_data; member
181 os_free(data->key_data); in eap_ttls_deinit()
285 os_free(data->key_data); in eap_ttls_v0_derive_key()
286 data->key_data = eap_peer_tls_derive_key(sm, &data->ssl, in eap_ttls_v0_derive_key()
289 if (!data->key_data) { in eap_ttls_v0_derive_key()
295 data->key_data, EAP_TLS_KEY_LEN); in eap_ttls_v0_derive_key()
308 os_free(data->key_data); in eap_ttls_v1_derive_key()
309 data->key_data = NULL; in eap_ttls_v1_derive_key()
322 data->key_data = os_malloc(EAP_TLS_KEY_LEN); in eap_ttls_v1_derive_key()
323 if (rnd == NULL || data->key_data == NULL) { in eap_ttls_v1_derive_key()
[all …]
Deap_peap.c64 u8 *key_data; member
187 os_free(data->key_data); in eap_peap_deinit()
259 tk = data->key_data; in eap_peap_derive_cmk()
1087 os_free(data->key_data); in eap_peap_process()
1101 data->key_data = in eap_peap_process()
1104 if (data->key_data) { in eap_peap_process()
1107 data->key_data, in eap_peap_process()
1183 os_free(data->key_data); in eap_peap_init_for_reauth()
1184 data->key_data = NULL; in eap_peap_init_for_reauth()
1225 return data->key_data != NULL && data->phase2_success; in eap_peap_isKeyAvailable()
[all …]
Deap_fast.c61 u8 key_data[EAP_FAST_KEY_LEN]; member
254 eap_fast_derive_eap_msk(data->simck, data->key_data); in eap_fast_derive_msk()
1660 os_memcpy(key, data->key_data, EAP_FAST_KEY_LEN); in eap_fast_getKey()
/external/wpa_supplicant_8/src/eap_peer/
Deap_tls.c23 u8 *key_data; member
105 os_free(data->key_data); in eap_tls_deinit()
154 os_free(data->key_data); in eap_tls_success()
155 data->key_data = eap_peer_tls_derive_key(sm, &data->ssl, in eap_tls_success()
159 if (data->key_data) { in eap_tls_success()
161 data->key_data, EAP_TLS_KEY_LEN); in eap_tls_success()
163 data->key_data + EAP_TLS_KEY_LEN, in eap_tls_success()
229 os_free(data->key_data); in eap_tls_init_for_reauth()
230 data->key_data = NULL; in eap_tls_init_for_reauth()
250 return data->key_data != NULL; in eap_tls_isKeyAvailable()
[all …]
Deap_peap.c58 u8 *key_data; member
181 os_free(data->key_data); in eap_peap_deinit()
253 tk = data->key_data; in eap_peap_derive_cmk()
1083 os_free(data->key_data); in eap_peap_process()
1097 data->key_data = in eap_peap_process()
1100 if (data->key_data) { in eap_peap_process()
1103 data->key_data, in eap_peap_process()
1179 os_free(data->key_data); in eap_peap_init_for_reauth()
1180 data->key_data = NULL; in eap_peap_init_for_reauth()
1221 return data->key_data != NULL && data->phase2_success; in eap_peap_isKeyAvailable()
[all …]
Deap_ttls.c56 u8 *key_data; member
142 os_free(data->key_data); in eap_ttls_deinit()
213 os_free(data->key_data); in eap_ttls_v0_derive_key()
214 data->key_data = eap_peer_tls_derive_key(sm, &data->ssl, in eap_ttls_v0_derive_key()
217 if (!data->key_data) { in eap_ttls_v0_derive_key()
223 data->key_data, EAP_TLS_KEY_LEN); in eap_ttls_v0_derive_key()
1529 os_free(data->key_data); in eap_ttls_init_for_reauth()
1530 data->key_data = NULL; in eap_ttls_init_for_reauth()
1592 return data->key_data != NULL && data->phase2_success; in eap_ttls_isKeyAvailable()
1601 if (data->key_data == NULL || !data->phase2_success) in eap_ttls_getKey()
[all …]
Deap_fast.c55 u8 key_data[EAP_FAST_KEY_LEN]; member
248 eap_fast_derive_eap_msk(data->simck, data->key_data); in eap_fast_derive_msk()
1659 os_memcpy(key, data->key_data, EAP_FAST_KEY_LEN); in eap_fast_getKey()
/external/chromium/crypto/
Dsymmetric_key_openssl.cc35 uint8* key_data = in GenerateRandomKey() local
38 int rv = RAND_bytes(key_data, key_size_in_bytes); in GenerateRandomKey()
54 uint8* key_data = in DeriveKeyFromPassword() local
59 key_size_in_bytes, key_data); in DeriveKeyFromPassword()
Dhmac_win.cc128 BYTE key_data[1]; in Init() member
130 size_t key_blob_size = std::max(offsetof(KeyBlob, key_data) + key_length, in Init()
139 memcpy(key_blob->key_data, key, key_length); in Init()
149 SecureZeroMemory(key_blob->key_data, key_length); in Init()
Dsymmetric_key.h81 SymmetricKey(const void* key_data, size_t key_size_in_bits);
85 const void* key_data, size_t key_size_in_bytes);
Dsymmetric_key_win.cc53 const void* key_data, DWORD key_size, in ImportRawKey() argument
60 memcpy(actual_key + sizeof(PlaintextBlobHeader), key_data, key_size); in ImportRawKey()
528 const void* key_data, size_t key_size_in_bytes) in SymmetricKey() argument
530 if (key_data) { in SymmetricKey()
531 raw_key_.assign(reinterpret_cast<const char*>(key_data), in SymmetricKey()
Dsymmetric_key_mac.cc142 SymmetricKey::SymmetricKey(const void *key_data, size_t key_size_in_bits) in SymmetricKey() argument
143 : key_(reinterpret_cast<const char*>(key_data), in SymmetricKey()
/external/chromium/net/http/
Ddes.cc184 BYTE key_data[8]; in DESEncrypt() member
192 memcpy(key_blob.key_data, key, 8); in DESEncrypt()
199 SecureZeroMemory(key_blob.key_data, sizeof key_blob.key_data); in DESEncrypt()
/external/openssl/crypto/asn1/
Dx_pkey.c118 ret->key_data=NULL; in X509_PKEY_new()
149 if ((x->key_data != NULL) && (x->key_free)) OPENSSL_free(x->key_data); in X509_PKEY_free()
/external/chromium/net/base/
Dkeygen_handler_mac.cc134 CFDataRef key_data = NULL; in GenKeyAndSignChallenge() local
136 &key_data); in GenKeyAndSignChallenge()
141 base::mac::ScopedCFTypeRef<CFDataRef> scoped_key_data(key_data); in GenKeyAndSignChallenge()
155 CFDataGetLength(key_data) * 8; // interpreted as a _bit_ count in GenKeyAndSignChallenge()
157 const_cast<uint8_t*>(CFDataGetBytePtr(key_data)); in GenKeyAndSignChallenge()
/external/chromium/net/socket/
Ddns_cert_provenance_checker.cc297 char key_data[SHA256_LENGTH]; in BuildEncryptedReport() local
298 HASH_HashBuf(HASH_AlgSHA256, reinterpret_cast<uint8*>(key_data), in BuildEncryptedReport()
302 DCHECK_GE(sizeof(key_data), kKeySizeInBytes + kIVSizeInBytes); in BuildEncryptedReport()
303 std::string raw_key(key_data, kKeySizeInBytes); in BuildEncryptedReport()
307 std::string iv(key_data + kKeySizeInBytes, kIVSizeInBytes); in BuildEncryptedReport()
/external/openssl/crypto/des/
Ddestest.c92 static unsigned char key_data[NUM_TESTS][8]={ variable
411 DES_set_key_unchecked(&key_data[i],&ks); in main()
421 i+1,pt(key_data[i]),pt(in),pt(cipher_data[i]), in main()
428 i+1,pt(key_data[i]),pt(out),pt(in),pt(outin)); in main()
437 DES_set_key_unchecked(&key_data[i],&ks); in main()
438 DES_set_key_unchecked(&key_data[i+1],&ks2); in main()
439 DES_set_key_unchecked(&key_data[i+2],&ks3); in main()
449 i+1,pt(key_data[i]),pt(in),pt(cipher_ecb2[i]), in main()
456 i+1,pt(key_data[i]),pt(out),pt(in),pt(outin)); in main()
/external/chromium/chrome/browser/autofill/crypto/
Drc4_decryptor.h61 void PrepareKey(const uint8 *key_data, int key_data_len) { in PrepareKey() argument
74 index2 = (key_data[index1] + state[counter] + index2) % kKeyDataSize; in PrepareKey()
/external/kernel-headers/original/linux/
Dloop.h54 void *key_data; member
/external/wpa_supplicant_6/wpa_supplicant/
Dconfig.c56 int key_data; member
115 data->key_data ? "[KEY DATA REMOVED]" : value); in wpa_config_parse_str()
119 if (data->key_data) { in wpa_config_parse_str()
1849 if (field->key_data) { in wpa_config_get_no_key()
/external/wpa_supplicant_8/wpa_supplicant/
Dconfig.c52 int key_data; member
75 data->key_data ? "[KEY DATA REMOVED]" : value); in wpa_config_parse_str()
79 if (data->key_data) { in wpa_config_parse_str()
2139 if (field->key_data && !get_keys) in wpa_config_get_all()
2229 if (field->key_data) { in wpa_config_get_no_key()
/external/wpa_supplicant_8/src/ap/
Dieee802_1x.c110 u8 *key_data, size_t key_len) in ieee802_1x_tx_key_one() argument
155 os_memcpy((u8 *) (key + 1), key_data, key_len); in ieee802_1x_tx_key_one()
/external/openssl/include/openssl/
Dx509.h501 char *key_data; member
/external/openssl/crypto/x509/
Dx509.h501 char *key_data; member