Commit fa5e487d authored by Niels Möller's avatar Niels Möller
Browse files

* 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
parent 56691ae4
......@@ -63,10 +63,7 @@ union gcm_block
struct gcm_ctx {
/* Key-dependent state. */
/* Hashing subkey */
union gcm_block h;
union gcm_block h_table[1 << GCM_TABLE_BITS];
union gcm_block h[1 << GCM_TABLE_BITS];
/* Per-message state, depending on the iv */
/* Original counter block */
union gcm_block iv;
Supports Markdown
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