/third_party/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 | 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 | pk.c | 118 case MBEDTLS_PK_RSA: in mbedtls_pk_info_from_type() 289 type = MBEDTLS_PK_RSA; in mbedtls_pk_can_do_ext() 304 case MBEDTLS_PK_RSA: in mbedtls_pk_can_do_ext() 426 case MBEDTLS_PK_RSA: in mbedtls_pk_get_psa_attributes() 651 case MBEDTLS_PK_RSA: in import_pair_into_psa() 755 case MBEDTLS_PK_RSA: in import_public_into_psa() 908 ret = mbedtls_pk_setup(pk, mbedtls_pk_info_from_type(MBEDTLS_PK_RSA)); in copy_from_psa() 1131 if (mbedtls_pk_get_type(ctx) != MBEDTLS_PK_RSA) { in mbedtls_pk_verify_ext() 1461 if (pub->pk_info->type != MBEDTLS_PK_RSA) { in mbedtls_pk_check_pair()
|
H A D | pkwrite.c | 399 return MBEDTLS_PK_RSA; in pk_get_type_ext() 418 if (mbedtls_pk_get_type(key) == MBEDTLS_PK_RSA) { in mbedtls_pk_write_pubkey() 515 if (pk_get_type_ext(key) == MBEDTLS_PK_RSA) { in mbedtls_pk_write_key_der() 587 if (pk_get_type_ext(key) == MBEDTLS_PK_RSA) { in mbedtls_pk_write_key_pem()
|
H A D | x509write_csr.c | 234 if (mbedtls_pk_can_do(ctx->key, MBEDTLS_PK_RSA)) { in x509write_csr_der_internal() 235 pk_alg = MBEDTLS_PK_RSA; in x509write_csr_der_internal()
|
H A D | x509write_crt.c | 446 if (mbedtls_pk_can_do(ctx->issuer_key, MBEDTLS_PK_RSA)) { in mbedtls_x509write_crt_der() 447 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 | 213 if (pk_alg == MBEDTLS_PK_RSA || pk_alg == MBEDTLS_PK_RSASSA_PSS) { in x509_profile_check_key()
|
H A D | ssl_tls.c | 6072 if (mbedtls_pk_can_do(pk, MBEDTLS_PK_RSA)) { in mbedtls_ssl_sig_from_pk() 6087 case MBEDTLS_PK_RSA: in mbedtls_ssl_sig_from_pk_alg() 6102 return MBEDTLS_PK_RSA; in mbedtls_ssl_pk_alg_from_sig()
|
H A D | ssl_tls12_server.c | 3507 if (!mbedtls_pk_can_do(private_key, MBEDTLS_PK_RSA)) { in ssl_decrypt_encrypted_pms()
|
/third_party/mbedtls/programs/pkey/ |
H A D | gen_key.c | 92 #define DFL_TYPE MBEDTLS_PK_RSA 296 opt.type = MBEDTLS_PK_RSA; in main() 376 if (opt.type == MBEDTLS_PK_RSA) { in main() 409 if (mbedtls_pk_get_type(&key) == MBEDTLS_PK_RSA) { in main()
|
H A D | rsa_sign_pss.c | 94 if (!mbedtls_pk_can_do(&pk, MBEDTLS_PK_RSA)) { in main()
|
H A D | rsa_verify_pss.c | 77 if (!mbedtls_pk_can_do(&pk, MBEDTLS_PK_RSA)) { in main()
|
H A D | key_app_writer.c | 382 if (mbedtls_pk_get_type(&key) == MBEDTLS_PK_RSA) { in main() 434 if (mbedtls_pk_get_type(&key) == MBEDTLS_PK_RSA) { in main()
|
H A D | key_app.c | 266 if (mbedtls_pk_get_type(&pk) == MBEDTLS_PK_RSA) { in main() 316 if (mbedtls_pk_get_type(&pk) == MBEDTLS_PK_RSA) { in main()
|
/third_party/libwebsockets/lib/tls/mbedtls/ |
H A D | mbedtls-x509.c | 139 case MBEDTLS_PK_RSA: in lws_tls_mbedtls_cert_info() 391 case MBEDTLS_PK_RSA: in lws_x509_public_to_jwk() 480 case MBEDTLS_PK_RSA: in lws_x509_jwk_privkey_pem()
|
H A D | mbedtls-server.c | 628 if (mbedtls_pk_setup(&mpk, mbedtls_pk_info_from_type(MBEDTLS_PK_RSA))) { in lws_tls_acme_sni_csr_create()
|
/third_party/mbedtls/programs/fuzz/ |
H A D | fuzz_pubkey.c | 21 if (mbedtls_pk_get_type(&pk) == MBEDTLS_PK_RSA) { in LLVMFuzzerTestOneInput()
|
H A D | fuzz_privkey.c | 49 if (mbedtls_pk_get_type(&pk) == MBEDTLS_PK_RSA) { in LLVMFuzzerTestOneInput()
|
/third_party/mbedtls/include/mbedtls/ |
H A D | pk.h | 75 MBEDTLS_PK_RSA, enumerator 555 * - #MBEDTLS_PK_RSA whose underlying 562 * - #MBEDTLS_PK_RSA whose underlying 650 * - #MBEDTLS_PK_RSA for RSA keys or 685 * - #MBEDTLS_PK_RSA for RSA keys or 731 * \note For keys of type #MBEDTLS_PK_RSA, the signature algorithm is 828 * \note For keys of type #MBEDTLS_PK_RSA, the signature algorithm is 932 * \note For keys of type #MBEDTLS_PK_RSA, the signature algorithm is 956 * \note For keys of type #MBEDTLS_PK_RSA, the signature algorithm is 1023 * returned by mbedtls_pk_get_type(), is #MBEDTLS_PK_RSA [all...] |
/third_party/mbedtls/programs/ssl/ |
H A D | ssl_test_lib.c | 266 } else if (key_type == MBEDTLS_PK_RSA) { in key_opaque_set_alg_usage()
|
/third_party/mbedtls/tests/src/test_helpers/ |
H A D | ssl_helpers.c | 60 opts->pk_alg = MBEDTLS_PK_RSA; in mbedtls_test_init_handshake_options() 629 if (pk_alg == MBEDTLS_PK_RSA) { in mbedtls_test_ssl_endpoint_certificate_init() 657 if (pk_alg == MBEDTLS_PK_RSA) { in mbedtls_test_ssl_endpoint_certificate_init()
|
/third_party/curl/lib/vtls/ |
H A D | mbedtls.c | 527 if(ret == 0 && !(mbedtls_pk_can_do(&backend->pk, MBEDTLS_PK_RSA) || in mbed_connect_step1()
|
/third_party/mbedtls/tests/src/ |
H A D | psa_exercise_key.c | 1264 case MBEDTLS_PK_RSA: in mbedtls_test_key_consistency_psa_pk()
|