Commit 17f90be1 authored by Niels Möller's avatar Niels Möller

(union gcm_block): Use correct length for w array.

Rev: nettle/ChangeLog:1.146
Rev: nettle/gcm.h:1.9
parent bd0d97c5
2011-02-10 Niels Mller <nisse@lysator.liu.se>
* gcm.h (union gcm_block): Use correct length for w array.
* testsuite/gcm-test.c (test_main): Added the rest of the
testcases from the spec.
......
......@@ -64,7 +64,7 @@ extern "C" {
union gcm_block
{
uint8_t b[GCM_BLOCK_SIZE];
unsigned long w[1];
unsigned long w[GCM_BLOCK_SIZE / sizeof(unsigned long)];
};
/* Hashing subkey */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment