RSA_get0_p

Return the first prime factor (p) of an RSA key without transferring ownership.

Synopsis

Declared in <openssl/rsa.h>

[[deprecated]]
BIGNUM const*
RSA_get0_p(RSA const* d);

WARNING

Deprecated. Use of this entity is allowed but discouraged.

Return Value

Internal BIGNUM for p, or NULL if unset.

Parameters

NameDescription
dRSA key to query.