Lines Matching refs:crt
99 static int my_verify(void *data, mbedtls_x509_crt *crt, int depth, uint32_t *flags) in my_verify() argument
105 mbedtls_x509_crt_info(buf, sizeof(buf) - 1, "", crt); in my_verify()
265 mbedtls_x509_crt crt; in main() local
266 mbedtls_x509_crt *cur = &crt; in main()
267 mbedtls_x509_crt_init(&crt); in main()
275 ret = mbedtls_x509_crt_parse_file(&crt, opt.filename); in main()
279 mbedtls_x509_crt_free(&crt); in main()
287 mbedtls_x509_crt_free(&crt); in main()
302 mbedtls_x509_crt_free(&crt); in main()
317 if ((ret = mbedtls_x509_crt_verify(&crt, &cacert, &cacrl, NULL, &flags, in main()
331 mbedtls_x509_crt_free(&crt); in main()