Home
last modified time | relevance | path

Searched refs:mbedtls_rsa_gen_key (Results 1 – 12 of 12) sorted by relevance

/third_party/mbedtls/tests/suites/
Dtest_suite_rsa.data389 mbedtls_rsa_gen_key:128:3:0
392 mbedtls_rsa_gen_key:127:3:MBEDTLS_ERR_RSA_BAD_INPUT_DATA
395 mbedtls_rsa_gen_key:128:2:MBEDTLS_ERR_RSA_BAD_INPUT_DATA
398 mbedtls_rsa_gen_key:1024:3:0
401 mbedtls_rsa_gen_key:2048:3:0
404 # mbedtls_rsa_gen_key only supports even-sized keys
405 mbedtls_rsa_gen_key:1025:3:MBEDTLS_ERR_RSA_BAD_INPUT_DATA
Dtest_suite_pk.function42 return mbedtls_rsa_gen_key(mbedtls_pk_rsa(*pk),
1215 TEST_ASSERT(mbedtls_rsa_gen_key(mbedtls_pk_rsa(pk),
1376 …/* See the description of mbedtls_rsa_gen_key() for the description of the `parameter` argument. */
1398 TEST_EQUAL(mbedtls_rsa_gen_key(mbedtls_pk_rsa(pk),
Dtest_suite_rsa.function731 void mbedtls_rsa_gen_key(int nrbits, int exponent, int result)
738 TEST_ASSERT(mbedtls_rsa_gen_key(&ctx, mbedtls_test_rnd_std_rand, NULL, nrbits,
/third_party/mbedtls/programs/pkey/
Drsa_genkey.c84 if ((ret = mbedtls_rsa_gen_key(&rsa, mbedtls_ctr_drbg_random, &ctr_drbg, KEY_SIZE, in main()
Dgen_key.c315 ret = mbedtls_rsa_gen_key(mbedtls_pk_rsa(key), mbedtls_ctr_drbg_random, &ctr_drbg, in main()
/third_party/mbedtls/include/mbedtls/
Drsa.h463 int mbedtls_rsa_gen_key(mbedtls_rsa_context *ctx,
/third_party/libwebsockets/lib/tls/mbedtls/
Dmbedtls-server.c637 n = mbedtls_rsa_gen_key(mbedtls_pk_rsa(mpk), _rngf, context, in lws_tls_acme_sni_csr_create()
Dlws-genrsa.c154 n = mbedtls_rsa_gen_key(ctx->ctx, _rngf, context, (unsigned int)bits, 65537);
/third_party/mbedtls/library/
Dpsa_crypto_rsa.c288 ret = mbedtls_rsa_gen_key(&rsa, in mbedtls_psa_rsa_generate_key()
Drsa.c538 int mbedtls_rsa_gen_key(mbedtls_rsa_context *ctx, in mbedtls_rsa_gen_key() function
/third_party/mbedtls/programs/test/
Dbenchmark.c957 mbedtls_rsa_gen_key(&rsa, myrand, NULL, keysize, 65537); in main()
/third_party/mbedtls/
DChangeLog1251 is not defined PSA will no longer attempt to use mbedtls_rsa_gen_key().
1436 * Fix a resource leak in a bad-arguments case of mbedtls_rsa_gen_key()