open-quantum-safe / openssl

UNSUPPORTED Fork of OpenSSL 1.1.1 that includes prototype quantum-resistant algorithms and ciphersuites based on liboqs PLEASE SWITCH TO OQS-Provider for OpenSSL 3
https://openquantumsafe.org/
Other
296 stars 126 forks source link

Algorithm identifiers #209

Closed prchander closed 4 years ago

prchander commented 4 years ago

Hello, this is a question. I was going through the OpenSSL code and I just wanted to know where or what the Post Quantum signature algorithm identifiers are. For example, TLS 1.3 algorithm identifiers(shown in image TLS 1.3 sig image) and the hybrid key exchange identifiers (shown in KEM image) in s_cb.c but I was not able to find where the post-quantum signature algorithms identifiers are.

TLS 1 3 sig KEM

baentsch commented 4 years ago

@prchander The current list (of OQS-signature NIDs) is here. You can convert those to strings using OBJ_nid2sn. For an example, see the OQSSIG_options method -- which actually delivers the list you're looking for when running openssl speed x.

prchander commented 4 years ago

@baentsch Thank you so much.

baentsch commented 4 years ago

You're welcome. Closing the issue then.