1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-07-30 22:43:08 +03:00

- Updated examples to use appropriate sizes for larger RSA keys (up to 16k)

This commit is contained in:
Paul Bakker
2012-10-03 20:35:44 +00:00
parent 3ad34d4110
commit 1d56958963
7 changed files with 25 additions and 33 deletions

View File

@ -54,7 +54,7 @@ int main( int argc, char *argv[] )
size_t i;
rsa_context rsa;
unsigned char hash[20];
unsigned char buf[512];
unsigned char buf[POLARSSL_MPI_MAX_SIZE];
ret = 1;
if( argc != 2 )