Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement encoder and decoder #34

Merged
merged 8 commits into from
Oct 24, 2021
Merged

Implement encoder and decoder #34

merged 8 commits into from
Oct 24, 2021

Conversation

baentsch
Copy link
Member

Fixes #2

Next: Hybrid signature support (#3)

Possibly review: interop testing (#32)

TWIMC: The failing interop tests will be OK as and when openssl/openssl#16770 merges

@baentsch baentsch marked this pull request as ready for review October 17, 2021 06:44
@baentsch baentsch requested a review from bhess October 17, 2021 06:45
@baentsch
Copy link
Member Author

@bhess NP if you don't have time to review. I'll merge anyway only when the upstream PR is through; as that is pending OTC review that may take some time. fyi, time permitting on my side I'll proceed with hybrid (sig) support (based on this branch as I already added quite a few hooks for that).

@bhess
Copy link
Member

bhess commented Oct 17, 2021

Sounds good to me @baentsch. At the moment I'm quite busy, but I was anyway interested to have a closer look at the OSSL3 encoders and the oqs-provider code. Hope to be able to do so in 1-2 weeks.

@baentsch
Copy link
Member Author

Hope to be able to do so in 1-2 weeks.

Would be nice if you'd find time to do this soonish so I can avoid debugging into a breakage that now appeared only for all "x448" and "x25519" hybrids and apparently introduced by a recent upstream code change (hence not yet visible in the CCI run above).

baentsch referenced this pull request Oct 23, 2021
* Rename OSSL_PROVIDER_get0_name after openssl/openssl#15405

* Reverts workaround after bugfix in OpenSSL upstream (i2d_PrivateKey return value was incorrect)

Adds oqs_kem_default

Hybrid KEX is chosen according to bit_security defined in generate.yml, fixes inconsistenties between claimed_security_level and bit_security.
@bhess
Copy link
Member

bhess commented Oct 23, 2021

Feel free to already merge if it blocks. It won't be before end of the week when I will be able to take a closer look at the encoder.

initial endecoder stubs added

generate crypto objects added

header corrections

encode/decode tests passed for dil2

generate certs

certgen working

encrypted PK support added

verbose test output just in case

making OQS NIDs dynamic

fully utilize nid as evp_type for OQS keys

cert interop testing added

full templatization
@baentsch
Copy link
Member Author

TWIMC: openssl/openssl#16770 was merged to OpenSSL master -> All interop tests now pass removing last merge block.

@baentsch
Copy link
Member Author

Feel free to already merge if it blocks.

Just decided it does. I need to move forward (completing open-quantum-safe/liboqs#1111) and progressing #3 for personal reasons (upcoming trip). Feedback still very welcome.

@baentsch baentsch merged commit 55b631f into main Oct 24, 2021
@baentsch baentsch deleted the mb-endecode branch October 24, 2021 15:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Implement encoder/decoder
2 participants