Giter Club home page Giter Club logo

Comments (3)

Yawning avatar Yawning commented on September 24, 2024

I'm slowly working on this in a private repo.

  • Define the schemas, load/unmarshal
  • Cover all the algorithms that are possible
    • chacha20poly1305
    • HKDF
    • HMAC
    • KMAC
    • PBKDF2
    • Ed25519
    • X25519
    • SipHash

Unfortunately BLAKE2, MD5, Keccak, and TupleHash don't have wycheproof artifacts, but I'm largely interested in this for ECC, AES, RSA.

from odin.

Yawning avatar Yawning commented on September 24, 2024

This covers everything currently in core/crypto that has corresponding wycheproof test cases:

Notes:

  • Cases that I know will panic are skipped (I could test the panic case by forking on Unix systems as a future improvement).
  • The large iteration PBKDF2-HMACSHA1 test is skipped as it takes an unreasonable amount of time (~106s default/no optimization, ~8s with optimization), and I kept forgetting to add -o:speed when building.

from odin.

Yawning avatar Yawning commented on September 24, 2024

The corpus of test vectors is rather large, and I wrote this as a stand-alone executable rather than using core:testing (which can be changed), so this could be ran from a CI workflow so that people aren't forced to checkout the test vector repo.

The compiler also intermittently segfaulted when building the binary, but short of "it happened, but when I re-ran the build" I don't have futher information.

from odin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.