Home
last modified time | relevance | path

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

/mbedtls-3.6.0/programs/pkey/
Dkey_app.c202 mbedtls_rsa_context *rsa = mbedtls_pk_rsa(pk); in main()
259 mbedtls_rsa_context *rsa = mbedtls_pk_rsa(pk); in main()
Dgen_key.c315 ret = mbedtls_rsa_gen_key(mbedtls_pk_rsa(key), mbedtls_ctr_drbg_random, &ctr_drbg, in main()
348 mbedtls_rsa_context *rsa = mbedtls_pk_rsa(key); in main()
Drsa_verify_pss.c82 if ((ret = mbedtls_rsa_set_padding(mbedtls_pk_rsa(pk), in main()
Dkey_app_writer.c321 mbedtls_rsa_context *rsa = mbedtls_pk_rsa(key); in main()
374 mbedtls_rsa_context *rsa = mbedtls_pk_rsa(key); in main()
Drsa_sign_pss.c99 if ((ret = mbedtls_rsa_set_padding(mbedtls_pk_rsa(pk), in main()
/mbedtls-3.6.0/tests/suites/
Dtest_suite_pk.function92 return mbedtls_rsa_gen_key(mbedtls_pk_rsa(*pk),
583 TEST_ASSERT(mbedtls_pk_setup_rsa_alt(&alt, mbedtls_pk_rsa(prv),
633 rsa = mbedtls_pk_rsa(pk);
673 rsa = mbedtls_pk_rsa(pk);
953 rsa = mbedtls_pk_rsa(pk);
972 rsa = mbedtls_pk_rsa(pk);
1025 rsa = mbedtls_pk_rsa(pk);
1081 rsa = mbedtls_pk_rsa(pk);
1223 TEST_ASSERT(mbedtls_rsa_copy(&raw, mbedtls_pk_rsa(rsa)) == 0);
1311 TEST_ASSERT(mbedtls_rsa_gen_key(mbedtls_pk_rsa(pk),
[all …]
Dtest_suite_pkparse.function42 rsa = mbedtls_pk_rsa(ctx);
69 rsa = mbedtls_pk_rsa(ctx);
Dtest_suite_x509write.function443 mbedtls_pk_rsa(issuer_key),
/mbedtls-3.6.0/library/
Dpsa_crypto_rsa.c92 bits = PSA_BYTES_TO_BITS(mbedtls_rsa_get_len(mbedtls_pk_rsa(ctx))); in mbedtls_psa_rsa_load_representation()
97 status = psa_check_rsa_key_byte_aligned(mbedtls_pk_rsa(ctx)); in mbedtls_psa_rsa_load_representation()
104 *p_rsa = mbedtls_pk_rsa(ctx); in mbedtls_psa_rsa_load_representation()
Dpkparse.c921 ret = pk_get_rsapubkey(p, end, mbedtls_pk_rsa(*pk)); in mbedtls_pk_parse_subpubkey()
1377 if ((ret = pk_parse_key_pkcs1_der(mbedtls_pk_rsa(*pk), p, len)) != 0) { in pk_parse_key_pkcs8_unencrypted_der()
1562 (ret = pk_parse_key_pkcs1_der(mbedtls_pk_rsa(*pk), in mbedtls_pk_parse_key()
1704 pk_parse_key_pkcs1_der(mbedtls_pk_rsa(*pk), key, keylen) == 0) { in mbedtls_pk_parse_key()
1780 if ((ret = pk_get_rsapubkey(&p, p + pem.buflen, mbedtls_pk_rsa(*ctx))) != 0) { in mbedtls_pk_parse_public_key()
1828 ret = pk_get_rsapubkey(&p, p + keylen, mbedtls_pk_rsa(*ctx)); in mbedtls_pk_parse_public_key()
Dpkwrite.c117 mbedtls_rsa_context *rsa = mbedtls_pk_rsa(*pk); in pk_write_rsa_pubkey()
589 mbedtls_rsa_context *rsa = mbedtls_pk_rsa(*pk); in pk_write_rsa_der()
Dpk.c576 ret = mbedtls_rsa_rsassa_pss_verify_ext(mbedtls_pk_rsa(*ctx), in mbedtls_pk_verify_ext()
/mbedtls-3.6.0/programs/fuzz/
Dfuzz_pubkey.c31 rsa = mbedtls_pk_rsa(pk); in LLVMFuzzerTestOneInput()
Dfuzz_privkey.c59 rsa = mbedtls_pk_rsa(pk); in LLVMFuzzerTestOneInput()
/mbedtls-3.6.0/include/mbedtls/
Dpk.h797 static inline mbedtls_rsa_context *mbedtls_pk_rsa(const mbedtls_pk_context pk) in mbedtls_pk_rsa() function