diff --git a/xof/blake2xb/blake.go b/xof/blake2xb/blake.go index 81cfabef7..d3f66ff57 100644 --- a/xof/blake2xb/blake.go +++ b/xof/blake2xb/blake.go @@ -71,7 +71,7 @@ func (x *xof) Reseed() { func (x *xof) Reset() { x.impl.Reset() - x.impl.Write(x.seed) + _, _ = x.impl.Write(x.seed) } func (x *xof) XORKeyStream(dst, src []byte) { diff --git a/xof/blake2xs/blake.go b/xof/blake2xs/blake.go index e9136fe52..d29edf390 100644 --- a/xof/blake2xs/blake.go +++ b/xof/blake2xs/blake.go @@ -71,7 +71,7 @@ func (x *xof) Reseed() { func (x *xof) Reset() { x.impl.Reset() - x.impl.Write(x.seed) + _, _ = x.impl.Write(x.seed) } func (x *xof) XORKeyStream(dst, src []byte) {