summaryrefslogtreecommitdiffstats
path: root/fips/aes/fips_gcmtest.c
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2012-10-04 13:27:11 +0000
committerDr. Stephen Henson <steve@openssl.org>2012-10-04 13:27:11 +0000
commitc616200172f922718c7200002470a48d31ec4fb5 (patch)
tree4e4444efb31b89b58de6c75e38e47584a7869179 /fips/aes/fips_gcmtest.c
parent7b899c10cd9ff366ef834615ecaabed8629edc06 (diff)
Add support for Windows CE and C64+ to FIPS module.
Diffstat (limited to 'fips/aes/fips_gcmtest.c')
-rw-r--r--fips/aes/fips_gcmtest.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/fips/aes/fips_gcmtest.c b/fips/aes/fips_gcmtest.c
index 9f50857fb9..30e4bcc0f4 100644
--- a/fips/aes/fips_gcmtest.c
+++ b/fips/aes/fips_gcmtest.c
@@ -75,10 +75,11 @@ int main(int argc, char **argv)
#include "fips_utl.h"
+static char buf[204800];
+static char lbuf[204800];
+
static void gcmtest(FILE *in, FILE *out, int encrypt)
{
- char buf[2048];
- char lbuf[2048];
char *keyword, *value;
int keylen = -1, ivlen = -1, aadlen = -1, taglen = -1, ptlen = -1;
int rv;
@@ -266,8 +267,6 @@ static void gcmtest(FILE *in, FILE *out, int encrypt)
static void xtstest(FILE *in, FILE *out)
{
- char buf[204800];
- char lbuf[204800];
char *keyword, *value;
int inlen = 0;
int encrypt = 0;
@@ -340,8 +339,6 @@ static void xtstest(FILE *in, FILE *out)
static void ccmtest(FILE *in, FILE *out)
{
- char buf[200048];
- char lbuf[200048];
char *keyword, *value;
long l;
unsigned char *Key = NULL, *Nonce = NULL;