mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-08-08 17:42:09 +03:00
Removes mode param from mbedtls_rsa_pkcs1_verify
Commit removes mode parameter from mbedtls_rsa_pkcs1_verify and propagates the change throughout the codebase. Signed-off-by: Thomas Daubney <thomas.daubney@arm.com>
This commit is contained in:
@@ -90,8 +90,8 @@ static int rsa_verify_wrap( void *ctx, mbedtls_md_type_t md_alg,
|
||||
if( sig_len < rsa_len )
|
||||
return( MBEDTLS_ERR_RSA_VERIFY_FAILED );
|
||||
|
||||
if( ( ret = mbedtls_rsa_pkcs1_verify( rsa, MBEDTLS_RSA_PUBLIC,
|
||||
md_alg, (unsigned int) hash_len,
|
||||
if( ( ret = mbedtls_rsa_pkcs1_verify( rsa, md_alg,
|
||||
(unsigned int) hash_len,
|
||||
hash, sig ) ) != 0 )
|
||||
return( ret );
|
||||
|
||||
|
Reference in New Issue
Block a user