diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2010-08-20 09:54:41 +0200 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2010-08-20 09:54:41 +0200 |
commit | 88d38939bcf937e62b32f39d006d4e86ca89083c (patch) | |
tree | e662eb0892457730e4d0abf461f82d9c8d47419a /libtomcrypt/headers/tomcrypt_pk.h | |
parent | 5507ea6f51bd227ce4af661d550ad4d4de80674b (diff) | |
download | cryptodev-linux-88d38939bcf937e62b32f39d006d4e86ca89083c.tar.gz cryptodev-linux-88d38939bcf937e62b32f39d006d4e86ca89083c.tar.xz cryptodev-linux-88d38939bcf937e62b32f39d006d4e86ca89083c.zip |
Increased RSA size to 8192. Return error on wrong arguments.
Diffstat (limited to 'libtomcrypt/headers/tomcrypt_pk.h')
-rw-r--r-- | libtomcrypt/headers/tomcrypt_pk.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libtomcrypt/headers/tomcrypt_pk.h b/libtomcrypt/headers/tomcrypt_pk.h index 145165e..7334880 100644 --- a/libtomcrypt/headers/tomcrypt_pk.h +++ b/libtomcrypt/headers/tomcrypt_pk.h @@ -26,7 +26,7 @@ int rand_prime(mp_int *N, long len); /* Min and Max RSA key sizes (in bits) */ #define MIN_RSA_SIZE 1024 -#define MAX_RSA_SIZE 4096 +#define MAX_RSA_SIZE 8192 /** RSA LTC_PKCS style key */ typedef struct Rsa_key { |