EVP_KDF-PVKKDF(7SSL)

πŸ’– EVP_KDF-PVKKDF πŸ’–

okay bestie, gather round, because this is the 7SSL manual page for the OpenSSL PVK EVP_KDF implementation and it's lowkey iconic πŸŽ€


✨ NAME ✨

EVP_KDF-PVKKDF β€” the PVK EVP_KDF implementation, aka the thing that makes your password turn into a key πŸ”‘


🌸 DESCRIPTION 🌸

So basically: this is support for computing the PVK KDF, the PIN-based KDF, through the EVP_KDF API. Slay.

The EVP_KDF-PVKKDF algorithm implements a PVK PIN-based key derivation function; it derives a key from a password using a salt. That's the whole vibe. πŸ”₯

πŸ‘‘ Identity

"PVKKDF" is the name for this implementation; it can be used with the EVP_KDF_fetch() function. That's her name, use it πŸ’…

πŸ¦‹ Supported parameters

The supported parameters are, and yes bestie there are exactly four:

  • "pass" (OSSL_KDF_PARAM_PASSWORD) <octet string>
  • "salt" (OSSL_KDF_PARAM_SALT) <octet string>
  • "properties" (OSSL_KDF_PARAM_PROPERTIES) <UTF8 string>
  • "digest" (OSSL_KDF_PARAM_DIGEST) <UTF8 string>

These parameters work as described in "PARAMETERS" in EVP_KDF(3). Go read that one too, iykyk πŸ“–


πŸ’œ NOTES πŸ’œ

A typical application of this algorithm is to derive keying material for an encryption algorithm from a password in the "pass" and a salt in "salt". Classic. Main character energy.

No assumption is made regarding the given password; it is simply treated as a byte sequence. No judgement, no trimming, no "are you sure?" β€” just bytes, periodt πŸ™ˆ

⚠️ heads up bestie: the legacy provider needs to be available in order to access this algorithm. No legacy provider, no PVKKDF. fr fr πŸ’€

🌈 SEE ALSO 🌈


⭐ HISTORY ⭐

This functionality was added in OpenSSL 3.2. She's newer than you think and she ate πŸ“


Copyright 2021 The OpenSSL Project Authors. All Rights Reserved.

Licensed under the Apache License 2.0 (the "License"). You may not use this file except in compliance with the License. You can obtain a copy in the file LICENSE in the source distribution or at <https://www.openssl.org/source/license.html>.


and that's the whole page bestie 🫢 stay hydrated, read your man pages, and remember: legacy provider or it didn't happen. mwah πŸ’–

version 4.0.3, dated 2026-09-29 β€” that's EVP_KDF-PVKKDF(7SSL), signing off ✨🧚

πŸ“¦ where this page comes from