Coder Social home page Coder Social logo

Comments (6)

joshuaehill avatar joshuaehill commented on August 17, 2024

The jitterentropy-hashtime function is outputs raw data (i.e., prior to hashing), so the setting of osr (which establishes how many raw samples are fed into the hash per hash output) doesn't directly affect the data being output from jitterentropy-hashtime.

When JENT_CONF_DISABLE_LOOP_SHUFFLE is defined, the first and second column of outputs from the jitterentropy-hashtime have basically the same behavior (other than the second column is sampled later).

Which pre-3.0.2 behavior are you trying to replicate?

from jitterentropy-library.

dtudor-dt avatar dtudor-dt commented on August 17, 2024

I just noticed other issues that were discussing this change, so my mistake.

So, the pre-3.0.2 behavior was that one column had raw data that was imitating the real behavior of the rngd process (the var case) and one column that had only the lower bound (the single case). Now that difference is removed, right? The rngd behavior is the minimum, lower bound case.

from jitterentropy-library.

joshuaehill avatar joshuaehill commented on August 17, 2024

By default, the pseudorandom variation produced by the jent_loop_shuffle function is no longer used in any mode (either testing, or while operating normally). As a consequence, the first and second columns produced by jitterentropy-hashtime should mostly show the same behavior.

The pseudorandom variation induced by jent_loop_shuffle can be turned back on by removing the JENT_CONF_DISABLE_LOOP_SHUFFLE macro prior to compiling the library.

from jitterentropy-library.

dtudor-dt avatar dtudor-dt commented on August 17, 2024

That cleared things up, thanks a lot.

Would you recommend keeping the JENT_CONF_DISABLE_LOOP_SHUFFLE macro is the end goal is to pass an SP800-90B validation?

from jitterentropy-library.

joshuaehill avatar joshuaehill commented on August 17, 2024

Yes. Here is a presentation that I gave on this topic.

from jitterentropy-library.

dtudor-dt avatar dtudor-dt commented on August 17, 2024

Great, thank you.

from jitterentropy-library.

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.