Home
last modified time | relevance | path

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

/optee_os-3.20.0/lib/libmbedtls/mbedtls/library/
A Dx509write_csr.c243 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 Dx509write_crt.c348 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 Dpk.c220 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 Dssl_cli.c2927 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 Dssl_srv.c981 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 Dssl_tls.c2721 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 Dx509_crt.c2460 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 Dpk.h387 int mbedtls_pk_can_do( const mbedtls_pk_context *ctx, mbedtls_pk_type_t type );
A Dcompat-1.3.h2128 #define pk_can_do mbedtls_pk_can_do

Completed in 46 milliseconds