Searched refs:rsa_ctx (Results 1 – 4 of 4) sorted by relevance
/openthread-latest/third_party/mbedtls/repo/tests/suites/ |
D | test_suite_rsa.function | 1391 mbedtls_rsa_context rsa_ctx; 1393 mbedtls_rsa_init(&rsa_ctx); 1396 TEST_EQUAL(mbedtls_rsa_parse_pubkey(&rsa_ctx, input->x, input->len), exp_ret_val); 1398 TEST_EQUAL(mbedtls_rsa_parse_key(&rsa_ctx, input->x, input->len), exp_ret_val); 1402 mbedtls_rsa_free(&rsa_ctx); 1409 mbedtls_rsa_context rsa_ctx; 1414 mbedtls_rsa_init(&rsa_ctx); 1422 TEST_EQUAL(mbedtls_rsa_parse_pubkey(&rsa_ctx, input->x, input->len), 0); 1423 TEST_EQUAL(mbedtls_rsa_write_pubkey(&rsa_ctx, output_buf, &output_p), input->len); 1425 TEST_EQUAL(mbedtls_rsa_parse_key(&rsa_ctx, input->x, input->len), 0); [all …]
|
/openthread-latest/third_party/mbedtls/repo/library/ |
D | pk_wrap.h | 130 mbedtls_rsa_context *rsa_ctx,
|
D | pk.c | 1383 mbedtls_rsa_context *const rsa_ctx = mbedtls_pk_rsa(*ctx); in mbedtls_pk_sign_ext() local 1385 const int ret = mbedtls_rsa_rsassa_pss_sign_no_mode_check(rsa_ctx, f_rng, p_rng, md_alg, in mbedtls_pk_sign_ext() 1388 *sig_len = rsa_ctx->len; in mbedtls_pk_sign_ext()
|
D | pk_wrap.c | 169 mbedtls_rsa_context *rsa_ctx, in mbedtls_pk_psa_rsa_sign_ext() argument 188 *sig_len = mbedtls_rsa_get_len(rsa_ctx); in mbedtls_pk_psa_rsa_sign_ext() 194 key_len = mbedtls_rsa_write_key(rsa_ctx, buf, &p); in mbedtls_pk_psa_rsa_sign_ext()
|