Skip to content

Commit b10c729

Browse files
committed
fix blake2b digest size
1 parent 186094b commit b10c729

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Modules/hmacmodule.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ _hmac_compute_blake2b_32_impl(PyObject *module, Py_buffer *key,
237237
Py_buffer *data)
238238
/*[clinic end generated code: output=ea083dfa29679029 input=aecba54a3e2dff72]*/
239239
{
240-
HACL_HMAC_COMPUTE_HASH(Hacl_HMAC_compute_blake2b_32, 32, key, data);
240+
HACL_HMAC_COMPUTE_HASH(Hacl_HMAC_compute_blake2b_32, 64, key, data);
241241
}
242242

243243
static PyMethodDef hmacmodule_methods[] = {

0 commit comments

Comments
 (0)