Return the prime factors p and q of an RSA key without transferring ownership (deprecated).

Synopsis

Declared in <openssl/rsa.h>

[[deprecated]]
void
RSA_get0_factors(
    RSA const* r,
    BIGNUM const** p,
    BIGNUM const** q);
Warning

Deprecated. Use of this entity is allowed but discouraged.

Return Value

the prime factors p and q of an RSA key without transferring ownership (deprecated).

Parameters

Name

Description

r

RSA key to query.

p

Optional destination for the first prime factor, or NULL.

q

Optional destination for the second prime factor, or NULL.

Created with MrDocs