aboutsummaryrefslogtreecommitdiffstats
path: root/src/include/ipxe/gcm.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/ipxe/gcm.h')
-rw-r--r--src/include/ipxe/gcm.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/include/ipxe/gcm.h b/src/include/ipxe/gcm.h
index d93eecd8e..90ef0b522 100644
--- a/src/include/ipxe/gcm.h
+++ b/src/include/ipxe/gcm.h
@@ -44,14 +44,14 @@ union gcm_block {
/** GCM context */
struct gcm_context {
- /** Hash key (H) */
- union gcm_block key;
- /** Counter (Y) */
- union gcm_block ctr;
/** Accumulated hash (X) */
union gcm_block hash;
/** Accumulated lengths */
union gcm_block len;
+ /** Counter (Y) */
+ union gcm_block ctr;
+ /** Hash key (H) */
+ union gcm_block key;
/** Underlying block cipher */
struct cipher_algorithm *raw_cipher;
/** Underlying block cipher context */