From 88d38939bcf937e62b32f39d006d4e86ca89083c Mon Sep 17 00:00:00 2001 From: Nikos Mavrogiannopoulos Date: Fri, 20 Aug 2010 09:54:41 +0200 Subject: Increased RSA size to 8192. Return error on wrong arguments. --- libtomcrypt/headers/tomcrypt_pk.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libtomcrypt/headers/tomcrypt_pk.h') 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 { -- cgit