OSSL_PROVIDER-default.pod 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255
  1. =pod
  2. =head1 NAME
  3. OSSL_PROVIDER-default - OpenSSL default provider
  4. =head1 DESCRIPTION
  5. The OpenSSL default provider supplies the majority of OpenSSL's diverse
  6. algorithm implementations. If an application doesn't specify anything else
  7. explicitly (e.g. in the application or via config), then this is the
  8. provider that will be used as fallback: It is loaded automatically the
  9. first time that an algorithm is fetched from a provider or a function
  10. acting on providers is called and no other provider has been loaded yet.
  11. If an attempt to load a provider has already been made (whether successful
  12. or not) then the default provider won't be loaded automatically. Therefore
  13. if the default provider is to be used in conjunction with other providers
  14. then it must be loaded explicitly. Automatic loading of the default
  15. provider only occurs a maximum of once; if the default provider is
  16. explicitly unloaded then the default provider will not be automatically
  17. loaded again.
  18. =head2 Properties
  19. The implementations in this provider specifically have this property
  20. defined:
  21. =over 4
  22. =item "provider=default"
  23. =back
  24. It may be used in a property query string with fetching functions such as
  25. L<EVP_MD_fetch(3)> or L<EVP_CIPHER_fetch(3)>, as well as with other
  26. functions that take a property query string, such as
  27. L<EVP_PKEY_CTX_new_from_name(3)>.
  28. It isn't mandatory to query for this property, except to make sure to get
  29. implementations of this provider and none other.
  30. Some implementations may define additional properties. Exact information is
  31. listed below
  32. =head1 OPERATIONS AND ALGORITHMS
  33. The OpenSSL default provider supports these operations and algorithms:
  34. =head2 Hashing Algorithms / Message Digests
  35. =over 4
  36. =item SHA1, see L<EVP_MD-SHA1(7)>
  37. =item SHA2, see L<EVP_MD-SHA2(7)>
  38. =item SHA3, see L<EVP_MD-SHA3(7)>
  39. =item KECCAK, see L<EVP_MD-KECCAK(7)>
  40. =item KECCAK-KMAC, see L<EVP_MD-KECCAK-KMAC(7)>
  41. =item SHAKE, see L<EVP_MD-SHAKE(7)>
  42. =item BLAKE2, see L<EVP_MD-BLAKE2(7)>
  43. =item SM3, see L<EVP_MD-SM3(7)>
  44. =item MD5, see L<EVP_MD-MD5(7)>
  45. =item MD5-SHA1, see L<EVP_MD-MD5-SHA1(7)>
  46. =back
  47. =head2 Symmetric Ciphers
  48. =over 4
  49. =item AES, see L<EVP_CIPHER-AES(7)>
  50. =item ARIA, see L<EVP_CIPHER-ARIA(7)>
  51. =item CAMELLIA, see L<EVP_CIPHER-CAMELLIA(7)>
  52. =item 3DES, see L<EVP_CIPHER-DES(7)>
  53. =item SEED, see L<EVP_CIPHER-SEED(7)>
  54. =item SM4, see L<EVP_CIPHER-SM4(7)>
  55. =item ChaCha20, see L<EVP_CIPHER-CHACHA(7)>
  56. =item ChaCha20-Poly1305, see L<EVP_CIPHER-CHACHA(7)>
  57. =back
  58. =head2 Message Authentication Code (MAC)
  59. =over 4
  60. =item BLAKE2, see L<EVP_MAC-BLAKE2(7)>
  61. =item CMAC, see L<EVP_MAC-CMAC(7)>
  62. =item GMAC, see L<EVP_MAC-GMAC(7)>
  63. =item HMAC, see L<EVP_MAC-HMAC(7)>
  64. =item KMAC, see L<EVP_MAC-KMAC(7)>
  65. =item SIPHASH, see L<EVP_MAC-Siphash(7)>
  66. =item POLY1305, see L<EVP_MAC-Poly1305(7)>
  67. =back
  68. =head2 Key Derivation Function (KDF)
  69. =over 4
  70. =item HKDF, see L<EVP_KDF-HKDF(7)>
  71. =item SSKDF, see L<EVP_KDF-SS(7)>
  72. =item PBKDF2, see L<EVP_KDF-PBKDF2(7)>
  73. =item PKCS12KDF, see L<EVP_KDF-PKCS12KDF(7)>
  74. =item SSHKDF, see L<EVP_KDF-SSHKDF(7)>
  75. =item TLS1-PRF, see L<EVP_KDF-TLS1_PRF(7)>
  76. =item KBKDF, see L<EVP_KDF-KB(7)>
  77. =item X942KDF-ASN1, see L<EVP_KDF-X942-ASN1(7)>
  78. =item X942KDF-CONCAT, see L<EVP_KDF-X942-CONCAT(7)>
  79. =item X963KDF, see L<EVP_KDF-X963(7)>
  80. =item SCRYPT, see L<EVP_KDF-SCRYPT(7)>
  81. =item KRB5KDF, see L<EVP_KDF-KRB5KDF(7)>
  82. =back
  83. =head2 Key Exchange
  84. =over 4
  85. =item DH, see L<EVP_KEYEXCH-DH(7)>
  86. =item ECDH, see L<EVP_KEYEXCH-ECDH(7)>
  87. =item X25519, see L<EVP_KEYEXCH-X25519(7)>
  88. =item X448, see L<EVP_KEYEXCH-X448(7)>
  89. =back
  90. =head2 Asymmetric Signature
  91. =over 4
  92. =item DSA, see L<EVP_SIGNATURE-DSA(7)>
  93. =item RSA, see L<EVP_SIGNATURE-RSA(7)>
  94. =item HMAC, see L<EVP_SIGNATURE-HMAC(7)>
  95. =item SIPHASH, see L<EVP_SIGNATURE-Siphash(7)>
  96. =item POLY1305, see L<EVP_SIGNATURE-Poly1305(7)>
  97. =item CMAC, see L<EVP_SIGNATURE-CMAC(7)>
  98. =back
  99. =head2 Asymmetric Cipher
  100. =over 4
  101. =item RSA, see L<EVP_ASYM_CIPHER-RSA(7)>
  102. =item SM2, see L<EVP_ASYM_CIPHER-SM2(7)>
  103. =back
  104. =head2 Asymmetric Key Encapsulation
  105. =over 4
  106. =item RSA, see L<EVP_KEM-RSA(7)>
  107. =back
  108. =head2 Asymmetric Key Management
  109. =over 4
  110. =item DH, see L<EVP_KEYMGMT-DH(7)>
  111. =item DHX, see L<EVP_KEYMGMT-DHX(7)>
  112. =item DSA, see L<EVP_KEYMGMT-DSA(7)>
  113. =item RSA, see L<EVP_KEYMGMT-RSA(7)>
  114. =item EC, see L<EVP_KEYMGMT-EC(7)>
  115. =item X25519, see L<EVP_KEYMGMT-X25519(7)>
  116. =item X448, see L<EVP_KEYMGMT-X448(7)>
  117. =back
  118. =head2 Asymmetric Key Encoder
  119. The default provider also includes all of the encoding algorithms
  120. present in the base provider. Some of these have the property "fips=yes",
  121. to allow them to be used together with the FIPS provider.
  122. =over 4
  123. =item RSA, see L<OSSL_ENCODER-RSA(7)>
  124. =item DH, see L<OSSL_ENCODER-DH(7)>
  125. =item DSA, see L<OSSL_ENCODER-DSA(7)>
  126. =item EC, see L<OSSL_ENCODER-EC(7)>
  127. =item X25519, see L<OSSL_ENCODER-X25519(7)>
  128. =item X448, see L<OSSL_ENCODER-X448(7)>
  129. =back
  130. =head1 SEE ALSO
  131. L<openssl-core.h(7)>, L<openssl-core_dispatch.h(7)>, L<provider(7)>,
  132. L<OSSL_PROVIDER-base(7)>
  133. =head1 COPYRIGHT
  134. Copyright 2020-2021 The OpenSSL Project Authors. All Rights Reserved.
  135. Licensed under the Apache License 2.0 (the "License"). You may not use
  136. this file except in compliance with the License. You can obtain a copy
  137. in the file LICENSE in the source distribution or at
  138. L<https://www.openssl.org/source/license.html>.
  139. =cut