commit | 1d56958963d6b3c1681b7fcbea444befc587cbdc | [log] [tgz] |
---|---|---|
author | Paul Bakker <p.j.bakker@polarssl.org> | Wed Oct 03 20:35:44 2012 +0000 |
committer | Paul Bakker <p.j.bakker@polarssl.org> | Wed Oct 03 20:35:44 2012 +0000 |
tree | 622421a3b050230ac07fabc35bd109df7b758b08 | |
parent | 3ad34d411077ca29afb31102de18b82253148f3c [diff] [blame] |
- Updated examples to use appropriate sizes for larger RSA keys (up to 16k)
diff --git a/programs/pkey/rsa_sign_pss.c b/programs/pkey/rsa_sign_pss.c index c00c8d8..ffc5de0 100644 --- a/programs/pkey/rsa_sign_pss.c +++ b/programs/pkey/rsa_sign_pss.c
@@ -67,7 +67,7 @@ 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";