Code Monkey home page Code Monkey logo

picnic_m4's People

Contributors

akiratk0355 avatar dfaranha avatar dkales avatar zaverucha avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

akiratk0355

picnic_m4's Issues

Memory Requirements for Picnic3-L1 opt-mem variant

Hello, while I was trying to integrate your version of Picnic3-L1 in a project, using STM32Cube IDE, I noticed a mismatch on the Stack Memory that my IDE reports and the one that is reported on your bencharmks-gregz-may27.md here. It actually reports the same memory for opt and for opt-mem variants.

I found out that on your README.md file you are stating:

opt-mem: similar to opt, but makes some tradeoffs to reduce memory even further, such as not storing the whole Merkle tree in memory, and recomputing it as needed. Currently, only signing is optimized to use less RAM, verification is the same as opt. None of the changes break compatibility with the Picnic specification.

So it makes sense on the bencharmks-gregz-may27.md, the Memory Evaluation of opt and opt-mem to be the same except the signing operation.

In bencharmks-gregz-may27.md we see that the Sign operation reports less memory BUT we see the same on the Verify operation too:

Signature Schemes

Scheme Implementation Key Generation [bytes] Sign [bytes] Verify [bytes]
picnic3l1 opt 820 69,228 87,812
picnic3l1 opt-mem 828 24,676 32,436

Is this a typo or is there an actual memory optimization on the Verify operation that I am missing?

Thank you in advance,
George

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.