summaryrefslogtreecommitdiff
path: root/include/crypto/streebog.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/crypto/streebog.h')
-rw-r--r--include/crypto/streebog.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/crypto/streebog.h b/include/crypto/streebog.h
index 856e32af8657..cae1b4a01971 100644
--- a/include/crypto/streebog.h
+++ b/include/crypto/streebog.h
@@ -23,7 +23,10 @@ struct streebog_uint512 {
};
struct streebog_state {
- u8 buffer[STREEBOG_BLOCK_SIZE];
+ union {
+ u8 buffer[STREEBOG_BLOCK_SIZE];
+ struct streebog_uint512 m;
+ };
struct streebog_uint512 hash;
struct streebog_uint512 h;
struct streebog_uint512 N;