ADVISORIES

GitHub Advisory Database

GHSA-4x25-pvhw-5224

Algorithms compute incorrect results in blake2

Details

An issue was discovered in the blake2 crate before 0.8.1 for Rust. The BLAKE2b and BLAKE2s algorithms, when used with HMAC, produce incorrect results because the block sizes are half of the required sizes.

Affected packages

EcosystemPackageAffected versions
crates.ioblake2
All versions before 0.8.1 (fixed in 0.8.1)

References