rsa_decrypt_wrap(void * ctx, const unsigned char * input, unsigned __int64 ilen, unsigned char * output, unsigned __int64 * olen, unsigned __int64 osize, int (void *, unsigned char *, unsigned __int64) * f_rng,
* Decrypt the encrypted RSA data and print the result. */ mbedtls_printf("\n . Decrypting the encrypted data"); fflush(stdout); if ((ret = mbedtls_pk_decrypt(&pk, buf, i, result, &olen, sizeof(result), mbedtls_ctr_drbg_random, &ctr_drbg)) != 0) { mbedtls_printf(" fa...
test_suite_pk.data test_suite_pk.function Original file line numberDiff line numberDiff line change @@ -482,13 +482,17 @@ RSA decrypt test vector - PKCS1v2.1, but data is PKCS1v1.5 encrypted 482482 depends_on:MBEDTLS_PKCS1_V21:MBEDTLS_MD_CAN_SHA1 ...