This is an automated email from the ASF dual-hosted git repository.

remm pushed a commit to branch 9.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/9.0.x by this push:
     new 278c475cf0 Add SLH-DSA signature scheme ids
278c475cf0 is described below

commit 278c475cf0261ba9c1a2478cf2ed9eb43a84863a
Author: remm <[email protected]>
AuthorDate: Mon Mar 9 16:52:29 2026 +0100

    Add SLH-DSA signature scheme ids
    
    Map to the MLDSA slot, in particular because it is not working.
    https://github.com/openssl/openssl/issues/28026
---
 .../util/net/openssl/ciphers/SignatureScheme.java       | 17 ++++++++++++++++-
 1 file changed, 16 insertions(+), 1 deletion(-)

diff --git 
a/java/org/apache/tomcat/util/net/openssl/ciphers/SignatureScheme.java 
b/java/org/apache/tomcat/util/net/openssl/ciphers/SignatureScheme.java
index e67bcdb21d..5bad9e8ffd 100644
--- a/java/org/apache/tomcat/util/net/openssl/ciphers/SignatureScheme.java
+++ b/java/org/apache/tomcat/util/net/openssl/ciphers/SignatureScheme.java
@@ -57,7 +57,22 @@ public enum SignatureScheme {
     // ML-DSA algorithms
     mldsa44(0x0904, Authentication.MLDSA),
     mldsa65(0x0905, Authentication.MLDSA),
-    mldsa87(0x0906, Authentication.MLDSA);
+    mldsa87(0x0906, Authentication.MLDSA),
+
+    // SLH-DSA algorithms
+    // Note: Mapped to ML-DSA for now, since not working
+    slhdsa_sha2_128s(0x0911, Authentication.MLDSA),
+    slhdsa_sha2_128f(0x0912, Authentication.MLDSA),
+    slhdsa_sha2_192s(0x0913, Authentication.MLDSA),
+    slhdsa_sha2_192f(0x0914, Authentication.MLDSA),
+    slhdsa_sha2_256s(0x0915, Authentication.MLDSA),
+    slhdsa_sha2_256f(0x0916, Authentication.MLDSA),
+    slhdsa_shake_128s(0x0917, Authentication.MLDSA),
+    slhdsa_shake_128f(0x0918, Authentication.MLDSA),
+    slhdsa_shake_192s(0x0919, Authentication.MLDSA),
+    slhdsa_shake_192f(0x091a, Authentication.MLDSA),
+    slhdsa_shake_256s(0x091b, Authentication.MLDSA),
+    slhdsa_shake_256f(0x091c, Authentication.MLDSA);
 
     private final int id;
     private final Authentication auth;


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to