Home
last modified time | relevance | path

Searched refs:mbedtls_rsa_set_padding (Results 1 – 11 of 11) sorted by relevance

/third_party/mbedtls/tests/suites/
Dtest_suite_pkcs1_v21.function28 TEST_ASSERT(mbedtls_rsa_set_padding(&ctx,
76 TEST_ASSERT(mbedtls_rsa_set_padding(&ctx,
140 TEST_ASSERT(mbedtls_rsa_set_padding(&ctx,
196 TEST_ASSERT(mbedtls_rsa_set_padding(&ctx,
232 TEST_ASSERT(mbedtls_rsa_set_padding(&ctx,
Dtest_suite_rsa.function24 TEST_EQUAL(mbedtls_rsa_set_padding(&ctx,
29 TEST_EQUAL(mbedtls_rsa_set_padding(&ctx,
57 TEST_EQUAL(mbedtls_rsa_set_padding(&ctx,
90 TEST_EQUAL(mbedtls_rsa_set_padding(&ctx,
175 TEST_ASSERT(mbedtls_rsa_set_padding(&ctx, padding_mode,
219 TEST_ASSERT(mbedtls_rsa_set_padding(&ctx, padding_mode,
254 TEST_ASSERT(mbedtls_rsa_set_padding(&ctx, padding_mode,
301 TEST_ASSERT(mbedtls_rsa_set_padding(&ctx, padding_mode,
337 TEST_ASSERT(mbedtls_rsa_set_padding(&ctx, padding_mode,
378 TEST_ASSERT(mbedtls_rsa_set_padding(&ctx, padding_mode,
[all …]
Dtest_suite_pkcs1_v15.function35 TEST_ASSERT(mbedtls_rsa_set_padding(&ctx,
84 TEST_ASSERT(mbedtls_rsa_set_padding(&ctx,
289 TEST_ASSERT(mbedtls_rsa_set_padding(&ctx,
335 TEST_ASSERT(mbedtls_rsa_set_padding(&ctx,
/third_party/mbedtls/library/
Dpsa_crypto_rsa.c374 ret = mbedtls_rsa_set_padding(rsa, MBEDTLS_RSA_PKCS_V15, in mbedtls_psa_rsa_sign_hash()
389 ret = mbedtls_rsa_set_padding(rsa, MBEDTLS_RSA_PKCS_V21, md_alg); in mbedtls_psa_rsa_sign_hash()
473 ret = mbedtls_rsa_set_padding(rsa, MBEDTLS_RSA_PKCS_V15, in mbedtls_psa_rsa_verify_hash()
486 ret = mbedtls_rsa_set_padding(rsa, MBEDTLS_RSA_PKCS_V21, md_alg); in mbedtls_psa_rsa_verify_hash()
532 return mbedtls_rsa_set_padding(rsa, MBEDTLS_RSA_PKCS_V21, md_alg); in psa_rsa_oaep_set_padding_mode()
Drsa.c473 int mbedtls_rsa_set_padding(mbedtls_rsa_context *ctx, int padding, in mbedtls_rsa_set_padding() function
/third_party/mbedtls/programs/pkey/
Drsa_verify_pss.c84 if ((ret = mbedtls_rsa_set_padding(mbedtls_pk_rsa(pk), in main()
Drsa_sign_pss.c101 if ((ret = mbedtls_rsa_set_padding(mbedtls_pk_rsa(pk), in main()
/third_party/libwebsockets/lib/tls/mbedtls/
Dlws-genrsa.c64 mbedtls_rsa_set_padding(ctx->ctx, mode_map[mode], 0);
151 mbedtls_rsa_set_padding(ctx->ctx, mode_map[mode], 0);
/third_party/mbedtls/include/mbedtls/
Drsa.h181 int mbedtls_rsa_set_padding(mbedtls_rsa_context *ctx, int padding,
/third_party/mbedtls/docs/
D3.0-migration-guide.md371 to `mbedtls_rsa_init()`, to call `mbedtls_rsa_set_padding()` to set it.
383 mbedtls_rsa_set_padding(ctx, padding, hash_id);
/third_party/mbedtls/
DChangeLog986 key. To use an RSA key with PSS or OAEP, call mbedtls_rsa_set_padding()
987 after initializing the context. mbedtls_rsa_set_padding() now returns an