mirror of
https://github.com/cuberite/polarssl.git
synced 2025-10-01 01:16:36 -04:00
RSA PKCS#1 v1.5 no longer depends on MD
This has been the case since https://github.com/Mbed-TLS/mbedtls/pull/6065 which forgot to update the documentation, and also is_builtin_calling_md(), so update those. Signed-off-by: Manuel Pégourié-Gonnard <manuel.pegourie-gonnard@arm.com>
This commit is contained in:
parent
47da7bfac8
commit
98b91d40d6
@ -1130,7 +1130,7 @@
|
|||||||
*
|
*
|
||||||
* Enable support for PKCS#1 v1.5 encoding.
|
* Enable support for PKCS#1 v1.5 encoding.
|
||||||
*
|
*
|
||||||
* Requires: MBEDTLS_MD_C, MBEDTLS_RSA_C
|
* Requires: MBEDTLS_RSA_C
|
||||||
*
|
*
|
||||||
* This enables support for PKCS#1 v1.5 operations.
|
* This enables support for PKCS#1 v1.5 operations.
|
||||||
*/
|
*/
|
||||||
|
@ -84,10 +84,6 @@ static int is_accelerated_rsa( psa_algorithm_t alg )
|
|||||||
* also be built-in. */
|
* also be built-in. */
|
||||||
static int is_builtin_calling_md( psa_algorithm_t alg )
|
static int is_builtin_calling_md( psa_algorithm_t alg )
|
||||||
{
|
{
|
||||||
#if defined(MBEDTLS_PSA_BUILTIN_ALG_RSA_PKCS1V15_SIGN)
|
|
||||||
if( PSA_ALG_IS_RSA_PKCS1V15_SIGN( alg ) )
|
|
||||||
return( 1 );
|
|
||||||
#endif
|
|
||||||
#if defined(MBEDTLS_PSA_BUILTIN_ALG_RSA_PSS)
|
#if defined(MBEDTLS_PSA_BUILTIN_ALG_RSA_PSS)
|
||||||
if( PSA_ALG_IS_RSA_PSS( alg ) )
|
if( PSA_ALG_IS_RSA_PSS( alg ) )
|
||||||
return( 1 );
|
return( 1 );
|
||||||
|
Loading…
x
Reference in New Issue
Block a user