1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-08-01 10:06:53 +03:00

Rename and reorder function parameters

Signed-off-by: Gabor Mezei <gabor.mezei@arm.com>
This commit is contained in:
Gabor Mezei
2021-10-18 16:17:57 +02:00
parent 7013f62ee5
commit 63bbba5c13
3 changed files with 35 additions and 36 deletions

View File

@ -1491,9 +1491,8 @@ int mbedtls_rsa_rsaes_pkcs1_v15_decrypt( mbedtls_rsa_context *ctx,
if( ret != 0 )
goto cleanup;
ret = mbedtls_cf_rsaes_pkcs1_v15_unpadding( ilen, olen, output,
output_max_len,
(unsigned char *) &buf );
ret = mbedtls_cf_rsaes_pkcs1_v15_unpadding( buf, ilen,
output, output_max_len, olen );
cleanup:
mbedtls_platform_zeroize( buf, sizeof( buf ) );