Giter VIP home page Giter VIP logo

Comments (4)

cernekee avatar cernekee commented on August 30, 2024

The libtomcrypt RSA library functions used to compute BatchSignature want the caller to specify which math library should be used for big number arithmetic. There is some information on this in crypt.pdf under Math Descriptors and in the RSA example program.

Are you seeing an error at compile time or link time? If the latter, you could try linking with -ltommath to see if that helps. Perhaps my build configuration isn't quite right.

Or, maybe the libtomcrypt installation on your system uses a different math library. This could be worked around by adding checks to configure.ac: maybe try different a few different math library backends, or perhaps switch to nettle if the tomcrypt ltm_desc check fails.

Are you using a tomcrypt package from a specific distribution/version, or is it self-installed?

from stoken.

pacmansyu avatar pacmansyu commented on August 30, 2024

The issue was in the distribution (ArchLinux) build/release of the libtomcrypt package. I've submitted a request to have that updated by adding the Math Descriptor definitions during compilation. Thanks for the pointers.

from stoken.

cernekee avatar cernekee commented on August 30, 2024

I just pushed nmav's nettle support patches to master. Intended behavior: if libtomcrypt isn't usable (either missing entirely, or we can't figure out how to set up bignum arithmetic) stoken will try to link against nettle instead.

Do you want to give it a shot and see if this works on your setup?

from stoken.

pacmansyu avatar pacmansyu commented on August 30, 2024

Confirmed working when using libtomcrypt without libtommath. Thanks.

from stoken.

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.