Update vlib/x/crypto/ascon/hash.v

This commit is contained in:
Delyan Angelov 2025-09-10 09:59:00 +03:00 committed by GitHub
parent acca80a96f
commit 73497e2bd5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -118,7 +118,6 @@ fn (h &Hash256) clone() &Hash256 {
} }
// sum returns an Ascon-Hash256 checksum of the bytes in data. // sum returns an Ascon-Hash256 checksum of the bytes in data.
@[direct_array_access]
pub fn (mut h Hash256) sum(data []u8) []u8 { pub fn (mut h Hash256) sum(data []u8) []u8 {
// working on the clone of the h, so we can keep writing // working on the clone of the h, so we can keep writing
mut h0 := h.clone() mut h0 := h.clone()