Home
last modified time | relevance | path

Searched refs:mbedtls_pk_can_do (Results 1 – 13 of 13) sorted by relevance

/net-tools-3.7.0/mbedtls-2.4.0/tests/suites/
Dtest_suite_pkparse.function31 TEST_ASSERT( mbedtls_pk_can_do( &ctx, MBEDTLS_PK_RSA ) );
56 TEST_ASSERT( mbedtls_pk_can_do( &ctx, MBEDTLS_PK_RSA ) );
81 TEST_ASSERT( mbedtls_pk_can_do( &ctx, MBEDTLS_PK_ECKEY ) );
106 TEST_ASSERT( mbedtls_pk_can_do( &ctx, MBEDTLS_PK_ECKEY ) );
Dtest_suite_pk.function77 TEST_ASSERT( mbedtls_pk_can_do( &pk, type ) );
238 TEST_ASSERT( mbedtls_pk_can_do( &pk, MBEDTLS_PK_ECDSA ) );
455 TEST_ASSERT( mbedtls_pk_can_do( &alt, MBEDTLS_PK_RSA ) );
/net-tools-3.7.0/mbedtls-2.4.0/programs/pkey/
Drsa_verify_pss.c92 if( !mbedtls_pk_can_do( &pk, MBEDTLS_PK_RSA ) ) in main()
Drsa_sign_pss.c110 if( !mbedtls_pk_can_do( &pk, MBEDTLS_PK_RSA ) ) in main()
/net-tools-3.7.0/mbedtls-2.4.0/library/
Dpk.c148 int mbedtls_pk_can_do( const mbedtls_pk_context *ctx, mbedtls_pk_type_t type ) in mbedtls_pk_can_do() function
203 if( ! mbedtls_pk_can_do( ctx, type ) ) in mbedtls_pk_verify_ext()
Dssl_srv.c636 if( ! mbedtls_pk_can_do( cur->key, pk_alg ) ) in ssl_pick_cert()
2647 if( ! mbedtls_pk_can_do( mbedtls_ssl_own_key( ssl ), MBEDTLS_PK_ECKEY ) )
3122 if( ! mbedtls_pk_can_do( mbedtls_ssl_own_key( ssl ), MBEDTLS_PK_RSA ) )
3625 if( mbedtls_pk_can_do( &ssl->session_negotiate->peer_cert->pk,
3681 if( ! mbedtls_pk_can_do( &ssl->session_negotiate->peer_cert->pk, pk_alg ) )
Dssl_cli.c2056 if( ! mbedtls_pk_can_do( &ssl->session_negotiate->peer_cert->pk,
2165 if( ! mbedtls_pk_can_do( &ssl->session_negotiate->peer_cert->pk,
2496 if( ! mbedtls_pk_can_do( &ssl->session_negotiate->peer_cert->pk, pk_alg ) )
3085 if( mbedtls_pk_can_do( mbedtls_ssl_own_key( ssl ), MBEDTLS_PK_ECDSA ) )
Dssl_tls.c4466 if( mbedtls_pk_can_do( pk, MBEDTLS_PK_ECKEY ) && in mbedtls_ssl_parse_certificate()
7359 if( mbedtls_pk_can_do( pk, MBEDTLS_PK_RSA ) ) in mbedtls_ssl_sig_from_pk()
7363 if( mbedtls_pk_can_do( pk, MBEDTLS_PK_ECDSA ) ) in mbedtls_ssl_sig_from_pk()
/net-tools-3.7.0/mbedtls-2.4.0/programs/test/
Dssl_cert_test.c210 if( ! mbedtls_pk_can_do( &clicert.pk, MBEDTLS_PK_RSA ) ) in main()
/net-tools-3.7.0/mbedtls-2.4.0/include/mbedtls/
Dpk.h257 int mbedtls_pk_can_do( const mbedtls_pk_context *ctx, mbedtls_pk_type_t type );
Dcompat-1.3.h2195 #define pk_can_do mbedtls_pk_can_do
/net-tools-3.7.0/mbedtls-2.4.0/programs/x509/
Dcert_write.c500 if( !mbedtls_pk_can_do( &issuer_crt.pk, MBEDTLS_PK_RSA ) || in main()
/net-tools-3.7.0/mbedtls-2.4.0/scripts/data_files/
Drename-1.3-2.0.txt1738 pk_can_do mbedtls_pk_can_do