Removal of the rsa_invalid_param() from the test

Signed-off-by: TRodziewicz <tomasz.rodziewicz@mobica.com>
This commit is contained in:
TRodziewicz 2021-05-27 17:20:41 +02:00
parent 2d0769d149
commit 9b279f98bc
2 changed files with 0 additions and 22 deletions

View File

@ -1,6 +1,3 @@
RSA parameter validation
rsa_invalid_param:
RSA init-free-free
rsa_init_free:0

View File

@ -17,25 +17,6 @@
* END_DEPENDENCIES
*/
/* BEGIN_CASE depends_on:NOT_DEFINED */
void rsa_invalid_param( )
{
mbedtls_rsa_context ctx;
const int valid_padding = MBEDTLS_RSA_PKCS_V21;
const int invalid_padding = 42;
unsigned char buf[42] = { 0 };
size_t olen;
TEST_INVALID_PARAM( mbedtls_rsa_init( &ctx, invalid_padding, 0 ) );
TEST_INVALID_PARAM( mbedtls_rsa_set_padding( &ctx,
invalid_padding, 0 ) );
exit:
return;
}
/* END_CASE */
/* BEGIN_CASE */
void rsa_init_free( int reinit )
{