Searched refs:mbedtls_pk_can_do (Results 1 – 9 of 9) sorted by relevance
/optee_os-3.20.0/lib/libmbedtls/mbedtls/library/ |
A D | x509write_csr.c | 243 if( mbedtls_pk_can_do( ctx->key, MBEDTLS_PK_RSA ) ) in x509write_csr_der_internal() 245 else if( mbedtls_pk_can_do( ctx->key, MBEDTLS_PK_ECDSA ) ) in x509write_csr_der_internal()
|
A D | x509write_crt.c | 348 if( mbedtls_pk_can_do( ctx->issuer_key, MBEDTLS_PK_RSA ) ) in mbedtls_x509write_crt_der() 350 else if( mbedtls_pk_can_do( ctx->issuer_key, MBEDTLS_PK_ECDSA ) ) in mbedtls_x509write_crt_der()
|
A D | pk.c | 220 int mbedtls_pk_can_do( const mbedtls_pk_context *ctx, mbedtls_pk_type_t type ) in mbedtls_pk_can_do() function 350 if( ! mbedtls_pk_can_do( ctx, type ) ) in mbedtls_pk_verify_ext()
|
A D | ssl_cli.c | 2927 if( ! mbedtls_pk_can_do( peer_pk, MBEDTLS_PK_RSA ) ) in ssl_write_encrypted_pms() 3053 if( ! mbedtls_pk_can_do( peer_pk, MBEDTLS_PK_ECKEY ) ) in ssl_get_ecdh_params_from_cert() 3442 if( !mbedtls_pk_can_do( peer_pk, pk_alg ) ) in ssl_parse_server_key_exchange() 4265 if( mbedtls_pk_can_do( mbedtls_ssl_own_key( ssl ), MBEDTLS_PK_ECDSA ) ) in ssl_write_certificate_verify()
|
A D | ssl_srv.c | 981 if( ! mbedtls_pk_can_do( &cur->cert->pk, pk_alg ) ) in ssl_pick_cert() 3978 if( ! mbedtls_pk_can_do( private_key, MBEDTLS_PK_RSA ) ) in ssl_decrypt_encrypted_pms() 4562 if( mbedtls_pk_can_do( peer_pk, MBEDTLS_PK_ECDSA ) ) in ssl_parse_certificate_verify() 4617 if( !mbedtls_pk_can_do( peer_pk, pk_alg ) ) in ssl_parse_certificate_verify()
|
A D | ssl_tls.c | 2721 if( mbedtls_pk_can_do( pk, MBEDTLS_PK_ECKEY ) && in ssl_parse_certificate_verify() 7183 if( mbedtls_pk_can_do( pk, MBEDTLS_PK_RSA ) ) in mbedtls_ssl_sig_from_pk() 7187 if( mbedtls_pk_can_do( pk, MBEDTLS_PK_ECDSA ) ) in mbedtls_ssl_sig_from_pk()
|
A D | x509_crt.c | 2460 if( ! mbedtls_pk_can_do( &parent->pk, child->sig_pk ) ) in x509_crt_check_signature()
|
/optee_os-3.20.0/lib/libmbedtls/mbedtls/include/mbedtls/ |
A D | pk.h | 387 int mbedtls_pk_can_do( const mbedtls_pk_context *ctx, mbedtls_pk_type_t type );
|
A D | compat-1.3.h | 2128 #define pk_can_do mbedtls_pk_can_do
|
Completed in 46 milliseconds