1 | =pod
|
---|
2 |
|
---|
3 | =head1 NAME
|
---|
4 |
|
---|
5 | DH_get_1024_160,
|
---|
6 | DH_get_2048_224,
|
---|
7 | DH_get_2048_256,
|
---|
8 | BN_get0_nist_prime_192,
|
---|
9 | BN_get0_nist_prime_224,
|
---|
10 | BN_get0_nist_prime_256,
|
---|
11 | BN_get0_nist_prime_384,
|
---|
12 | BN_get0_nist_prime_521,
|
---|
13 | BN_get_rfc2409_prime_768,
|
---|
14 | BN_get_rfc2409_prime_1024,
|
---|
15 | BN_get_rfc3526_prime_1536,
|
---|
16 | BN_get_rfc3526_prime_2048,
|
---|
17 | BN_get_rfc3526_prime_3072,
|
---|
18 | BN_get_rfc3526_prime_4096,
|
---|
19 | BN_get_rfc3526_prime_6144,
|
---|
20 | BN_get_rfc3526_prime_8192
|
---|
21 | - Create standardized public primes or DH pairs
|
---|
22 |
|
---|
23 | =head1 SYNOPSIS
|
---|
24 |
|
---|
25 | #include <openssl/dh.h>
|
---|
26 | DH *DH_get_1024_160(void)
|
---|
27 | DH *DH_get_2048_224(void)
|
---|
28 | DH *DH_get_2048_256(void)
|
---|
29 |
|
---|
30 | const BIGNUM *BN_get0_nist_prime_192(void)
|
---|
31 | const BIGNUM *BN_get0_nist_prime_224(void)
|
---|
32 | const BIGNUM *BN_get0_nist_prime_256(void)
|
---|
33 | const BIGNUM *BN_get0_nist_prime_384(void)
|
---|
34 | const BIGNUM *BN_get0_nist_prime_521(void)
|
---|
35 |
|
---|
36 | BIGNUM *BN_get_rfc2409_prime_768(BIGNUM *bn)
|
---|
37 | BIGNUM *BN_get_rfc2409_prime_1024(BIGNUM *bn)
|
---|
38 | BIGNUM *BN_get_rfc3526_prime_1536(BIGNUM *bn)
|
---|
39 | BIGNUM *BN_get_rfc3526_prime_2048(BIGNUM *bn)
|
---|
40 | BIGNUM *BN_get_rfc3526_prime_3072(BIGNUM *bn)
|
---|
41 | BIGNUM *BN_get_rfc3526_prime_4096(BIGNUM *bn)
|
---|
42 | BIGNUM *BN_get_rfc3526_prime_6144(BIGNUM *bn)
|
---|
43 | BIGNUM *BN_get_rfc3526_prime_8192(BIGNUM *bn)
|
---|
44 |
|
---|
45 | =head1 DESCRIPTION
|
---|
46 |
|
---|
47 | DH_get_1024_160(), DH_get_2048_224(), and DH_get_2048_256() each return
|
---|
48 | a DH object for the IETF RFC 5114 value.
|
---|
49 |
|
---|
50 | BN_get0_nist_prime_192(), BN_get0_nist_prime_224(), BN_get0_nist_prime_256(),
|
---|
51 | BN_get0_nist_prime_384(), and BN_get0_nist_prime_521() functions return
|
---|
52 | a BIGNUM for the specific NIST prime curve (e.g., P-256).
|
---|
53 |
|
---|
54 | BN_get_rfc2409_prime_768(), BN_get_rfc2409_prime_1024(),
|
---|
55 | BN_get_rfc3526_prime_1536(), BN_get_rfc3526_prime_2048(),
|
---|
56 | BN_get_rfc3526_prime_3072(), BN_get_rfc3526_prime_4096(),
|
---|
57 | BN_get_rfc3526_prime_6144(), and BN_get_rfc3526_prime_8192() functions
|
---|
58 | return a BIGNUM for the specified size from IETF RFC 2409. If B<bn>
|
---|
59 | is not NULL, the BIGNUM will be set into that location as well.
|
---|
60 |
|
---|
61 | =head1 RETURN VALUES
|
---|
62 |
|
---|
63 | Defined above.
|
---|
64 |
|
---|
65 | =head1 COPYRIGHT
|
---|
66 |
|
---|
67 | Copyright 2016 The OpenSSL Project Authors. All Rights Reserved.
|
---|
68 |
|
---|
69 | Licensed under the OpenSSL license (the "License"). You may not use
|
---|
70 | this file except in compliance with the License. You can obtain a copy
|
---|
71 | in the file LICENSE in the source distribution or at
|
---|
72 | L<https://www.openssl.org/source/license.html>.
|
---|
73 |
|
---|
74 | =cut
|
---|