From 950e2889e1133134021fc76c779919372e1ba3a9 Mon Sep 17 00:00:00 2001 From: "Dr. Stephen Henson" Date: Wed, 16 Jan 2013 14:20:01 +0000 Subject: [PATCH] Now GMAC is fixed remove workaround. --- fips/aes/fips_gcmtest.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/fips/aes/fips_gcmtest.c b/fips/aes/fips_gcmtest.c index 4000e0763f..30e4bcc0f4 100644 --- a/fips/aes/fips_gcmtest.c +++ b/fips/aes/fips_gcmtest.c @@ -208,8 +208,6 @@ static void gcmtest(FILE *in, FILE *out, int encrypt) ct = OPENSSL_malloc(ptlen); rv = FIPS_cipher(&ctx, ct, pt, ptlen); } - else - FIPS_cipher(&ctx, iv, iv, 0); FIPS_cipher(&ctx, NULL, NULL, 0); FIPS_cipher_ctx_ctrl(&ctx, EVP_CTRL_GCM_GET_TAG, taglen, tag); @@ -244,8 +242,6 @@ static void gcmtest(FILE *in, FILE *out, int encrypt) pt = OPENSSL_malloc(ptlen); rv = FIPS_cipher(&ctx, pt, ct, ptlen); } - else - FIPS_cipher(&ctx, iv, iv, 0); rv = FIPS_cipher(&ctx, NULL, NULL, 0); if (rv < 0) fprintf(out, "FAIL" RESP_EOL); -- 2.25.1