Lines Matching refs:ca
95 mbedtls_x509_crt *ca = (mbedtls_x509_crt *) data;
116 if( mbedtls_x509_crt_parse_der( first, ca->raw.p, ca->raw.len ) != 0 )
122 while( ca->next != NULL )
124 ca = ca->next;
125 if( mbedtls_x509_crt_parse_der( first, ca->raw.p, ca->raw.len ) != 0 )
552 mbedtls_x509_crt ca;
567 mbedtls_x509_crt_init( &ca );
570 TEST_ASSERT( mbedtls_x509_crt_parse_file( &ca, ca_file ) == 0 );
576 ret = mbedtls_x509_crt_verify_restartable( &crt, &ca, NULL,
588 ret = mbedtls_x509_crt_verify_restartable( &crt, &ca, NULL,
596 mbedtls_x509_crt_free( &ca );
607 mbedtls_x509_crt ca;
616 mbedtls_x509_crt_init( &ca );
647 TEST_ASSERT( mbedtls_x509_crt_parse_file( &ca, ca_file ) == 0 );
650 …res = mbedtls_x509_crt_verify_with_profile( &crt, &ca, &crl, profile, cn_name, &flags, f_vrfy, NUL…
662 …res = mbedtls_x509_crt_verify_with_ca_cb( &crt, ca_callback, &ca, profile, cn_name, &flags, f_vrfy…
670 mbedtls_x509_crt_free( &ca );
682 mbedtls_x509_crt ca;
686 mbedtls_x509_crt_init( &ca );
689 TEST_ASSERT( mbedtls_x509_crt_parse_file( &ca, ca_file ) == 0 );
694 ret = mbedtls_x509_crt_verify_with_ca_cb( &crt, ca_callback_fail, &ca,
702 mbedtls_x509_crt_free( &ca );
712 mbedtls_x509_crt ca;
717 mbedtls_x509_crt_init( &ca );
723 TEST_ASSERT( mbedtls_x509_crt_parse_file( &ca, ca_file ) == 0 );
728 ret = mbedtls_x509_crt_verify_with_profile( &crt, &ca, NULL,
738 mbedtls_x509_crt_free( &ca );