/hal_espressif-latest/components/wpa_supplicant/src/crypto/ |
D | crypto_internal-cipher.c | 18 enum crypto_cipher_alg alg; member 43 struct crypto_cipher * crypto_cipher_init(enum crypto_cipher_alg alg, in crypto_cipher_init() argument 53 ctx->alg = alg; in crypto_cipher_init() 55 switch (alg) { in crypto_cipher_init() 108 switch (ctx->alg) { in crypto_cipher_encrypt() 172 switch (ctx->alg) { in crypto_cipher_decrypt() 232 switch (ctx->alg) { in crypto_cipher_deinit()
|
D | crypto_internal.c | 20 enum crypto_hash_alg alg; member 39 struct crypto_hash * crypto_hash_init(enum crypto_hash_alg alg, const u8 *key, in crypto_hash_init() argument 51 ctx->alg = alg; in crypto_hash_init() 53 switch (alg) { in crypto_hash_init() 148 switch (ctx->alg) { in crypto_hash_update() 192 switch (ctx->alg) { in crypto_hash_finish()
|
D | crypto.h | 182 struct crypto_hash * crypto_hash_init(enum crypto_hash_alg alg, const u8 *key, 237 struct crypto_cipher * crypto_cipher_init(enum crypto_cipher_alg alg,
|
/hal_espressif-latest/components/wpa_supplicant/src/tls/ |
D | pkcs5.c | 25 } alg; member 48 static int pkcs5_is_oid(struct asn1_oid *oid, unsigned long alg) in pkcs5_is_oid() argument 54 oid->oid[6] == alg; in pkcs5_is_oid() 58 static int enc_alg_is_oid(struct asn1_oid *oid, unsigned long alg) in enc_alg_is_oid() argument 63 oid->oid[5] == alg; in enc_alg_is_oid() 67 static int pkcs12_is_pbe_oid(struct asn1_oid *oid, unsigned long alg) in pkcs12_is_pbe_oid() argument 74 oid->oid[7] == alg; in pkcs12_is_pbe_oid() 283 params->alg = pkcs5_get_alg(&oid); in pkcs5_get_params() 284 if (params->alg == PKCS5_ALG_UNKNOWN) { in pkcs5_get_params() 290 if (params->alg == PKCS5_ALG_PBES2) in pkcs5_get_params() [all …]
|
D | tlsv1_client_ocsp.c | 67 static unsigned int ocsp_hash_data(struct asn1_oid *alg, const u8 *data, in ocsp_hash_data() argument 74 if (x509_sha1_oid(alg)) { in ocsp_hash_data() 81 if (x509_sha256_oid(alg)) { in ocsp_hash_data() 88 if (x509_sha384_oid(alg)) { in ocsp_hash_data() 95 if (x509_sha512_oid(alg)) { in ocsp_hash_data() 103 asn1_oid_to_str(alg, buf, sizeof(buf)); in ocsp_hash_data() 118 struct x509_algorithm_identifier alg; in tls_process_ocsp_single_response() local 157 if (x509_parse_algorithm_identifier(pos, end - pos, &alg, &pos)) in tls_process_ocsp_single_response() 175 hash_len = ocsp_hash_data(&alg.oid, issuer->subject_dn, in tls_process_ocsp_single_response() 197 hash_len = ocsp_hash_data(&alg.oid, issuer->public_key, in tls_process_ocsp_single_response() [all …]
|
D | tlsv1_common.c | 346 enum crypto_hash_alg alg; in tlsv12_key_x_server_params_hash() local 350 alg = CRYPTO_HASH_ALG_SHA256; in tlsv12_key_x_server_params_hash() 355 alg = CRYPTO_HASH_ALG_SHA384; in tlsv12_key_x_server_params_hash() 359 alg = CRYPTO_HASH_ALG_SHA512; in tlsv12_key_x_server_params_hash() 366 ctx = crypto_hash_init(alg, NULL, 0); in tlsv12_key_x_server_params_hash()
|
D | tlsv1_common.h | 233 enum crypto_cipher_alg alg; member
|
D | tlsv1_record.c | 61 rl->cipher_alg = data->alg; in tlsv1_record_set_cipher_suite()
|
/hal_espressif-latest/components/wpa_supplicant/src/rsn_supp/ |
D | wpa_i.h | 17 enum wpa_alg alg; member 187 void wpa_install_key(enum wpa_alg alg, u8 *addr, int key_idx, int set_tx, 190 int wpa_get_key(uint8_t *ifx, int *alg, u8 *addr, int *key_idx,
|
D | wpa.c | 65 static int wpa_sm_get_key(uint8_t *ifx, int *alg, u8 *addr, int *key_idx, u8 *key, size_t key_len, … 773 enum wpa_alg alg; in wpa_supplicant_install_ptk() local 791 alg = wpa_cipher_to_alg(sm->pairwise_cipher); in wpa_supplicant_install_ptk() 794 if (alg == WIFI_WPA_ALG_NONE) { in wpa_supplicant_install_ptk() 799 …if (wpa_sm_set_key(&(sm->install_ptk), alg, sm->bssid, 0, 1, (sm->install_ptk).seq, WPA_KEY_RSC_LE… in wpa_supplicant_install_ptk() 803 alg, keylen, MAC2STR(sm->bssid)); in wpa_supplicant_install_ptk() 822 enum wpa_alg *alg) in wpa_supplicant_check_group_cipher() argument 826 *alg = wpa_cipher_to_alg(group_cipher); in wpa_supplicant_check_group_cipher() 827 if (*alg == WIFI_WPA_ALG_NONE) { in wpa_supplicant_check_group_cipher() 914 if (wpa_sm_set_key(&(sm->install_gtk), gd->alg, in wpa_supplicant_install_gtk() [all …]
|
D | wpa_ft.c | 330 enum wpa_alg alg; in wpa_ft_install_ptk() local 341 alg = wpa_cipher_to_alg(sm->pairwise_cipher); in wpa_ft_install_ptk() 344 if (wpa_sm_set_key(&(sm->install_ptk), alg, (u8 *)bssid, 0, 1, null_rsc, in wpa_ft_install_ptk() 590 enum wpa_alg alg; in wpa_ft_process_gtk_subelem() local 616 alg = wpa_cipher_to_alg(sm->group_cipher); in wpa_ft_process_gtk_subelem() 617 if (alg == WIFI_WPA_ALG_NONE) { in wpa_ft_process_gtk_subelem() 647 if (wpa_sm_set_key(&(sm->install_gtk), alg, sm->bssid, keyidx, 0, in wpa_ft_process_gtk_subelem()
|
D | wpa.h | 51 int wpa_sm_set_key(struct install_key *sm, enum wpa_alg alg,
|
/hal_espressif-latest/components/wpa_supplicant/esp_supplicant/src/ |
D | esp_wpa_main.c | 50 void wpa_install_key(enum wpa_alg alg, u8 *addr, int key_idx, int set_tx, in wpa_install_key() argument 53 esp_wifi_set_sta_key_internal(alg, addr, key_idx, set_tx, seq, seq_len, key, key_len, key_flag); in wpa_install_key() 56 int wpa_get_key(uint8_t *ifx, int *alg, u8 *addr, int *key_idx, in wpa_get_key() argument 59 return esp_wifi_get_sta_key_internal(ifx, alg, addr, key_idx, key, key_len, key_flag); in wpa_get_key()
|
D | esp_wifi_driver.h | 237 int esp_wifi_set_ap_key_internal(int alg, const u8 *addr, int idx, u8 *key, size_t key_len); 238 int esp_wifi_set_sta_key_internal(int alg, u8 *addr, int key_idx, int set_tx, 240 int esp_wifi_get_sta_key_internal(uint8_t *ifx, int *alg, u8 *addr, int *key_idx,
|
/hal_espressif-latest/components/wpa_supplicant/esp_supplicant/src/crypto/ |
D | crypto_mbedtls.c | 132 struct crypto_hash * crypto_hash_init(enum crypto_hash_alg alg, const u8 *key, in crypto_hash_init() argument 141 switch (alg) { in crypto_hash_init() 164 switch (alg) { in crypto_hash_init() 538 static mbedtls_cipher_type_t alg_to_mbedtls_cipher(enum crypto_cipher_alg alg, in alg_to_mbedtls_cipher() argument 541 switch (alg) { in alg_to_mbedtls_cipher() 566 struct crypto_cipher *crypto_cipher_init(enum crypto_cipher_alg alg, in crypto_cipher_init() argument 579 cipher_type = alg_to_mbedtls_cipher(alg, key_len); in crypto_cipher_init()
|
/hal_espressif-latest/zephyr/port/wifi/ |
D | wifi_stubs.c | 117 int esp_wifi_set_ap_key_internal(int alg, const u8 *addr, int idx, u8 *key, size_t key_len) in esp_wifi_set_ap_key_internal() argument 119 ARG_UNUSED(alg); in esp_wifi_set_ap_key_internal() 127 int esp_wifi_set_sta_key_internal(int alg, u8 *addr, int key_idx, int set_tx, u8 *seq, in esp_wifi_set_sta_key_internal() argument 130 ARG_UNUSED(alg); in esp_wifi_set_sta_key_internal() 142 int esp_wifi_get_sta_key_internal(uint8_t *ifx, int *alg, u8 *addr, int *key_idx, u8 *key, in esp_wifi_get_sta_key_internal() argument 146 ARG_UNUSED(alg); in esp_wifi_get_sta_key_internal()
|
/hal_espressif-latest/components/wpa_supplicant/src/ap/ |
D | wpa_auth.c | 159 enum wpa_alg alg, const u8 *addr, int idx, in wpa_auth_set_key() argument 164 if (alg == WIFI_WPA_ALG_IGTK) { in wpa_auth_set_key() 187 …wpa_printf( MSG_DEBUG, "%s : key idx %d alg %d vlan_id %d key_len %d key", __func__, idx, alg, vl… in wpa_auth_set_key() 188 return esp_wifi_set_ap_key_internal(alg, addr, idx, key, key_len); in wpa_auth_set_key() 1015 int alg; in __wpa_send_eapol() local 1078 alg = pairwise ? sm->pairwise : wpa_auth->conf.wpa_group; in __wpa_send_eapol() 1082 WPA_PUT_BE16(key->key_length, wpa_cipher_key_len(alg)); in __wpa_send_eapol() 1958 enum wpa_alg alg = wpa_cipher_to_alg(sm->pairwise); in SM_STATE() local 1960 if (wpa_auth_set_key(sm->wpa_auth, 0, alg, sm->addr, 0, in SM_STATE()
|
D | wpa_auth.h | 189 int (*set_key)(void *ctx, int vlan_id, enum wpa_alg alg,
|
/hal_espressif-latest/components/mbedtls/port/mbedtls_rom/ |
D | mbedtls_rom_osi.h | 80 …1_get_alg)( unsigned char **p, const unsigned char *end, mbedtls_asn1_buf *alg, mbedtls_asn1_buf *… 81 …m_mbedtls_asn1_get_alg_null)( unsigned char **p, const unsigned char *end, mbedtls_asn1_buf *alg ); 369 …m_mbedtls_x509_get_alg_null)( unsigned char **p, const unsigned char *end, mbedtls_x509_buf *alg ); 370 …9_get_alg)( unsigned char **p, const unsigned char *end, mbedtls_x509_buf *alg, mbedtls_x509_buf *… 506 …n1_get_alg)(unsigned char **p, const unsigned char *end, mbedtls_asn1_buf *alg, mbedtls_asn1_buf *… 507 …rom_mbedtls_asn1_get_alg_null)(unsigned char **p, const unsigned char *end, mbedtls_asn1_buf *alg);
|
/hal_espressif-latest/components/wpa_supplicant/src/common/ |
D | wpa_common.h | 223 enum wpa_alg alg; member
|