From 53579492efb0cfa87405a7a4b1956ffec9506a22 Mon Sep 17 00:00:00 2001 From: Nikolay Morozov Date: Fri, 14 Feb 2020 14:28:23 +0300 Subject: GOST89 key masking --- gost89.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'gost89.h') diff --git a/gost89.h b/gost89.h index b8a947e..1dfae9b 100644 --- a/gost89.h +++ b/gost89.h @@ -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; -- cgit v1.1