Searched refs:MBEDTLS_PK_RSA (Results 1 – 15 of 15) sorted by relevance
| /optee_os/lib/libmbedtls/mbedtls/library/ |
| H A D | oid.c | 385 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 D | pk.c | 114 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 D | pkwrite.c | 407 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 D | pkparse.c | 503 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 D | x509write_csr.c | 239 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 D | x509write_crt.c | 452 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 D | pk_wrap.c | 54 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 D | ssl_ciphersuites.c | 1936 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 D | x509_crt.c | 215 if (pk_alg == MBEDTLS_PK_RSA || pk_alg == MBEDTLS_PK_RSASSA_PSS) { in x509_profile_check_key()
|
| H A D | ssl_tls.c | 6161 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 D | ssl_tls12_client.c | 1957 if (!mbedtls_pk_can_do(peer_pk, MBEDTLS_PK_RSA)) { in ssl_write_encrypted_pms()
|
| H A D | ssl_tls12_server.c | 3492 if (!mbedtls_pk_can_do(private_key, MBEDTLS_PK_RSA)) { in ssl_decrypt_encrypted_pms()
|
| /optee_os/lib/libmbedtls/mbedtls/include/mbedtls/ |
| H A D | pk.h | 75 MBEDTLS_PK_RSA, enumerator 1040 case MBEDTLS_PK_RSA: in mbedtls_pk_rsa()
|
| /optee_os/lib/libmbedtls/core/ |
| H A D | rsa.c | 482 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 D | pkcs11_attributes.c | 2713 pk_info = mbedtls_pk_info_from_type(MBEDTLS_PK_RSA); in encode_rsa_private_key_der()
|