GithubHelp home page GithubHelp logo

Comments (2)

roy-basmacier avatar roy-basmacier commented on August 17, 2024 1

Hello @nd1012 ,

The error only occurs when using the following parameters
SphincsPlusParameters.haraka_128f_simple
SphincsPlusParameters.haraka_128s_simple
SphincsPlusParameters.haraka_192f_simple
SphincsPlusParameters.haraka_192s_simple
SphincsPlusParameters.haraka_256f_simple
SphincsPlusParameters.haraka_256s_simple

This is because they weren't added to the look-up tables and the converters.

I'll add them in a patch, however, NIST stated in their FIPS 205 draft (line 306-308) that they do not approve of these parameters.

"This standard approves the use of only 12 of the 36 parameter sets defned in [4, 5]. As specifed
in Section 10, only the β€˜simple’ instances in which the cryptographic functions are instantiated
with SHA-2 or SHAKE are approved. "

from bc-csharp.

nd1012 avatar nd1012 commented on August 17, 2024

Thanks a lot - that wasn't clear to me! For me it's not so important to stick with with Haraka hash parameters, I'll switch to Shake instead.

Usually I try to find a way to serialize a key in a standard format, so that 3rd party apps should be able to use it, too. When I look at the PQC algorithms, there are some serializations missing (NTRU, for example), so I have to use a custom serialization format at present. I assume that the standards are in heavy development for the moment, and that's the reason why things may be missing/changed in the Bouncy castle library until the standards are finalized - is that correct?

from bc-csharp.

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.