Giter Club home page Giter Club logo

Comments (5)

bhess avatar bhess commented on July 23, 2024 1

I was thinking about using cmake's ExternalProject function. It allows to fetch, build and patch (if needed) and therefore include external projects as part of a cmake build. This will be similar to a "copy_from_upstream" mechanism but better integrates with cmake.

from oqs-provider.

bhess avatar bhess commented on July 23, 2024

The code to be integrated is available here:
https://github.com/Quantum-Safe-Collaboration/qsc-key-rfc/tree/master/qsc-key-encoder
It supports Dilithium, Falcon, SPHINCS+ and Kyber and allows several cases:

  • encode full PrivateKeyInfo / SubjectPublicKeyInfo (PKCS#8 / SPKI)
  • encode only privateKey / subjectPublicKey parts of PKCS#8 / SPKI
  • encode private key with optional public key
  • encode private key without optional public key
  • encode private key and/or public key
  • decode private key and/or public key (including decode private key with optional public key part to raw public+private key)

from oqs-provider.

baentsch avatar baentsch commented on July 23, 2024

@bhess: Do you intend to integrate the code from the spec repo above here or what's the next step to come to closure of this issue?

from oqs-provider.

bhess avatar bhess commented on July 23, 2024

Yes, my intention is to integrate this code which implements the API described above (before the next IETF). Either linking to the library from the repo or replicating the code here. Any thoughts?

from oqs-provider.

baentsch avatar baentsch commented on July 23, 2024

Either linking to the library from the repo or replicating the code here. Any thoughts?

Unsure what you mean by this: (shared lib) linking would be bad for the provider: The goal for it should be that it is self-contained and does not depend on external libs for correct execution. Code replication in turn would be sub-optimal, too, from a maintenance perspective. What about creating sth similar to the "copy_from_upstream" mechanism if you want to keep maintaining the code (only) in your spec repo?

from oqs-provider.

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.