]> www.wagner.pp.ru Git - openssl-gost/engine.git/blobdiff - gost89.h
Refactor little-to-big-endian subroutine for magma
[openssl-gost/engine.git] / gost89.h
index f201363c0c1cc5d261b7c72a4197f69a8d2cd462..f8a83bbb9d47a5a03eb0ea51ab3c5483a7cc88f9 100644 (file)
--- a/gost89.h
+++ b/gost89.h
@@ -59,6 +59,10 @@ void gost_dec_cfb(gost_ctx * ctx, const byte * iv, const byte * cipher,
 void gostcrypt(gost_ctx * c, const byte * in, byte * out);
 /* Decrypt one  block */
 void gostdecrypt(gost_ctx * c, const byte * in, byte * out);
+/* Encrypt one  block */
+void magmacrypt(gost_ctx * c, const byte * in, byte * out);
+/* Decrypt one  block */
+void magmadecrypt(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 */