1DH_GET_1024_160(3)                  OpenSSL                 DH_GET_1024_160(3)
2
3
4

NAME

6       DH_get_1024_160, DH_get_2048_224, DH_get_2048_256,
7       BN_get0_nist_prime_192, BN_get0_nist_prime_224, BN_get0_nist_prime_256,
8       BN_get0_nist_prime_384, BN_get0_nist_prime_521,
9       BN_get_rfc2409_prime_768, BN_get_rfc2409_prime_1024,
10       BN_get_rfc3526_prime_1536, BN_get_rfc3526_prime_2048,
11       BN_get_rfc3526_prime_3072, BN_get_rfc3526_prime_4096,
12       BN_get_rfc3526_prime_6144, BN_get_rfc3526_prime_8192 - Create
13       standardized public primes or DH pairs
14

SYNOPSIS

16        #include <openssl/dh.h>
17        DH *DH_get_1024_160(void)
18        DH *DH_get_2048_224(void)
19        DH *DH_get_2048_256(void)
20
21        const BIGNUM *BN_get0_nist_prime_192(void)
22        const BIGNUM *BN_get0_nist_prime_224(void)
23        const BIGNUM *BN_get0_nist_prime_256(void)
24        const BIGNUM *BN_get0_nist_prime_384(void)
25        const BIGNUM *BN_get0_nist_prime_521(void)
26
27        BIGNUM *BN_get_rfc2409_prime_768(BIGNUM *bn)
28        BIGNUM *BN_get_rfc2409_prime_1024(BIGNUM *bn)
29        BIGNUM *BN_get_rfc3526_prime_1536(BIGNUM *bn)
30        BIGNUM *BN_get_rfc3526_prime_2048(BIGNUM *bn)
31        BIGNUM *BN_get_rfc3526_prime_3072(BIGNUM *bn)
32        BIGNUM *BN_get_rfc3526_prime_4096(BIGNUM *bn)
33        BIGNUM *BN_get_rfc3526_prime_6144(BIGNUM *bn)
34        BIGNUM *BN_get_rfc3526_prime_8192(BIGNUM *bn)
35

DESCRIPTION

37       DH_get_1024_160(), DH_get_2048_224(), and DH_get_2048_256() each return
38       a DH object for the IETF RFC 5114 value.
39
40       BN_get0_nist_prime_192(), BN_get0_nist_prime_224(),
41       BN_get0_nist_prime_256(), BN_get0_nist_prime_384(), and
42       BN_get0_nist_prime_521() functions return a BIGNUM for the specific
43       NIST prime curve (e.g., P-256).
44
45       BN_get_rfc2409_prime_768(), BN_get_rfc2409_prime_1024(),
46       BN_get_rfc3526_prime_1536(), BN_get_rfc3526_prime_2048(),
47       BN_get_rfc3526_prime_3072(), BN_get_rfc3526_prime_4096(),
48       BN_get_rfc3526_prime_6144(), and BN_get_rfc3526_prime_8192() functions
49       return a BIGNUM for the specified size from IETF RFC 2409.  If bn is
50       not NULL, the BIGNUM will be set into that location as well.
51

RETURN VALUES

53       Defined above.
54
56       Copyright 2016 The OpenSSL Project Authors. All Rights Reserved.
57
58       Licensed under the OpenSSL license (the "License").  You may not use
59       this file except in compliance with the License.  You can obtain a copy
60       in the file LICENSE in the source distribution or at
61       <https://www.openssl.org/source/license.html>.
62
63
64
651.1.1i                            2021-01-26                DH_GET_1024_160(3)
Impressum