OSSL_PROVIDER-default.pod 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263
  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-KMAC, see L<EVP_MD-KECCAK-KMAC(7)>
  40. =item SHAKE, see L<EVP_MD-SHAKE(7)>
  41. =item BLAKE2, see L<EVP_MD-BLAKE2(7)>
  42. =item SM3, see L<EVP_MD-SM3(7)>
  43. =item MD5, see L<EVP_MD-MD5(7)>
  44. =item MD5-SHA1, see L<EVP_MD-MD5-SHA1(7)>
  45. =back
  46. =head2 Symmetric Ciphers
  47. =over 4
  48. =item AES, see L<EVP_CIPHER-AES(7)>
  49. =item ARIA, see L<EVP_CIPHER-ARIA(7)>
  50. =item CAMELLIA, see L<EVP_CIPHER-CAMELLIA(7)>
  51. =item DES, see L<EVP_CIPHER-DES(7)>
  52. =item BF, see L<EVP_CIPHER-BLOWFISH(7)>
  53. =item IDEA, see L<EVP_CIPHER-IDEA(7)>
  54. =item CAST5, see L<EVP_CIPHER-CAST(7)>
  55. =item SEED, see L<EVP_CIPHER-SEED(7)>
  56. =item SM4, see L<EVP_CIPHER-SM4(7)>
  57. =item RC2, see L<EVP_CIPHER-RC2(7)>
  58. =item RC4, see L<EVP_CIPHER-RC4(7)>
  59. =item RC5, see L<EVP_CIPHER-RC5(7)>
  60. =item ChaCha20, see L<EVP_CIPHER-CHACHA(7)>
  61. =item ChaCha20-Poly1305, see L<EVP_CIPHER-CHACHA(7)>
  62. =back
  63. =head2 Message Authentication Code (MAC)
  64. =over 4
  65. =item BLAKE2, see L<EVP_MAC-BLAKE2(7)>
  66. =item CMAC, see L<EVP_MAC-CMAC(7)>
  67. =item GMAC, see L<EVP_MAC-GMAC(7)>
  68. =item HMAC, see L<EVP_MAC-HMAC(7)>
  69. =item KMAC, see L<EVP_MAC-KMAC(7)>
  70. =item SIPHASH, see L<EVP_MAC-Siphash(7)>
  71. =item POLY1305, see L<EVP_MAC-Poly1305(7)>
  72. =back
  73. =head2 Key Derivation Function (KDF)
  74. =over 4
  75. =item HKDF, see L<EVP_KDF-HKDF(7)>
  76. =item SSKDF, see L<EVP_KDF-SS(7)>
  77. =item PBKDF2, see L<EVP_KDF-PBKDF2(7)>
  78. =item PKCS12KDF, see L<EVP_KDF-PKCS12KDF(7)>
  79. =item SSHKDF, see L<EVP_KDF-SSHKDF(7)>
  80. =item TLS1-PRF, see L<EVP_KDF-TLS1_PRF(7)>
  81. =item KBKDF, see L<EVP_KDF-KB(7)>
  82. =item X942KDF-ASN1, see L<EVP_KDF-X942-ASN1(7)>
  83. =item X942KDF-CONCAT, see L<EVP_KDF-X942-CONCAT(7)>
  84. =item X963KDF, see L<EVP_KDF-X963(7)>
  85. =item SCRYPT, see L<EVP_KDF-SCRYPT(7)>
  86. =item KRB5KDF, see L<EVP_KDF-KRB5KDF(7)>
  87. =back
  88. =head2 Key Exchange
  89. =over 4
  90. =item DH, see L<EVP_KEYEXCH-DH(7)>
  91. =item ECDH, see L<EVP_KEYEXCH-ECDH(7)>
  92. =item X25519, see L<EVP_KEYEXCH-X25519(7)>
  93. =item X448, see L<EVP_KEYEXCH-X448(7)>
  94. =back
  95. =head2 Asymmetric Signature
  96. =over 4
  97. =item DSA, see L<EVP_SIGNATURE-DSA(7)>
  98. =item RSA, see L<EVP_SIGNATURE-RSA(7)>
  99. =item HMAC, see L<EVP_SIGNATURE-HMAC(7)>
  100. =item SIPHASH, see L<EVP_SIGNATURE-Siphash(7)>
  101. =item POLY1305, see L<EVP_SIGNATURE-Poly1305(7)>
  102. =item CMAC, see L<EVP_SIGNATURE-CMAC(7)>
  103. =back
  104. =head2 Asymmetric Cipher
  105. =over 4
  106. =item RSA, see L<EVP_ASYM_CIPHER-RSA(7)>
  107. =item SM2, see L<EVP_ASYM_CIPHER-SM2(7)>
  108. =back
  109. =head2 Asymmetric Key Encapsulation
  110. =over 4
  111. =item RSA, see L<EVP_KEM-RSA(7)>
  112. =back
  113. =head2 Asymmetric Key Management
  114. =over 4
  115. =item DH, see L<EVP_KEYMGMT-DH(7)>
  116. =item DSA, see L<EVP_KEYMGMT-DSA(7)>
  117. =item RSA, see L<EVP_KEYMGMT-RSA(7)>
  118. =item EC, see L<EVP_KEYMGMT-EC(7)>
  119. =item X25519, see L<EVP_KEYMGMT-X25519(7)>
  120. =item X448, see L<EVP_KEYMGMT-X448(7)>
  121. =back
  122. =head2 Asymmetric Key Encoder
  123. The default provider also includes all of the encoding algorithms
  124. present in the base provider. Some of these have the property "fips=yes",
  125. to allow them to be used together with the FIPS provider.
  126. =over 4
  127. =item RSA, see L<OSSL_ENCODER-RSA(7)>
  128. =item DH, see L<OSSL_ENCODER-DH(7)>
  129. =item DSA, see L<OSSL_ENCODER-DSA(7)>
  130. =item EC, see L<OSSL_ENCODER-EC(7)>
  131. =item X25519, see L<OSSL_ENCODER-X25519(7)>
  132. =item X448, see L<OSSL_ENCODER-X448(7)>
  133. =back
  134. =head1 SEE ALSO
  135. L<openssl-core.h(7)>, L<openssl-core_dispatch.h(7)>, L<provider(7)>,
  136. L<OSSL_PROVIDER-base(7)>
  137. =head1 COPYRIGHT
  138. Copyright 2020-2021 The OpenSSL Project Authors. All Rights Reserved.
  139. Licensed under the Apache License 2.0 (the "License"). You may not use
  140. this file except in compliance with the License. You can obtain a copy
  141. in the file LICENSE in the source distribution or at
  142. L<https://www.openssl.org/source/license.html>.
  143. =cut