X-Git-Url: http://wagner.pp.ru/gitweb/?a=blobdiff_plain;f=gost89.h;h=f8a83bbb9d47a5a03eb0ea51ab3c5483a7cc88f9;hb=bd6c4f8c5c8a087ce0ea65c3dc5ee38b38b8802c;hp=f201363c0c1cc5d261b7c72a4197f69a8d2cd462;hpb=798a847d840c42cc14e67bad882323b830aacab1;p=openssl-gost%2Fengine.git diff --git a/gost89.h b/gost89.h index f201363..f8a83bb 100644 --- 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 */