EVP_KDF-PVKKDF.pod 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. =pod
  2. =head1 NAME
  3. EVP_KDF-PVKKDF - The PVK EVP_KDF implementation
  4. =head1 DESCRIPTION
  5. Support for computing the B<PVK KDF> PIN-based KDF through the B<EVP_KDF>
  6. API.
  7. The EVP_KDF-PVKKDF algorithm implements a PVK PIN-based key
  8. derivation function; it derives a key from a password using a salt.
  9. =head2 Identity
  10. "PVKKDF" is the name for this implementation; it
  11. can be used with the EVP_KDF_fetch() function.
  12. =head2 Supported parameters
  13. The supported parameters are:
  14. =over 4
  15. =item "pass" (B<OSSL_KDF_PARAM_PASSWORD>) <octet string>
  16. =item "salt" (B<OSSL_KDF_PARAM_SALT>) <octet string>
  17. =item "properties" (B<OSSL_KDF_PARAM_PROPERTIES>) <UTF8 string>
  18. =item "digest" (B<OSSL_KDF_PARAM_DIGEST>) <UTF8 string>
  19. These parameters work as described in L<EVP_KDF(3)/PARAMETERS>.
  20. =back
  21. =head1 NOTES
  22. A typical application of this algorithm is to derive keying material for an
  23. encryption algorithm from a password in the "pass" and a salt in "salt".
  24. No assumption is made regarding the given password; it is simply treated as a
  25. byte sequence.
  26. The legacy provider needs to be available in order to access this algorithm.
  27. =head1 SEE ALSO
  28. L<EVP_KDF(3)>,
  29. L<EVP_KDF_CTX_new(3)>,
  30. L<EVP_KDF_CTX_free(3)>,
  31. L<EVP_KDF_CTX_set_params(3)>,
  32. L<EVP_KDF_derive(3)>,
  33. L<EVP_KDF(3)/PARAMETERS>,
  34. L<OSSL_PROVIDER-legacy(7)>
  35. =head1 HISTORY
  36. This functionality was added in OpenSSL 3.2.
  37. =head1 COPYRIGHT
  38. Copyright 2021 The OpenSSL Project Authors. All Rights Reserved.
  39. Licensed under the Apache License 2.0 (the "License"). You may not use
  40. this file except in compliance with the License. You can obtain a copy
  41. in the file LICENSE in the source distribution or at
  42. L<https://www.openssl.org/source/license.html>.
  43. =cut