From e9a7bfc3a6ef368dcc7eba482356c166f7d888d7 Mon Sep 17 00:00:00 2001 From: Arseniy Ankudinov Date: Wed, 23 Sep 2020 18:54:58 +0300 Subject: disable gost key mask on gost94 digest steps due to performance issues --- gost89.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'gost89.h') diff --git a/gost89.h b/gost89.h index 569db5b..b67375b 100644 --- a/gost89.h +++ b/gost89.h @@ -60,6 +60,8 @@ void gostcrypt(gost_ctx * c, const byte * in, byte * out); void gostdecrypt(gost_ctx * c, const byte * in, byte * out); /* Set key into context */ void gost_key(gost_ctx * c, const byte * k); +/* Set key into context without key mask */ +void gost_key_nomask(gost_ctx * c, const byte * k); /* Set key into context */ void magma_key(gost_ctx * c, const byte * k); /* Get key from context */ -- cgit v1.1