Have a couple of questions about the supercop library.

I've refrained from asking this question for a considerable amount of time because every time I thought about asking it, it sounded stupid in my head and I felt it wasn't worthy of anyone's expertise & time in this stackexchange (I respect the goal this SE has of preserving high-level discourse here).

But I have to ask this question.

Can the Primitives that Accompany SuperCop Be Used Freely?

By 'freely', I mean, is someone able to use these primitives on the command line in the same way one can use 'sha256' or other cryptographic primitives that are built into most OSes these days? (i.e., Linux)

I ask for a few reasons:

  • All of the 'c' files and header files for each of the cryptographic primitives included are in the repo / package.

  • If one is able to run a test using these cryptographic primitives, then there's no reason why one shouldn't be able to iterate these primitives over other data as well.

I'm curious about this because I'm looking to toy with some of the more unique primitives using some other tools that I have. Nothing will be used in production, so no warnings needed. Looking to utilize this as a learning experience.

Tips on Building the Library?

Building the library has proven to be way more difficult than your average package written in 'C'. The instructions regarding which compiler should be used are hazy at best (Bernstein makes a couple suggestions but the gist is that it depends on your specific architecture, the version of the compiler you use + the method you use to compile the different files).

I've ran into countless issues trying to compile it.


  • 1
    $\begingroup$ Supercop's build solution is indeed ... rather unique. In theory there's nothing stopping you from using the benchmarked implementations, though of course getting them to actually run might turn out to be highly difficult. Supercop does indeed not provide some built-in way to use them for other purposes than benchmarking. $\endgroup$
    – SEJPM
    May 14 at 18:16

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.