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

Multiple names for an algorithm #560

Open
baentsch opened this issue Oct 31, 2024 · 1 comment
Open

Multiple names for an algorithm #560

baentsch opened this issue Oct 31, 2024 · 1 comment
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@baentsch
Copy link
Member

          The provider interface allows multiple names for an algorith, and OpenSSL itself does this for it algorithms.

See OSSL_ALGORITHM.algorithm_names in https://docs.openssl.org/3.0/man3/OSSL_ALGORITHM/

In addition to creating aliases for algorithms, it's also useful for loading algorithms by OID string, which may be something for oqs-provider to consider.

Originally posted by @danvangeest in #556 (comment)

@baentsch baentsch added enhancement New feature or request good first issue Good for newcomers labels Oct 31, 2024
@zadlg
Copy link

zadlg commented Nov 10, 2024

Since we use liboqs/docs to generate OSSL_ALGORITHM oqsprovider_signatures[], OSSL_ALGORITHM oqsprovider_asym_kems and others, shouldn't we move this issue to liboqs?

As I understand it, to add aliases, we simply add them to OSSL_ALGORITHM.algorithm_names by concatenating them with :.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants