Searched refs:der_len (Results 1 – 2 of 2) sorted by relevance
/hal_espressif-3.6.0/components/wpa_supplicant/src/tls/ |
D | tlsv1_cred.c | 106 size_t der_len; in tlsv1_add_cert() local 127 der = (unsigned char *)base64_decode((const char *)pos, end - pos, &der_len); in tlsv1_add_cert() 134 if (tlsv1_add_cert_der(chain, der, der_len) < 0) { in tlsv1_add_cert() 226 size_t der_len; in tlsv1_set_key_pem() local 252 der = (unsigned char *)base64_decode((const char *)pos, end - pos, &der_len); in tlsv1_set_key_pem() 255 pkey = crypto_private_key_import(der, der_len, NULL); in tlsv1_set_key_pem() 267 size_t der_len; in tlsv1_set_key_enc_pem() local 280 der = (unsigned char *)base64_decode((const char *)pos, end - pos, &der_len); in tlsv1_set_key_enc_pem() 283 pkey = crypto_private_key_import(der, der_len, passwd); in tlsv1_set_key_enc_pem() 432 size_t der_len; in tlsv1_set_dhparams_blob() local [all …]
|
/hal_espressif-3.6.0/components/wpa_supplicant/src/common/ |
D | dpp.c | 729 int der_len; in dpp_bootstrap_key_der() local 731 der_len = crypto_ec_write_pub_key(key, &der); in dpp_bootstrap_key_der() 736 ret = wpabuf_alloc_copy(der, der_len); in dpp_bootstrap_key_der() 4958 int der_len; in dpp_copy_csign() local 4960 der_len = crypto_write_pubkey_der(csign, &der); in dpp_copy_csign() 4961 if (der_len <= 0) in dpp_copy_csign() 4964 conf->c_sign_key = wpabuf_alloc_copy(der, der_len); in dpp_copy_csign() 4972 int der_len; in dpp_copy_netaccesskey() local 4974 if (crypto_ec_get_priv_key_der(auth->own_protocol_key, &der, &der_len) < 0) in dpp_copy_netaccesskey() 4977 auth->net_access_key = wpabuf_alloc_copy(der, der_len); in dpp_copy_netaccesskey()
|