Home
last modified time | relevance | path

Searched refs:mbedtls_rsa_write_key (Results 1 – 8 of 8) sorted by relevance

/aosp_15_r20/external/openthread/third_party/mbedtls/repo/library/
H A Drsa_internal.h72 int mbedtls_rsa_write_key(const mbedtls_rsa_context *rsa, unsigned char *start,
H A Dpkwrite.c81 return mbedtls_rsa_write_key(mbedtls_pk_rsa(*pk), buf, p); in pk_write_rsa_der()
H A Dpk_wrap.c194 key_len = mbedtls_rsa_write_key(rsa_ctx, buf, &p); in mbedtls_pk_psa_rsa_sign_ext()
301 key_len = mbedtls_rsa_write_key(rsa, buf, &p); in rsa_decrypt_wrap()
H A Dpsa_crypto_rsa.c164 ret = mbedtls_rsa_write_key(rsa, data, &end); in mbedtls_psa_rsa_export_key()
H A Dpk.c660 int ret = mbedtls_rsa_write_key(mbedtls_pk_rsa(*pk), in import_pair_into_psa()
H A Drsa.c285 int mbedtls_rsa_write_key(const mbedtls_rsa_context *rsa, unsigned char *start, in mbedtls_rsa_write_key() function
/aosp_15_r20/external/openthread/third_party/mbedtls/repo/tests/suites/
H A Dtest_suite_rsa.function1426 TEST_EQUAL(mbedtls_rsa_write_key(&rsa_ctx, output_buf, &output_p), input->len);
1465 TEST_ASSERT(mbedtls_rsa_write_key(&rsa_ctx, buf, &p) != 0);
1480 TEST_ASSERT(mbedtls_rsa_write_key(&rsa_ctx, buf, &p) > 0);
H A Dtest_suite_pk.function2066 * Note: mbedtls_rsa_write_key() writes backwards in the data buffer. */