1=pod 2 3=head1 NAME 4 5DH_get_1024_160, 6DH_get_2048_224, 7DH_get_2048_256, 8BN_get0_nist_prime_192, 9BN_get0_nist_prime_224, 10BN_get0_nist_prime_256, 11BN_get0_nist_prime_384, 12BN_get0_nist_prime_521, 13BN_get_rfc2409_prime_768, 14BN_get_rfc2409_prime_1024, 15BN_get_rfc3526_prime_1536, 16BN_get_rfc3526_prime_2048, 17BN_get_rfc3526_prime_3072, 18BN_get_rfc3526_prime_4096, 19BN_get_rfc3526_prime_6144, 20BN_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 47DH_get_1024_160(), DH_get_2048_224(), and DH_get_2048_256() each return 48a DH object for the IETF RFC 5114 value. 49 50BN_get0_nist_prime_192(), BN_get0_nist_prime_224(), BN_get0_nist_prime_256(), 51BN_get0_nist_prime_384(), and BN_get0_nist_prime_521() functions return 52a BIGNUM for the specific NIST prime curve (e.g., P-256). 53 54BN_get_rfc2409_prime_768(), BN_get_rfc2409_prime_1024(), 55BN_get_rfc3526_prime_1536(), BN_get_rfc3526_prime_2048(), 56BN_get_rfc3526_prime_3072(), BN_get_rfc3526_prime_4096(), 57BN_get_rfc3526_prime_6144(), and BN_get_rfc3526_prime_8192() functions 58return a BIGNUM for the specified size from IETF RFC 2409. If B<bn> 59is not NULL, the BIGNUM will be set into that location as well. 60 61=head1 RETURN VALUES 62 63Defined above. 64 65=head1 COPYRIGHT 66 67Copyright 2016 The OpenSSL Project Authors. All Rights Reserved. 68 69Licensed under the OpenSSL license (the "License"). You may not use 70this file except in compliance with the License. You can obtain a copy 71in the file LICENSE in the source distribution or at 72L<https://www.openssl.org/source/license.html>. 73 74=cut 75