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
|
|
@ -67,7 +67,7 @@ int main( int argc, char *argv[] )
|
|||
entropy_context entropy;
|
||||
ctr_drbg_context ctr_drbg;
|
||||
unsigned char hash[20];
|
||||
unsigned char buf[512];
|
||||
unsigned char buf[POLARSSL_MPI_MAX_SIZE];
|
||||
char filename[512];
|
||||
char *pers = "rsa_sign_pss";
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue