RSA_X931_generate_key_ex

Generate an RSA key pair using the X9.31 prime-generation method (deprecated).

Synopsis

Declared in <openssl/rsa.h>

[[deprecated]]
int
RSA_X931_generate_key_ex(
    RSA* rsa,
    int bits,
    BIGNUM const* e,
    BN_GENCB* cb);

WARNING

Deprecated. Use of this entity is allowed but discouraged.

Return Value

1 on success, or 0 on error.

Parameters

NameDescription
rsaDestination RSA object to populate.
bitsDesired modulus size in bits.
ePublic exponent.
cbOptional BN_GENCB progress callback, or NULL.