Home
last modified time | relevance | path

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

/hal_espressif-latest/components/mbedtls/esp_crt_bundle/
Desp_crt_bundle.c26 uint16_t num_certs; member
101 ESP_LOGD(TAG, "%d certificates in bundle", s_crt_bundle.num_certs); in esp_crt_verify_callback()
108 int end = s_crt_bundle.num_certs - 1; in esp_crt_verify_callback()
155 uint16_t num_certs = (x509_bundle[0] << 8) | x509_bundle[1]; in esp_crt_bundle_init() local
156 if (num_certs > CONFIG_MBEDTLS_CERTIFICATE_BUNDLE_MAX_CERTS) { in esp_crt_bundle_init()
159 …"Please update the menuconfig option with appropriate value", num_certs, CONFIG_MBEDTLS_CERTIFICAT… in esp_crt_bundle_init()
163 const uint8_t **crts = calloc(num_certs, sizeof(x509_bundle)); in esp_crt_bundle_init()
174 for (int i = 0; i < num_certs; i++) { in esp_crt_bundle_init()
196 s_crt_bundle.num_certs = num_certs; in esp_crt_bundle_init()