Home
last modified time | relevance | path

Searched refs:MBEDTLS_PK_RSA (Results 1 - 25 of 26) sorted by relevance

12

/third_party/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 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 Dpk.c118 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 Dpkwrite.c399 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 Dx509write_csr.c234 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 Dx509write_crt.c446 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 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.c213 if (pk_alg == MBEDTLS_PK_RSA || pk_alg == MBEDTLS_PK_RSASSA_PSS) { in x509_profile_check_key()
H A Dssl_tls.c6072 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 Dssl_tls12_server.c3507 if (!mbedtls_pk_can_do(private_key, MBEDTLS_PK_RSA)) { in ssl_decrypt_encrypted_pms()
/third_party/mbedtls/programs/pkey/
H A Dgen_key.c92 #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 Drsa_sign_pss.c94 if (!mbedtls_pk_can_do(&pk, MBEDTLS_PK_RSA)) { in main()
H A Drsa_verify_pss.c77 if (!mbedtls_pk_can_do(&pk, MBEDTLS_PK_RSA)) { in main()
H A Dkey_app_writer.c382 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 Dkey_app.c266 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 Dmbedtls-x509.c139 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 Dmbedtls-server.c628 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 Dfuzz_pubkey.c21 if (mbedtls_pk_get_type(&pk) == MBEDTLS_PK_RSA) { in LLVMFuzzerTestOneInput()
H A Dfuzz_privkey.c49 if (mbedtls_pk_get_type(&pk) == MBEDTLS_PK_RSA) { in LLVMFuzzerTestOneInput()
/third_party/mbedtls/include/mbedtls/
H A Dpk.h75 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 Dssl_test_lib.c266 } else if (key_type == MBEDTLS_PK_RSA) { in key_opaque_set_alg_usage()
/third_party/mbedtls/tests/src/test_helpers/
H A Dssl_helpers.c60 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 Dmbedtls.c527 if(ret == 0 && !(mbedtls_pk_can_do(&backend->pk, MBEDTLS_PK_RSA) || in mbed_connect_step1()
/third_party/mbedtls/tests/src/
H A Dpsa_exercise_key.c1264 case MBEDTLS_PK_RSA: in mbedtls_test_key_consistency_psa_pk()

Completed in 44 milliseconds

12