Home
last modified time | relevance | path

Searched refs:MBEDTLS_PK_RSA (Results 1 – 15 of 15) sorted by relevance

/optee_os/lib/libmbedtls/mbedtls/library/
H A Doid.c385 MBEDTLS_MD_MD5, MBEDTLS_PK_RSA,
391 MBEDTLS_MD_SHA1, MBEDTLS_PK_RSA,
398 MBEDTLS_MD_SHA224, MBEDTLS_PK_RSA,
405 MBEDTLS_MD_SHA256, MBEDTLS_PK_RSA,
412 MBEDTLS_MD_SHA384, MBEDTLS_PK_RSA,
419 MBEDTLS_MD_SHA512, MBEDTLS_PK_RSA,
425 MBEDTLS_MD_SHA1, MBEDTLS_PK_RSA,
510 MBEDTLS_PK_RSA,
H A Dpk.c114 case MBEDTLS_PK_RSA: in mbedtls_pk_info_from_type()
285 type = MBEDTLS_PK_RSA; in mbedtls_pk_can_do_ext()
300 case MBEDTLS_PK_RSA: in mbedtls_pk_can_do_ext()
422 case MBEDTLS_PK_RSA: in mbedtls_pk_get_psa_attributes()
647 case MBEDTLS_PK_RSA: in import_pair_into_psa()
751 case MBEDTLS_PK_RSA: in import_public_into_psa()
902 ret = mbedtls_pk_setup(pk, mbedtls_pk_info_from_type(MBEDTLS_PK_RSA)); in copy_from_psa()
1127 if (mbedtls_pk_get_type(ctx) != MBEDTLS_PK_RSA) { in mbedtls_pk_verify_ext()
1433 if (pub->pk_info->type != MBEDTLS_PK_RSA) { in mbedtls_pk_check_pair()
H A Dpkwrite.c407 return MBEDTLS_PK_RSA; in pk_get_type_ext()
426 if (mbedtls_pk_get_type(key) == MBEDTLS_PK_RSA) { in mbedtls_pk_write_pubkey()
523 if (pk_get_type_ext(key) == MBEDTLS_PK_RSA) { in mbedtls_pk_write_key_der()
595 if (pk_get_type_ext(key) == MBEDTLS_PK_RSA) { in mbedtls_pk_write_key_pem()
H A Dpkparse.c503 if (*pk_alg == MBEDTLS_PK_RSA && in pk_get_pk_alg()
556 if (pk_alg == MBEDTLS_PK_RSA) { in mbedtls_pk_parse_subpubkey()
814 if (pk_alg == MBEDTLS_PK_RSA) { in pk_parse_key_pkcs8_unencrypted_der()
1003 pk_info = mbedtls_pk_info_from_type(MBEDTLS_PK_RSA); in mbedtls_pk_parse_key()
1144 pk_info = mbedtls_pk_info_from_type(MBEDTLS_PK_RSA); in mbedtls_pk_parse_key()
1211 if ((pk_info = mbedtls_pk_info_from_type(MBEDTLS_PK_RSA)) == NULL) { in mbedtls_pk_parse_public_key()
1259 if ((pk_info = mbedtls_pk_info_from_type(MBEDTLS_PK_RSA)) == NULL) { in mbedtls_pk_parse_public_key()
H A Dx509write_csr.c239 if (mbedtls_pk_can_do(ctx->key, MBEDTLS_PK_RSA)) { in x509write_csr_der_internal()
240 pk_alg = MBEDTLS_PK_RSA; in x509write_csr_der_internal()
H A Dx509write_crt.c452 if (mbedtls_pk_can_do(ctx->issuer_key, MBEDTLS_PK_RSA)) { in mbedtls_x509write_crt_der()
453 pk_alg = MBEDTLS_PK_RSA; in mbedtls_x509write_crt_der()
H A Dpk_wrap.c54 return type == MBEDTLS_PK_RSA || in rsa_can_do()
493 .type = MBEDTLS_PK_RSA,
1281 return type == MBEDTLS_PK_RSA; in rsa_alt_can_do()
1462 return type == MBEDTLS_PK_RSA || in rsa_opaque_can_do()
H A Dssl_ciphersuites.c1936 return MBEDTLS_PK_RSA; in mbedtls_ssl_get_ciphersuite_sig_pk_alg()
2000 return MBEDTLS_PK_RSA; in mbedtls_ssl_get_ciphersuite_sig_alg()
H A Dx509_crt.c215 if (pk_alg == MBEDTLS_PK_RSA || pk_alg == MBEDTLS_PK_RSASSA_PSS) { in x509_profile_check_key()
H A Dssl_tls.c6161 if (mbedtls_pk_can_do(pk, MBEDTLS_PK_RSA)) { in mbedtls_ssl_sig_from_pk()
6176 case MBEDTLS_PK_RSA: in mbedtls_ssl_sig_from_pk_alg()
6191 return MBEDTLS_PK_RSA; in mbedtls_ssl_pk_alg_from_sig()
H A Dssl_tls12_client.c1957 if (!mbedtls_pk_can_do(peer_pk, MBEDTLS_PK_RSA)) { in ssl_write_encrypted_pms()
H A Dssl_tls12_server.c3492 if (!mbedtls_pk_can_do(private_key, MBEDTLS_PK_RSA)) { in ssl_decrypt_encrypted_pms()
/optee_os/lib/libmbedtls/mbedtls/include/mbedtls/
H A Dpk.h75 MBEDTLS_PK_RSA, enumerator
1040 case MBEDTLS_PK_RSA: in mbedtls_pk_rsa()
/optee_os/lib/libmbedtls/core/
H A Drsa.c482 pk_info = mbedtls_pk_info_from_type(MBEDTLS_PK_RSA); in sw_crypto_acipher_rsaes_decrypt()
590 pk_info = mbedtls_pk_info_from_type(MBEDTLS_PK_RSA); in sw_crypto_acipher_rsaes_encrypt()
675 pk_info = mbedtls_pk_info_from_type(MBEDTLS_PK_RSA); in sw_crypto_acipher_rsassa_sign()
788 pk_info = mbedtls_pk_info_from_type(MBEDTLS_PK_RSA); in sw_crypto_acipher_rsassa_verify()
/optee_os/ta/pkcs11/src/
H A Dpkcs11_attributes.c2713 pk_info = mbedtls_pk_info_from_type(MBEDTLS_PK_RSA); in encode_rsa_private_key_der()