Skip to content

Commit 0cb088f

Browse files
committed
provider: Add support for SignMessage and VerifyMessage API for RSA
Add support for the new EVP_PKEY_sign_message_xxx() and EVP_PKEY_verify_message_xxx() API with combined digest and sign algorithms such as 'RSA-SHAxxx'. Note that RSA-PSS is not supported by this API. This new API was added with OpenSSL 3.4.0 and requires changes in the providers to support it. Signed-off-by: Ingo Franzki <ifranzki@linux.ibm.com>
1 parent da5cf4f commit 0cb088f

File tree

2 files changed

+326
-0
lines changed

2 files changed

+326
-0
lines changed

src/provider/p_ibmca.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -226,6 +226,8 @@ struct ibmca_op_ctx {
226226
int saltlen;
227227
struct ibmca_pss_params pss;
228228
EVP_MD_CTX *md_ctx;
229+
unsigned char *signature;
230+
size_t signature_len;
229231
} signature; /* For operation EVP_PKEY_OP_SIGN/VERIFY */
230232
} rsa; /* For type EVP_PKEY_RSA and EVP_PKEY_RSA_PSS */
231233
union {

0 commit comments

Comments
 (0)