Useability of new mlkem-native API #2087
praveksharma
started this conversation in
General
Replies: 1 comment 5 replies
-
Just for my understanding: Is this proposal for a new API referring to matrices used in all KEMs or just the one from ML-KEM? So, is this proposal thus effectively calling for the introduction of an algorithm-specific API to OQS or for changing the APIs of all KEMs as per the proposal? If the latter, who is supposed to do all the required code adaptations to those algorithms not coming from PQCP in OQS? If the former, are you effectively calling for a reversal to OQS' promise to supporting all PQC algorithms in the same way? |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
A lot of KEM usecases (such as TLS), allow preserving state between keygen and decaps; this means that the matrix A can be kept expanded and makes input validation for the secret key unnecessary. This would make KEM operations a lot faster but also raises the question of what the new KEM API should look like. The consensus, when this topic came up during a status call, was that the API should allow OQS user to interoperate as much as possible between the different existing standards.
Here are the proposed new functions for mlkem-native (from PQCP) which shall operate on internal data structures:
The old API would then be wrappers around these new functions:
Along with these new functions to aid interop:
Does this API miss any particular use case?
Beta Was this translation helpful? Give feedback.
All reactions