Searched refs:x509_bundle (Results 1 – 2 of 2) sorted by relevance
148 static esp_err_t esp_crt_bundle_init(const uint8_t *x509_bundle, size_t bundle_size) in esp_crt_bundle_init() argument155 uint16_t num_certs = (x509_bundle[0] << 8) | x509_bundle[1]; in esp_crt_bundle_init()163 const uint8_t **crts = calloc(num_certs, sizeof(x509_bundle)); in esp_crt_bundle_init()171 const uint8_t *bundle_end = x509_bundle + bundle_size; in esp_crt_bundle_init()172 cur_crt = x509_bundle + BUNDLE_HEADER_OFFSET; in esp_crt_bundle_init()236 esp_err_t esp_crt_bundle_set(const uint8_t *x509_bundle, size_t bundle_size) in esp_crt_bundle_set() argument238 return esp_crt_bundle_init(x509_bundle, bundle_size); in esp_crt_bundle_set()
60 esp_err_t esp_crt_bundle_set(const uint8_t *x509_bundle, size_t bundle_size);