Skip to content
Snippets Groups Projects
Commit 17f90be1 authored by Niels Möller's avatar Niels Möller
Browse files

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

Rev: nettle/ChangeLog:1.146
Rev: nettle/gcm.h:1.9
parent bd0d97c5
Branches
Tags
No related merge requests found
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 */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment