Mercurial > dropbear
diff libtomcrypt/testprof/pkcs_1_test.c @ 1435:f849a5ca2efc
update to libtomcrypt 1.17 (with Dropbear changes)
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Sat, 24 Jun 2017 17:50:50 +0800 |
parents | 0cbe8f6dbf9e |
children |
line wrap: on
line diff
--- a/libtomcrypt/testprof/pkcs_1_test.c Sat Jun 24 11:53:32 2017 +0800 +++ b/libtomcrypt/testprof/pkcs_1_test.c Sat Jun 24 17:50:50 2017 +0800 @@ -1,6 +1,6 @@ #include <tomcrypt_test.h> -#ifdef PKCS_1 +#ifdef LTC_PKCS_1 int pkcs_1_test(void) { @@ -33,7 +33,7 @@ /* pick a random saltlen 0..16 */ saltlen = abs(rand()) % 17; - /* PKCS #1 v2.0 supports modlens not multiple of 8 */ + /* LTC_PKCS #1 v2.0 supports modlens not multiple of 8 */ modlen = 800 + (abs(rand()) % 224); /* encode it */ @@ -88,6 +88,6 @@ #endif -/* $Source: /cvs/libtom/libtomcrypt/testprof/pkcs_1_test.c,v $ */ -/* $Revision: 1.7 $ */ -/* $Date: 2006/11/30 03:30:45 $ */ +/* $Source$ */ +/* $Revision$ */ +/* $Date$ */