Home
last modified time | relevance | path

Searched refs:cert_len (Results 1 – 17 of 17) sorted by relevance

/hal_espressif-3.6.0/components/bt/common/api/include/api/
Desp_blufi_api.h242 int cert_len; /*!< CA certificate length */ member
250 int cert_len; /*!< Client certificate length */ member
258 int cert_len; /*!< Client certificate length */ member
/hal_espressif-3.6.0/components/wpa_supplicant/src/tls/
Dtlsv1_client_read.c219 size_t left, len, list_len, cert_len, idx; in tls_process_certificate() local
317 cert_len = WPA_GET_BE24(pos); in tls_process_certificate()
320 if ((size_t) (end - pos) < cert_len) { in tls_process_certificate()
323 (unsigned long) cert_len, in tls_process_certificate()
332 (unsigned long) idx, (unsigned long) cert_len); in tls_process_certificate()
336 if (tls_parse_cert(pos, cert_len, in tls_process_certificate()
347 cert = x509_certificate_parse(pos, cert_len); in tls_process_certificate()
364 pos += cert_len; in tls_process_certificate()
Dtlsv1_server_read.c282 size_t left, len, list_len, cert_len, idx; in tls_process_certificate() local
386 cert_len = WPA_GET_BE24(pos); in tls_process_certificate()
389 if ((size_t) (end - pos) < cert_len) { in tls_process_certificate()
392 (unsigned long) cert_len, in tls_process_certificate()
401 (unsigned long) idx, (unsigned long) cert_len); in tls_process_certificate()
405 if (tls_parse_cert(pos, cert_len, in tls_process_certificate()
416 cert = x509_certificate_parse(pos, cert_len); in tls_process_certificate()
433 pos += cert_len; in tls_process_certificate()
Dtlsv1_server_write.c32 len += 3 + cert->cert_len; in tls_server_cert_chain_der_len()
193 if (pos + 3 + cert->cert_len > end) { in tls_write_server_certificate()
196 (unsigned long) cert->cert_len, in tls_write_server_certificate()
202 WPA_PUT_BE24(pos, cert->cert_len); in tls_write_server_certificate()
204 os_memcpy(pos, cert->cert_start, cert->cert_len); in tls_write_server_certificate()
205 pos += cert->cert_len; in tls_write_server_certificate()
Dtlsv1_client_write.c35 len += 3 + cert->cert_len; in tls_client_cert_chain_der_len()
189 if (pos + 3 + cert->cert_len > end) { in tls_write_client_certificate()
192 (unsigned long) cert->cert_len, in tls_write_client_certificate()
198 WPA_PUT_BE24(pos, cert->cert_len); in tls_write_client_certificate()
200 os_memcpy(pos, cert->cert_start, cert->cert_len); in tls_write_client_certificate()
201 pos += cert->cert_len; in tls_write_client_certificate()
Dx509v3.h93 size_t cert_len; member
Dx509v3.c1434 cert->cert_len = len; in x509_certificate_parse()
/hal_espressif-3.6.0/components/esp-tls/
Desp_tls_wolfssl.c82 …rify_buffer(esp_tls_t *tls, const unsigned char *cert_buf, unsigned int cert_len, x509_file_type_t… in esp_load_wolfssl_verify_buffer() argument
86 if (cert_buf[cert_len - 1] == '\0' && strstr( (const char *) cert_buf, "-----BEGIN " )) { in esp_load_wolfssl_verify_buffer()
91 …fSSL_CTX_use_PrivateKey_buffer( (WOLFSSL_CTX *)tls->priv_ctx, cert_buf, cert_len, wolf_fileformat)… in esp_load_wolfssl_verify_buffer()
96 …if (cert_buf[cert_len - 1] == '\0' && strstr( (const char *) cert_buf, "-----BEGIN CERTIFICATE----… in esp_load_wolfssl_verify_buffer()
102 …SSL_CTX_use_certificate_buffer( (WOLFSSL_CTX *)tls->priv_ctx, cert_buf, cert_len, wolf_fileformat)… in esp_load_wolfssl_verify_buffer()
107 …wolfSSL_CTX_load_verify_buffer( (WOLFSSL_CTX *)tls->priv_ctx, cert_buf, cert_len, wolf_fileformat)… in esp_load_wolfssl_verify_buffer()
/hal_espressif-3.6.0/components/bt/common/btc/profile/esp/blufi/
Dblufi_protocol.c204 param.ca.cert_len = len; in btc_blufi_protocol_handler()
213 param.client_cert.cert_len = len; in btc_blufi_protocol_handler()
222 param.client_cert.cert_len = len; in btc_blufi_protocol_handler()
Dblufi_prf.c459 dst->ca.cert = osi_malloc(src->ca.cert_len); in btc_blufi_cb_deep_copy()
463 memcpy(dst->ca.cert, src->ca.cert, src->ca.cert_len); in btc_blufi_cb_deep_copy()
466 dst->client_cert.cert = osi_malloc(src->client_cert.cert_len); in btc_blufi_cb_deep_copy()
470 memcpy(dst->client_cert.cert, src->client_cert.cert, src->client_cert.cert_len); in btc_blufi_cb_deep_copy()
473 dst->server_cert.cert = osi_malloc(src->server_cert.cert_len); in btc_blufi_cb_deep_copy()
477 memcpy(dst->server_cert.cert, src->server_cert.cert, src->server_cert.cert_len); in btc_blufi_cb_deep_copy()
/hal_espressif-3.6.0/components/esp_websocket_client/include/
Desp_websocket_client.h86 …size_t cert_len; /*!< Length of the buffer pointed to by ce… member
/hal_espressif-3.6.0/components/esp_http_client/include/
Desp_http_client.h111 …size_t cert_len; /*!< Length of the buffer pointed to by cert_pem.… member
/hal_espressif-3.6.0/tools/test_apps/protocols/mqtt/publish_connect_test/main/
Dconnect_test.c122 .cert_len = ca_der_end - ca_der_start, in connect_with_server_der_cert()
/hal_espressif-3.6.0/examples/cxx/experimental/esp_mqtt_cxx/components/esp_mqtt_cxx/
Desp_mqtt_cxx.cpp76 mqtt_client_cfg.cert_len = der.len; in config_broker()
/hal_espressif-3.6.0/components/esp_websocket_client/
Desp_websocket_client.c361 if (!config->cert_len) { in esp_websocket_client_init()
364 esp_transport_ssl_set_cert_data_der(ssl, config->cert_pem, config->cert_len); in esp_websocket_client_init()
/hal_espressif-3.6.0/docs/en/api-reference/protocols/
Dmqtt.rst85 If the certificate is not null-terminated then ``cert_len`` should also be set.
/hal_espressif-3.6.0/components/esp_http_client/
Desp_http_client.c636 if (!config->cert_len) { in esp_http_client_init()
639 esp_transport_ssl_set_cert_data_der(ssl, config->cert_pem, config->cert_len); in esp_http_client_init()