aboutsummaryrefslogtreecommitdiff
path: root/gost89.h
diff options
context:
space:
mode:
authorArseniy Ankudinov <afalinuz@gmail.com>2020-09-23 18:54:58 +0300
committerDmitry Belyavskiy <beldmit@users.noreply.github.com>2020-09-23 20:09:38 +0300
commite9a7bfc3a6ef368dcc7eba482356c166f7d888d7 (patch)
tree6d86564807d302c7a554b62ff284960b22b8cc29 /gost89.h
parent8fff4a245e57cd2e3479a35cf5a8be534bee5e1c (diff)
downloadgost-engine-e9a7bfc3a6ef368dcc7eba482356c166f7d888d7.zip
gost-engine-e9a7bfc3a6ef368dcc7eba482356c166f7d888d7.tar.gz
gost-engine-e9a7bfc3a6ef368dcc7eba482356c166f7d888d7.tar.bz2
disable gost key mask on gost94 digest steps due to performance issues
Diffstat (limited to 'gost89.h')
-rw-r--r--gost89.h2
1 files changed, 2 insertions, 0 deletions
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 */