Skip to content

crypto/digest test fails with openssl 3.4.1 #2

Description

@SeanTAllen

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)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    good first issueGood for newcomershelp wantedExtra attention is neededneeds investigationThis needs to be looked into before it's "ready for work"

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions