DSA_sign_setup

Legacy DSA precomputation stub retained for ABI compatibility (deprecated; do not use).

Synopsis

Declared in <openssl/dsa.h>

[[deprecated]]
int
DSA_sign_setup(
    DSA* dsa,
    BN_CTX* ctx_in,
    BIGNUM** kinvp,
    BIGNUM** rp);

WARNING

Deprecated. Use of this entity is allowed but discouraged.

Description

Calling this only adds overhead; it does not affect DSA_sign().

Return Value

1 on success, or 0 / -1 on error.

Parameters

NameDescription
dsaDSA key (unused for signature math since OpenSSL 1.1.0 opaque DSA).
ctx_inOptional BN_CTX, or NULL.
kinvpReceives allocated BIGNUM output historically used as k^-1 (caller frees); may be unused.
rpReceives allocated BIGNUM output historically used as r (caller frees); may be unused.