Install ECDSA signing callbacks on an EC_KEY_METHOD.

Synopsis

Declared in <openssl/ec.h>

[[deprecated]]
void
EC_KEY_METHOD_set_sign(
    EC_KEY_METHOD* meth,
    int(* sign)(int, unsigned char const*, int, unsigned char*, unsigned int*, BIGNUM const*, BIGNUM const*, EC_KEY*),
    int(* sign_setup)(EC_KEY*, BN_CTX*, BIGNUM**, BIGNUM**),
    ECDSA_SIG*(* sign_sig)(unsigned char const*, int, BIGNUM const*, BIGNUM const*, EC_KEY*));
Warning

Deprecated. Use of this entity is allowed but discouraged.

Description

Deprecated; custom EC_KEY_METHOD signing is superseded by providers.

Parameters

Name

Description

meth

Method object to update.

sign

Optional ECDSA_sign‐style callback (type, digest, signature buffer).

sign_setup

Optional precomputation of kinv/r for signing.

sign_sig

Optional callback that returns an ECDSA_SIG structure.

Created with MrDocs