]> git.ipfire.org Git - thirdparty/openssl.git/commit
SLH-DSA clean ups
authorslontis <shane.lontis@oracle.com>
Fri, 8 Nov 2024 05:08:31 +0000 (16:08 +1100)
committerTomas Mraz <tomas@openssl.org>
Tue, 18 Feb 2025 09:13:53 +0000 (10:13 +0100)
commit5c2b404241139cb65d9990645a1b6437eef19301
tree536b8d4f686fe419e388309fdfc408cacd387de7
parentce3acbd07e4c3ea83ca7fb3629e8a0de3c8d7d8a
SLH-DSA clean ups

- Make slh_dsa_sign() return the siglen when sig is NULL.
- Remove the ability in fromdata to generate the public key root
  given the private key and public key seed. This was messy and can
  be done by key generation instead.
- Add common EVP_PKEY gettablesto SLH_DSA keys
  (OSSL_PKEY_PARAM_BITS, OSSL_PKEY_PARAM_SECURITY_BITS, and
   OSSL_PKEY_PARAM_MAX_SIZE).
- Update tests based on the above changes.

Reviewed-by: Paul Dale <ppzgs1@gmail.com>
Reviewed-by: Viktor Dukhovni <viktor@openssl.org>
Reviewed-by: Tim Hudson <tjh@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/25882)
crypto/slh_dsa/slh_dsa.c
crypto/slh_dsa/slh_dsa_key.c
include/crypto/slh_dsa.h
providers/implementations/keymgmt/slh_dsa_kmgmt.c
providers/implementations/signature/slh_dsa_sig.c
test/slh_dsa_test.c
util/perl/OpenSSL/paramnames.pm