diff options
author | Niels Möller <nisse@lysator.liu.se> | 2011-02-08 21:11:35 +0100 |
---|---|---|
committer | Niels Möller <nisse@lysator.liu.se> | 2011-02-08 21:11:35 +0100 |
commit | fa5e487d30fe2750c9bb68e57a61191e5a6b7d78 (patch) | |
tree | 053fbd4f43b62237c40a9156433ab0d388d39267 /gcm.h | |
parent | 56691ae4805cc30f427ff38b1212e16901c565a4 (diff) | |
download | nettle-fa5e487d30fe2750c9bb68e57a61191e5a6b7d78.tar.gz |
* gcm.h (struct gcm_ctx): The hash key is now always an array,
named h, with array size depending on GCM_TABLE_BITS.
Rev: nettle/gcm.h:1.6
Diffstat (limited to 'gcm.h')
-rw-r--r-- | gcm.h | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -63,10 +63,7 @@ union gcm_block struct gcm_ctx { /* Key-dependent state. */ /* Hashing subkey */ - union gcm_block h; -#if GCM_TABLE_BITS - union gcm_block h_table[1 << GCM_TABLE_BITS]; -#endif + union gcm_block h[1 << GCM_TABLE_BITS]; /* Per-message state, depending on the iv */ /* Original counter block */ union gcm_block iv; |