BN_get_rfc2409_prime_1024

Return the 1024-bit MODP group prime from RFC 2409.

Synopsis

Declared in <openssl/bn.h>

BIGNUM*
BN_get_rfc2409_prime_1024(BIGNUM* bn);

Return Value

The prime (possibly newly allocated), or NULL on error.

Parameters

NameDescription
bnExisting BIGNUM to fill, or NULL to allocate.