diff options
Diffstat (limited to 'cipher/gostr3411-94.c')
-rw-r--r-- | cipher/gostr3411-94.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/cipher/gostr3411-94.c b/cipher/gostr3411-94.c index b3326aa5..9a39733d 100644 --- a/cipher/gostr3411-94.c +++ b/cipher/gostr3411-94.c @@ -44,10 +44,12 @@ static unsigned int transform (void *c, const unsigned char *data, size_t nblks); static void -gost3411_init (void *context) +gost3411_init (void *context, unsigned int flags) { GOSTR3411_CONTEXT *hd = context; + (void)flags; + memset (&hd->hd, 0, sizeof(hd->hd)); memset (hd->h, 0, 32); memset (hd->sigma, 0, 32); |