DH_get_1024_160.pod 2.2 KB

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