1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-08-08 17:42:09 +03:00

Revert "Add pk_rsa_set_padding() and rsa_set_padding()"

This reverts commit b4fae579e8.

Conflicts:
	library/pk.c
	tests/suites/test_suite_pk.data
	tests/suites/test_suite_pk.function
This commit is contained in:
Paul Bakker
2014-01-27 11:45:49 +01:00
parent d75ba40cc3
commit 42099c3155
7 changed files with 12 additions and 107 deletions

View File

@@ -60,17 +60,6 @@ void rsa_init( rsa_context *ctx,
#endif
}
/*
* Set padding method after initialisation
*/
void rsa_set_padding( rsa_context *ctx,
int padding,
int hash_id)
{
ctx->padding = padding;
ctx->hash_id = hash_id;
}
#if defined(POLARSSL_GENPRIME)
/*