summaryrefslogtreecommitdiff
path: root/cipher/gost28147.c
diff options
context:
space:
mode:
Diffstat (limited to 'cipher/gost28147.c')
-rw-r--r--cipher/gost28147.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cipher/gost28147.c b/cipher/gost28147.c
index 862e7d66..c669148d 100644
--- a/cipher/gost28147.c
+++ b/cipher/gost28147.c
@@ -168,7 +168,7 @@ unsigned int _gcry_gost_enc_one (GOST28147_context *c, const byte *key,
byte *out, byte *in)
{
gost_setkey (c, key, 32);
- return gost_encrypt_block (c, out, in);
+ return gost_encrypt_block (c, out, in) + 5 * sizeof(void *);
}
static unsigned int