Browse Source

pass correct length

master
orignal 7 years ago
parent
commit
92cf91023e
  1. 2
      streebog.c

2
streebog.c

@ -1043,7 +1043,7 @@ void gostd_hash(void *output, const void *input, int len)
{ {
unsigned char hash[64]; unsigned char hash[64];
sph_gost512(hash, (const void*)input, 80); sph_gost512(hash, (const void*)input, len);
sph_gost256(hash, (const void*)hash, 64); sph_gost256(hash, (const void*)hash, 64);
int i; int i;

Loading…
Cancel
Save