Replies: 3 comments 5 replies
-
|
I guess what you are saying here is that your HSM does not support multipart for ML-DSA ? At the moment there is no way not to use C_SignUpdate, and you should not see a call to C_Sign at all, because that would end the operation. If you could provide a debug log from the operation I can try to see if there is anything we can do on the OpenSSL side to improve the situation. |
Beta Was this translation helpful? Give feedback.
-
|
Actually we do have support for one shot operations, sorry, so I suspect you may be calling OpenSSL APIs in a way that is not correct. Can you should what OpenSSL calls you are using to perform the sign operation ? |
Beta Was this translation helpful? Give feedback.
-
|
is it in 3.2 spec or 3.3 spec? i mean u can do hash for MLDSA using external mu case. for instance: steps to do external MU of MLDSA (shake 256 hash)
context could be 0 to 255 in length. ok! hash MLDSA case. thanks |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
hi guys!
1st up, great job on the 1.1 release !
im testing with an HSM through pcks11 api.
ubuntu 25.10 with openssl 3.5.2 and latchset 1.1
When i do an openssl req with a pkcs11 URI to the HSM provider (not softhsm not yubijey :p) but a rack mounted hsm, the pkcs11 debug call shows
c signinit
c sign
c signupdate
so it goes to a multipart message for the MLDSA sign call for the openssl req (CSR generation)
is there a variable I can change in the latchset provider side to send a bigger c_sign to not do multipart MLDSA sign?
i dont want the signupdate. but just 1 c_sign and thats it.
hopefully you have a variable i can adjust maybe? and make bigger bytes?
i mean there is no standard for the max c_sign size is there??
the hsm side has a maximum size i know, but we didnt hit it yet as well.
thus im thinking there may be a preset max message size to do multipart if the data is bigger than i can adjust before i compile it.
100 dogecoins for this hahaha :-)
thanks guys!
Beta Was this translation helpful? Give feedback.
All reactions