ECDSA_do_sign_ex

Computes ECDSA signature of a given hash value using the supplied private key (note: sig must point to ECDSA_size(eckey) bytes of memory).

extern (C) nothrow @nogc
ECDSA_do_sign_ex

Parameters

dgst const(ubyte)*

pointer to the hash value to sign

dgstlen int

length of the hash value

kinv const(libressl_d.openssl.ossl_typ.BIGNUM)*

BIGNUM with a pre-computed inverse k (optional)

rp const(libressl_d.openssl.ossl_typ.BIGNUM)*

BIGNUM with a pre-computed rp value (optioanl), see ECDSA_sign_setup

eckey libressl_d.openssl.ec.EC_KEY*

EC_KEY object containing a private EC key

Return Value

Type: .ECDSA_SIG*

pointer to a ECDSA_SIG structure or null if an error occurred

Meta