Lines Matching refs:parent

1856                                   const mbedtls_x509_crt *parent,  in x509_crt_check_parent()  argument
1862 if( x509_name_cmp( &child->issuer, &parent->subject ) != 0 ) in x509_crt_check_parent()
1869 if( top && parent->version < 3 ) in x509_crt_check_parent()
1874 child->raw.len == parent->raw.len && in x509_crt_check_parent()
1875 memcmp( child->raw.p, parent->raw.p, child->raw.len ) == 0 ) in x509_crt_check_parent()
1880 if( need_ca_bit && ! parent->ca_istrue ) in x509_crt_check_parent()
1885 mbedtls_x509_crt_check_key_usage( parent, MBEDTLS_X509_KU_KEY_CERT_SIGN ) != 0 ) in x509_crt_check_parent()
2029 mbedtls_x509_crt *child, mbedtls_x509_crt *parent, in x509_crt_verify_child() argument
2077 if( x509_profile_check_key( profile, child->sig_pk, &parent->pk ) != 0 ) in x509_crt_verify_child()
2080 if( mbedtls_pk_verify_ext( child->sig_pk, child->sig_opts, &parent->pk, in x509_crt_verify_child()
2090 *flags |= x509_crt_verifycrl(child, parent, ca_crl, profile ); in x509_crt_verify_child()
2098 if( x509_crt_check_parent( parent, grandparent, in x509_crt_verify_child()
2105 ret = x509_crt_verify_top( parent, grandparent, ca_crl, profile, in x509_crt_verify_child()
2113 for( grandparent = parent->next; in x509_crt_verify_child()
2126 if( x509_crt_check_parent( parent, grandparent, in x509_crt_verify_child()
2134 ret = x509_crt_verify_child( parent, grandparent, trust_ca, ca_crl, in x509_crt_verify_child()
2142 ret = x509_crt_verify_top( parent, trust_ca, ca_crl, profile, in x509_crt_verify_child()
2189 mbedtls_x509_crt *parent; in mbedtls_x509_crt_verify_with_profile() local
2261 for( parent = trust_ca; parent != NULL; parent = parent->next ) in mbedtls_x509_crt_verify_with_profile()
2263 if( x509_crt_check_parent( crt, parent, 0, pathlen == 0 ) == 0 ) in mbedtls_x509_crt_verify_with_profile()
2267 if( parent != NULL ) in mbedtls_x509_crt_verify_with_profile()
2269 ret = x509_crt_verify_top( crt, parent, ca_crl, profile, in mbedtls_x509_crt_verify_with_profile()
2277 for( parent = crt->next; parent != NULL; parent = parent->next ) in mbedtls_x509_crt_verify_with_profile()
2278 if( x509_crt_check_parent( crt, parent, 0, pathlen == 0 ) == 0 ) in mbedtls_x509_crt_verify_with_profile()
2282 if( parent != NULL ) in mbedtls_x509_crt_verify_with_profile()
2284 ret = x509_crt_verify_child( crt, parent, trust_ca, ca_crl, profile, in mbedtls_x509_crt_verify_with_profile()