DSA_bits

Return the bit length of the DSA prime modulus p (deprecated).

Synopsis

Declared in <openssl/dsa.h>

[[deprecated]]
int
DSA_bits(DSA const* d);

WARNING

Deprecated. Use of this entity is allowed but discouraged.

Return Value

Bit length of p, or -1 if parameters are unavailable.

Parameters

NameDescription
dDSA key whose parameters are queried.