mirror of
https://git.suyu.dev/suyu/mbedtls.git
synced 2026-01-03 13:15:42 +01:00
Merge branch 'development' into development-restricted
* development: Don't split error code description across multiple lines Register new error code in error.h Move deprecation to separate section in ChangeLog Extend scope of ERR_RSA_UNSUPPORTED_OPERATION error code Adapt RSA test suite Adapt ChangeLog Deprecate usage of RSA primitives with wrong key type
This commit is contained in:
commit
1827368b01
5 changed files with 168 additions and 22 deletions
|
|
@ -331,6 +331,8 @@ void mbedtls_strerror( int ret, char *buf, size_t buflen )
|
|||
mbedtls_snprintf( buf, buflen, "RSA - The output buffer for decryption is not large enough" );
|
||||
if( use_ret == -(MBEDTLS_ERR_RSA_RNG_FAILED) )
|
||||
mbedtls_snprintf( buf, buflen, "RSA - The random generator failed to generate non-zeros" );
|
||||
if( use_ret == -(MBEDTLS_ERR_RSA_UNSUPPORTED_OPERATION) )
|
||||
mbedtls_snprintf( buf, buflen, "RSA - The implementation doesn't offer the requested operation, e.g. because of security violations or lack of functionality" );
|
||||
#endif /* MBEDTLS_RSA_C */
|
||||
|
||||
#if defined(MBEDTLS_SSL_TLS_C)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue