Searched refs:mbedtls_pk_rsa (Results 1 – 15 of 15) sorted by relevance
/mbedtls-3.6.0/programs/pkey/ |
D | key_app.c | 202 mbedtls_rsa_context *rsa = mbedtls_pk_rsa(pk); in main() 259 mbedtls_rsa_context *rsa = mbedtls_pk_rsa(pk); in main()
|
D | gen_key.c | 315 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()
|
D | rsa_verify_pss.c | 82 if ((ret = mbedtls_rsa_set_padding(mbedtls_pk_rsa(pk), in main()
|
D | key_app_writer.c | 321 mbedtls_rsa_context *rsa = mbedtls_pk_rsa(key); in main() 374 mbedtls_rsa_context *rsa = mbedtls_pk_rsa(key); in main()
|
D | rsa_sign_pss.c | 99 if ((ret = mbedtls_rsa_set_padding(mbedtls_pk_rsa(pk), in main()
|
/mbedtls-3.6.0/tests/suites/ |
D | test_suite_pk.function | 92 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 …]
|
D | test_suite_pkparse.function | 42 rsa = mbedtls_pk_rsa(ctx); 69 rsa = mbedtls_pk_rsa(ctx);
|
D | test_suite_x509write.function | 443 mbedtls_pk_rsa(issuer_key),
|
/mbedtls-3.6.0/library/ |
D | psa_crypto_rsa.c | 92 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()
|
D | pkparse.c | 921 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()
|
D | pkwrite.c | 117 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()
|
D | pk.c | 576 ret = mbedtls_rsa_rsassa_pss_verify_ext(mbedtls_pk_rsa(*ctx), in mbedtls_pk_verify_ext()
|
/mbedtls-3.6.0/programs/fuzz/ |
D | fuzz_pubkey.c | 31 rsa = mbedtls_pk_rsa(pk); in LLVMFuzzerTestOneInput()
|
D | fuzz_privkey.c | 59 rsa = mbedtls_pk_rsa(pk); in LLVMFuzzerTestOneInput()
|
/mbedtls-3.6.0/include/mbedtls/ |
D | pk.h | 797 static inline mbedtls_rsa_context *mbedtls_pk_rsa(const mbedtls_pk_context pk) in mbedtls_pk_rsa() function
|