EVP_PKEY_OP_SIGN
int keysize = -1, pkey_op = EVP_PKEY_OP_SIGN, key_type = KEY_PRIVKEY;
pkey_op = EVP_PKEY_OP_SIGN;
if (pkey_op == EVP_PKEY_OP_SIGN || pkey_op == EVP_PKEY_OP_VERIFY) {
&& (pkey_op == EVP_PKEY_OP_SIGN || pkey_op == EVP_PKEY_OP_VERIFY)) {
if (((pkey_op == EVP_PKEY_OP_SIGN) || (pkey_op == EVP_PKEY_OP_DECRYPT)
case EVP_PKEY_OP_SIGN:
case EVP_PKEY_OP_SIGN:
case EVP_PKEY_OP_SIGN:
case EVP_PKEY_OP_SIGN:
case EVP_PKEY_OP_SIGN:
ctx->pctx->operation = EVP_PKEY_OP_SIGN;
if (ctx->operation != EVP_PKEY_OP_SIGN
case EVP_PKEY_OP_SIGN:
|| (operation == EVP_PKEY_OP_SIGN && ctx->pmeth->sign == NULL)
case EVP_PKEY_OP_SIGN:
return evp_pkey_signature_init(ctx, NULL, EVP_PKEY_OP_SIGN, NULL);
return evp_pkey_signature_init(ctx, NULL, EVP_PKEY_OP_SIGN, params);
return evp_pkey_signature_init(ctx, algo, EVP_PKEY_OP_SIGN, params);
if (!(ctx->operation & (EVP_PKEY_OP_SIGN | EVP_PKEY_OP_VERIFY)))
(EVP_PKEY_OP_SIGN | EVP_PKEY_OP_SIGNMSG \
case EVP_PKEY_OP_SIGN:
EVP_PKEY_OP_SIGN, \
& (EVP_PKEY_OP_SIGN | EVP_PKEY_OP_SIGNMSG))
= (operation & (EVP_PKEY_OP_SIGN | EVP_PKEY_OP_SIGNMSG)) != 0;
EVP_PKEY_OP_SIGN, "DSA Sign Init");
EVP_PKEY_OP_SIGN, \
& (EVP_PKEY_OP_SIGN | EVP_PKEY_OP_SIGNMSG))
(operation & (EVP_PKEY_OP_SIGN | EVP_PKEY_OP_SIGNMSG)) != 0))
EVP_PKEY_OP_SIGN, "ECDSA Sign Init");
EVP_PKEY_OP_SIGN, "ML_DSA Sign Init");
EVP_PKEY_OP_SIGN, "ML_DSA Sign Init");
& (EVP_PKEY_OP_SIGNMSG | EVP_PKEY_OP_SIGN))
& (EVP_PKEY_OP_SIGN | EVP_PKEY_OP_SIGNMSG
EVP_PKEY_OP_SIGN, \
& (EVP_PKEY_OP_SIGN | EVP_PKEY_OP_SIGNMSG))
EVP_PKEY_OP_SIGN, "RSA Sign Init");
EVP_PKEY_OP_SIGN, "SLH_DSA Sign Init");
EVP_PKEY_OP_SIGN, "SLH_DSA Sign Init");
if ((operation == EVP_PKEY_OP_SIGN && pxor_sigctx->sig == NULL)
return xor_sig_signverify_init(vpxor_sigctx, vxorsig, EVP_PKEY_OP_SIGN);
EVP_PKEY_OP_SIGN);