]> git.ipfire.org Git - thirdparty/openssl.git/commit
s390x: Return condition code of kdsa instruction
authorHolger Dengler <dengler@linux.ibm.com>
Wed, 26 Nov 2025 15:18:37 +0000 (16:18 +0100)
committerTomas Mraz <tomas@openssl.org>
Wed, 3 Dec 2025 13:32:07 +0000 (14:32 +0100)
commitbcaa2a3af60c3c1f282b621522bbc316341bf692
tree52444070112ab888441a5928c239326cd13be542
parentedc8edb9579ac1219df302529f986e5ddf755d24
s390x: Return condition code of kdsa instruction

The kdsa instruction is doing some parameter checking for the verify
function codes, like r/s equals zero and range checks. To handle these
cases correctly in the calling functions, the asm returns now also
condition code 2.

Signed-off-by: Holger Dengler <dengler@linux.ibm.com>
Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/29214)
crypto/s390xcpuid.pl