diff options
author | Nikolay Morozov <nmorozoff77@yandex.ru> | 2020-02-14 14:28:23 +0300 |
---|---|---|
committer | Dmitry Belyavskiy <beldmit@users.noreply.github.com> | 2020-02-14 15:01:09 +0300 |
commit | 53579492efb0cfa87405a7a4b1956ffec9506a22 (patch) | |
tree | 108f61c78b135d45ee3018eccd6ea0959dc73356 /gost89.h | |
parent | 6061d170c7993f943a7ee5443ed9ddc544459b9e (diff) | |
download | gost-engine-53579492efb0cfa87405a7a4b1956ffec9506a22.zip gost-engine-53579492efb0cfa87405a7a4b1956ffec9506a22.tar.gz gost-engine-53579492efb0cfa87405a7a4b1956ffec9506a22.tar.bz2 |
GOST89 key masking
Diffstat (limited to 'gost89.h')
-rw-r--r-- | gost89.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -33,7 +33,8 @@ typedef struct { /* Cipher context includes key and preprocessed substitution block */ typedef struct { - u4 k[8]; + u4 key[8]; + u4 mask[8]; /* Constant s-boxes -- set up in gost_init(). */ u4 k87[256], k65[256], k43[256], k21[256]; } gost_ctx; |