New syntax in reference implementation

This commit is contained in:
Mauricio Gomes 2018-05-29 21:47:24 -04:00
parent 2be92acc34
commit 1adfb20993

View file

@ -65,8 +65,8 @@ VALUE m_blake2_digest(VALUE self, VALUE _input, VALUE _representation) {
Data_Get_Struct(self, Blake2, blake2);
blake2b(blake2->output, input, blake2->key_bytes,
blake2->output_length, input_length, blake2->key_length);
blake2b(blake2->output, blake2->output_length, input, input_length,
blake2->key_bytes, blake2->key_length);
VALUE result;