ECDSA_SIG_get0_r

Return a borrowed pointer to the r component of an ECDSA signature.

Synopsis

Declared in <openssl/ec.h>

BIGNUM const*
ECDSA_SIG_get0_r(ECDSA_SIG const* sig);

Return Value

Internal pointer to r, or NULL if unset; do not free.

Parameters

NameDescription
sigSignature to query.