Home
last modified time | relevance | path

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

/hal_espressif-2.7.6/components/wpa_supplicant/src/eap_peer/
Deap_tls.c21 u8 *key_data; member
36 os_free(data->key_data); in eap_tls_deinit()
113 os_free(data->key_data); in eap_tls_success()
114 data->key_data = eap_peer_tls_derive_key(sm, &data->ssl, in eap_tls_success()
118 if (data->key_data) { in eap_tls_success()
120 data->key_data, EAP_TLS_KEY_LEN); in eap_tls_success()
122 data->key_data + EAP_TLS_KEY_LEN, in eap_tls_success()
187 return data->key_data != NULL; in eap_tls_isKeyAvailable()
194 if (data->key_data == NULL) in eap_tls_getKey()
202 os_memcpy(key, data->key_data, EAP_TLS_KEY_LEN); in eap_tls_getKey()
Deap_peap.c57 u8 *key_data; member
185 os_free(data->key_data); in eap_peap_deinit()
261 tk = data->key_data; in eap_peap_derive_cmk()
1102 os_free(data->key_data); in eap_peap_process()
1116 data->key_data = in eap_peap_process()
1119 if (data->key_data) { in eap_peap_process()
1122 data->key_data, in eap_peap_process()
1215 os_free(data->key_data); in eap_peap_init_for_reauth()
1216 data->key_data = NULL; in eap_peap_init_for_reauth()
1261 return data->key_data != NULL && data->phase2_success; in eap_peap_isKeyAvailable()
[all …]
Deap_ttls.c57 u8 *key_data; member
137 os_free(data->key_data); in eap_ttls_deinit()
209 os_free(data->key_data); in eap_ttls_v0_derive_key()
210 data->key_data = eap_peer_tls_derive_key(sm, &data->ssl, in eap_ttls_v0_derive_key()
213 if (!data->key_data) { in eap_ttls_v0_derive_key()
219 data->key_data, EAP_TLS_KEY_LEN); in eap_ttls_v0_derive_key()
221 data->key_data + EAP_TLS_KEY_LEN, in eap_ttls_v0_derive_key()
1550 os_free(data->key_data); in eap_ttls_init_for_reauth()
1551 data->key_data = NULL; in eap_ttls_init_for_reauth()
1615 return data->key_data != NULL && data->phase2_success; in eap_ttls_isKeyAvailable()
[all …]
/hal_espressif-2.7.6/components/esp32s2/test/
Dtest_hmac.c36 const uint8_t key_data[32] = { in setup_keyblock() local
42 key_data, sizeof(key_data)); in setup_keyblock()
55 const uint8_t key_data[32] = { variable
72 key_data, sizeof(key_data));
/hal_espressif-2.7.6/docs/en/api-reference/peripherals/
Dhmac.rst120 const uint8_t key_data[32] = { ... };
124 key_data, sizeof(key_data));
/hal_espressif-2.7.6/components/wpa_supplicant/src/crypto/
Dcrypto_mbedtls-ec.c564 int crypto_ec_get_priv_key_der(struct crypto_key *key, unsigned char **key_data, int *key_len) in crypto_ec_get_priv_key_der() argument
573 *key_data = os_malloc(*key_len); in crypto_ec_get_priv_key_der()
575 if (!*key_data) { in crypto_ec_get_priv_key_der()
579 os_memcpy(*key_data, der_data, *key_len); in crypto_ec_get_priv_key_der()
Dcrypto.h1025 int crypto_ec_get_priv_key_der(struct crypto_key *key, unsigned char **key_data, int *key_len);