summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2013-01-16 14:20:01 +0000
committerDr. Stephen Henson <steve@openssl.org>2013-01-16 14:20:01 +0000
commit950e2889e1133134021fc76c779919372e1ba3a9 (patch)
tree61a7898630fc6246957e304743f464782cb00b02
parent043c341366e8289dae143ad7a78d8f5d7fc18688 (diff)
Now GMAC is fixed remove workaround.
-rw-r--r--fips/aes/fips_gcmtest.c4
1 files changed, 0 insertions, 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);