These two tests fail and appear to return all 0's:
ifdef "openssl_1.1.x" or "openssl_3.0.x" then
let shake128 = Digest.shake128()
shake128.append("message1")?
shake128.append("message2")?
h.assert_eq[String](
"0d11671f23b6356bdf4ba8dcae37419d",
ToHexString(shake128.final()))
let shake256 = Digest.shake256()
shake256.append("message1")?
shake256.append("message2")?
h.assert_eq[String](
"80e2bbb14639e3b1fc1df80b47b67fb518b0ed26a1caddfa10d68f7992c33820",
ToHexString(shake256.final()))
end
/__w/ssl/ssl/ssl/crypto/_test.pony:158: Assert eq failed. Expected (0d11671f23b6356bdf4ba8dcae37419d) == (00000000000000000000000000000000)
/__w/ssl/ssl/ssl/crypto/_test.pony:165: Assert eq failed. Expected (80e2bbb14639e3b1fc1df80b47b67fb518b0ed26a1caddfa10d68f7992c33820) == (0000000000000000000000000000000000000000000000000000000000000000)
These two tests fail and appear to return all 0's: