Searched refs:mbedtls_pk_rsa (Results 1 – 17 of 17) sorted by relevance
/third_party/mbedtls/tests/suites/ |
D | test_suite_pkparse.function | 36 rsa = mbedtls_pk_rsa(ctx); 62 rsa = mbedtls_pk_rsa(ctx);
|
D | test_suite_pk.function | 42 return mbedtls_rsa_gen_key(mbedtls_pk_rsa(*pk), 504 TEST_ASSERT(mbedtls_pk_setup_rsa_alt(&alt, mbedtls_pk_rsa(prv), 543 rsa = mbedtls_pk_rsa(pk); 583 rsa = mbedtls_pk_rsa(pk); 858 rsa = mbedtls_pk_rsa(pk); 877 rsa = mbedtls_pk_rsa(pk); 932 rsa = mbedtls_pk_rsa(pk); 989 rsa = mbedtls_pk_rsa(pk); 1127 TEST_ASSERT(mbedtls_rsa_copy(&raw, mbedtls_pk_rsa(rsa)) == 0); 1215 TEST_ASSERT(mbedtls_rsa_gen_key(mbedtls_pk_rsa(pk), [all …]
|
D | test_suite_x509write.function | 380 mbedtls_pk_rsa(issuer_key),
|
/third_party/mbedtls/library/ |
D | pkparse.c | 657 ret = pk_get_rsapubkey(p, end, mbedtls_pk_rsa(*pk)); in mbedtls_pk_parse_subpubkey() 1079 if ((ret = pk_parse_key_pkcs1_der(mbedtls_pk_rsa(*pk), p, len)) != 0) { in pk_parse_key_pkcs8_unencrypted_der() 1244 (ret = pk_parse_key_pkcs1_der(mbedtls_pk_rsa(*pk), in mbedtls_pk_parse_key() 1387 pk_parse_key_pkcs1_der(mbedtls_pk_rsa(*pk), key, keylen) == 0) { in mbedtls_pk_parse_key() 1463 if ((ret = pk_get_rsapubkey(&p, p + pem.buflen, mbedtls_pk_rsa(*ctx))) != 0) { in mbedtls_pk_parse_public_key() 1511 ret = pk_get_rsapubkey(&p, p + keylen, mbedtls_pk_rsa(*ctx)); in mbedtls_pk_parse_public_key()
|
D | psa_crypto_rsa.c | 103 bits = PSA_BYTES_TO_BITS(mbedtls_rsa_get_len(mbedtls_pk_rsa(ctx))); in mbedtls_psa_rsa_load_representation() 108 status = psa_check_rsa_key_byte_aligned(mbedtls_pk_rsa(ctx)); in mbedtls_psa_rsa_load_representation() 115 *p_rsa = mbedtls_pk_rsa(ctx); in mbedtls_psa_rsa_load_representation()
|
D | pkwrite.c | 180 MBEDTLS_ASN1_CHK_ADD(len, pk_write_rsa_pubkey(p, start, mbedtls_pk_rsa(*key))); in mbedtls_pk_write_pubkey() 324 mbedtls_rsa_context *rsa = mbedtls_pk_rsa(*key); in mbedtls_pk_write_key_der()
|
D | pk.c | 580 ret = mbedtls_rsa_rsassa_pss_verify_ext(mbedtls_pk_rsa(*ctx), in mbedtls_pk_verify_ext()
|
/third_party/mbedtls/programs/pkey/ |
D | key_app.c | 205 mbedtls_rsa_context *rsa = mbedtls_pk_rsa(pk); in main() 262 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 | 84 if ((ret = mbedtls_rsa_set_padding(mbedtls_pk_rsa(pk), in main()
|
D | key_app_writer.c | 320 mbedtls_rsa_context *rsa = mbedtls_pk_rsa(key); in main() 373 mbedtls_rsa_context *rsa = mbedtls_pk_rsa(key); in main()
|
D | rsa_sign_pss.c | 101 if ((ret = mbedtls_rsa_set_padding(mbedtls_pk_rsa(pk), in main()
|
/third_party/libwebsockets/lib/tls/mbedtls/ |
D | mbedtls-x509.c | 141 mbedtls_rsa_context *rsa = mbedtls_pk_rsa(x509->MBEDTLS_PRIVATE_V30_ONLY(pk)); in lws_tls_mbedtls_cert_info() 394 rsactx = mbedtls_pk_rsa(x509->cert.MBEDTLS_PRIVATE_V30_ONLY(pk)); in lws_x509_public_to_jwk() 485 rsactx = mbedtls_pk_rsa(pk); in lws_x509_jwk_privkey_pem()
|
D | mbedtls-server.c | 633 n = mbedtls_rsa_gen_key(mbedtls_pk_rsa(mpk), _rngf, context, in lws_tls_acme_sni_csr_create()
|
/third_party/mbedtls/programs/fuzz/ |
D | fuzz_pubkey.c | 25 rsa = mbedtls_pk_rsa(pk); in LLVMFuzzerTestOneInput()
|
D | fuzz_privkey.c | 52 rsa = mbedtls_pk_rsa(pk); in LLVMFuzzerTestOneInput()
|
/third_party/mbedtls/include/mbedtls/ |
D | pk.h | 758 static inline mbedtls_rsa_context *mbedtls_pk_rsa(const mbedtls_pk_context pk) in mbedtls_pk_rsa() function
|