Giter Site home page Giter Site logo

kste / sphincs Goto Github PK

View Code? Open in Web Editor NEW
3.0 3.0 4.0 178 KB

Optimized implementations for cryptographic hash functions for the use in hash-based signature schemes.

License: MIT License

Makefile 0.07% C 31.67% C++ 1.09% Assembly 67.13% PHP 0.02% SourcePawn 0.02%

sphincs's People

Contributors

kste avatar sunshuzhou avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

sphincs's Issues

Using Keccak-P1600 Rho constant in Keccak-P800

There exists some errors in this file. The rho offset for Keccak-P800 should module 32 which means all the constants should smaller than 32. But I found that in https://github.com/kste/sphincs/blob/ee5af8e9cffecb33f3eecd0908b86c673ced3f63/x86/crypto_sign/sphincs256keccak/avx2/KeccakP-800-times8-SIMD256.c, some of the constants are larger than 31. Also, I look at the Keccak-P1600 implementation and find out that its constants are being used in Keccak-P800.

The above implementation error leads to the fail verification of SPHINCS when instantiate with Keccak-P800 (I tested it myself).

SHA256 HMAC?

This is an interesting project. Do you know of any assembly-optimized AVX2 version of SHA256 HMAC?

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.