Lines Matching refs:ca
102 mbedtls_x509_crt *ca = (mbedtls_x509_crt *) data;
122 if (mbedtls_x509_crt_parse_der(first, ca->raw.p, ca->raw.len) != 0) {
127 while (ca->next != NULL) {
128 ca = ca->next;
129 if (mbedtls_x509_crt_parse_der(first, ca->raw.p, ca->raw.len) != 0) {
660 mbedtls_x509_crt ca;
674 mbedtls_x509_crt_init(&ca);
678 TEST_EQUAL(mbedtls_x509_crt_parse_file(&ca, ca_file), 0);
684 ret = mbedtls_x509_crt_verify_restartable(&crt, &ca, NULL,
696 ret = mbedtls_x509_crt_verify_restartable(&crt, &ca, NULL,
704 mbedtls_x509_crt_free(&ca);
716 mbedtls_x509_crt ca;
725 mbedtls_x509_crt_init(&ca);
758 TEST_EQUAL(mbedtls_x509_crt_parse_file(&ca, ca_file), 0);
762 &ca,
781 &ca,
794 mbedtls_x509_crt_free(&ca);
806 mbedtls_x509_crt ca;
810 mbedtls_x509_crt_init(&ca);
814 TEST_EQUAL(mbedtls_x509_crt_parse_file(&ca, ca_file), 0);
820 ret = mbedtls_x509_crt_verify_with_ca_cb(&crt, ca_callback_fail, &ca,
828 mbedtls_x509_crt_free(&ca);
839 mbedtls_x509_crt ca;
844 mbedtls_x509_crt_init(&ca);
850 TEST_EQUAL(mbedtls_x509_crt_parse_file(&ca, ca_file), 0);
856 ret = mbedtls_x509_crt_verify_with_profile(&crt, &ca, NULL,
866 mbedtls_x509_crt_free(&ca);