1EVP_KDF-PBKDF1(7ossl) OpenSSL EVP_KDF-PBKDF1(7ossl)
2
3
4
6 EVP_KDF-PBKDF1 - The PBKDF1 EVP_KDF implementation
7
9 Support for computing the PBKDF1 password-based KDF through the EVP_KDF
10 API.
11
12 The EVP_KDF-PBKDF1 algorithm implements the PBKDF1 password-based key
13 derivation function, as described in RFC 8018; it derives a key from a
14 password using a salt and iteration count.
15
16 Identity
17 "PBKDF1" is the name for this implementation; it can be used with the
18 EVP_KDF_fetch() function.
19
20 Supported parameters
21 The supported parameters are:
22
23 "pass" (OSSL_KDF_PARAM_PASSWORD) <octet string>
24 "salt" (OSSL_KDF_PARAM_SALT) <octet string>
25 "iter" (OSSL_KDF_PARAM_ITER) <unsigned integer>
26 This parameter has a default value of 0 and should be set.
27
28 "properties" (OSSL_KDF_PARAM_PROPERTIES) <UTF8 string>
29 "digest" (OSSL_KDF_PARAM_DIGEST) <UTF8 string>
30 These parameters work as described in "PARAMETERS" in EVP_KDF(3).
31
33 A typical application of this algorithm is to derive keying material
34 for an encryption algorithm from a password in the "pass", a salt in
35 "salt", and an iteration count.
36
37 Increasing the "iter" parameter slows down the algorithm which makes it
38 harder for an attacker to perform a brute force attack using a large
39 number of candidate passwords.
40
41 No assumption is made regarding the given password; it is simply
42 treated as a byte sequence.
43
45 RFC 8018
46
48 EVP_KDF(3), EVP_KDF_CTX_new(3), EVP_KDF_CTX_free(3),
49 EVP_KDF_CTX_set_params(3), EVP_KDF_derive(3), "PARAMETERS" in
50 EVP_KDF(3)
51
53 This functionality was added to OpenSSL 3.0.
54
56 Copyright 2021 The OpenSSL Project Authors. All Rights Reserved.
57
58 Licensed under the Apache License 2.0 (the "License"). You may not use
59 this file except in compliance with the License. You can obtain a copy
60 in the file LICENSE in the source distribution or at
61 <https://www.openssl.org/source/license.html>.
62
63
64
653.0.5 2022-11-01 EVP_KDF-PBKDF1(7ossl)