X-Git-Url: http://www.wagner.pp.ru/gitweb/?a=blobdiff_plain;f=gost89.h;fp=gost89.h;h=f8a83bbb9d47a5a03eb0ea51ab3c5483a7cc88f9;hb=fcca1ab049978ae66a3dfeff5e4704fa8127095e;hp=f201363c0c1cc5d261b7c72a4197f69a8d2cd462;hpb=021a2b61b5d904caaf4ceb26ff3163f1f0e4219f;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 */