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 π
EVP_KDF(3)EVP_KDF_CTX_new(3)EVP_KDF_CTX_free(3)EVP_KDF_CTX_set_params(3)EVP_KDF_derive(3)"PARAMETERS"inEVP_KDF(3)OSSL_PROVIDER-legacy(7)
β HISTORY β
This functionality was added in OpenSSL 3.2. She's newer than you think and she ate π
π COPYRIGHT π
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
- ubuntu stonking: openssl 4.0.3-1ubuntu1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms