Set the r and s components of a DSA signature, transferring ownership.

Synopsis

Declared in <openssl/dsa.h>

int
DSA_SIG_set0(
    DSA_SIG* sig,
    BIGNUM* r,
    BIGNUM* s);

Return Value

1 on success, or 0 on failure.

Parameters

Name

Description

sig

Signature object to update.

r

New r value; ownership transferred to sig (must not be NULL).

s

New s value; ownership transferred to sig (must not be NULL).

Created with MrDocs