Home
last modified time | relevance | path

Searched refs:profile (Results 1 – 8 of 8) sorted by relevance

/openthread-3.6.0/third_party/mbedtls/repo/programs/test/
Ddlopen.c90 const mbedtls_x509_crt_profile *profile = in main() local
94 X509_SO_FILENAME, (unsigned) profile->allowed_mds ); in main()
/openthread-3.6.0/third_party/mbedtls/repo/library/
Dx509_crt.c158 static int x509_profile_check_md_alg( const mbedtls_x509_crt_profile *profile, in x509_profile_check_md_alg() argument
164 if( ( profile->allowed_mds & MBEDTLS_X509_ID_FLAG( md_alg ) ) != 0 ) in x509_profile_check_md_alg()
174 static int x509_profile_check_pk_alg( const mbedtls_x509_crt_profile *profile, in x509_profile_check_pk_alg() argument
180 if( ( profile->allowed_pks & MBEDTLS_X509_ID_FLAG( pk_alg ) ) != 0 ) in x509_profile_check_pk_alg()
190 static int x509_profile_check_key( const mbedtls_x509_crt_profile *profile, in x509_profile_check_key() argument
198 if( mbedtls_pk_get_bitlen( pk ) >= profile->rsa_min_bitlen ) in x509_profile_check_key()
215 if( ( profile->allowed_curves & MBEDTLS_X509_ID_FLAG( gid ) ) != 0 ) in x509_profile_check_key()
2338 const mbedtls_x509_crt_profile *profile ) in x509_crt_verifycrl() argument
2371 if( x509_profile_check_md_alg( profile, crl_list->sig_md ) != 0 ) in x509_crt_verifycrl()
2374 if( x509_profile_check_pk_alg( profile, crl_list->sig_pk ) != 0 ) in x509_crt_verifycrl()
[all …]
Dssl_tls.c4300 const mbedtls_x509_crt_profile *profile ) in mbedtls_ssl_conf_cert_profile() argument
4302 conf->cert_profile = profile; in mbedtls_ssl_conf_cert_profile()
/openthread-3.6.0/third_party/mbedtls/repo/tests/suites/
Dtest_suite_x509parse.function19 /* Test-only profile allowing all digests, PK algorithms, and curves. */
29 profile. */
613 const mbedtls_x509_crt_profile *profile;
625 profile = &mbedtls_x509_crt_profile_default;
627 profile = &mbedtls_x509_crt_profile_next;
629 profile = &mbedtls_x509_crt_profile_suiteb;
631 profile = &compat_profile;
633 profile = &profile_all;
635 TEST_ASSERT( "Unknown algorithm profile" == 0 );
650 …res = mbedtls_x509_crt_verify_with_profile( &crt, &ca, &crl, profile, cn_name, &flags, f_vrfy, NUL…
[all …]
Dtest_suite_x509parse.data558 X509 CRT verification #14 (Valid Cert SHA1 Digest explicitly allowed in profile)
562 X509 CRT verification #14 (Valid Cert SHA1 Digest forbidden in default profile)
902 X509 CRT verification #96 (next profile Invalid Cert SHA224 Digest)
906 X509 CRT verification #97 (next profile Valid Cert SHA256 Digest)
2271 X509 CRT verify chain #11 (valid chain, missing profile)
2275 X509 CRT verify chain #12 (suiteb profile, RSA root)
2279 X509 CRT verify chain #13 (RSA only profile, EC root)
2283 X509 CRT verify chain #13 (RSA only profile, EC trusted EE)
2287 X509 CRT verify chain #14 (RSA-3072 profile, root key too small)
2291 X509 CRT verify chain #15 (suiteb profile, rsa intermediate)
[all …]
/openthread-3.6.0/third_party/mbedtls/repo/include/mbedtls/
Dx509_crt.h661 const mbedtls_x509_crt_profile *profile,
695 const mbedtls_x509_crt_profile *profile,
761 const mbedtls_x509_crt_profile *profile,
Dssl.h2705 const mbedtls_x509_crt_profile *profile );
3265 static inline const char *mbedtls_ssl_get_srtp_profile_as_string( mbedtls_ssl_srtp_profile profile ) in mbedtls_ssl_get_srtp_profile_as_string() argument
3267 switch( profile ) in mbedtls_ssl_get_srtp_profile_as_string()
/openthread-3.6.0/third_party/mbedtls/repo/
DChangeLog2629 size/curve against the profile. Before that, there was no way to set a
2704 * Made X509 profile pointer const in mbedtls_ssl_conf_cert_profile() to allow
2774 * Added a concept of X.509 cerificate verification profile that controls
3177 * Optimize for RAM usage in example config.h for NSA Suite B profile.