mirror of
https://git.suyu.dev/suyu/mbedtls.git
synced 2025-12-21 21:36:21 +01:00
- Updated examples to use appropriate sizes for larger RSA keys (up to 16k)
This commit is contained in:
parent
3ad34d4110
commit
1d56958963
7 changed files with 25 additions and 33 deletions
|
|
@ -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 )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue