test: add some PVK KDF unit test cases
[openssl.git] / test / recipes / 30-test_evp_data / evpkdf_pvkkdf.txt
1 #
2 # Copyright 2021 The OpenSSL Project Authors. All Rights Reserved.
3 #
4 # Licensed under the Apache License 2.0 (the "License").  You may not use
5 # this file except in compliance with the License.  You can obtain a copy
6 # in the file LICENSE in the source distribution or at
7 # https://www.openssl.org/source/license.html
8
9 # Tests start with one of these keywords
10 #       Cipher Decrypt Derive Digest Encoding KDF MAC PBE
11 #       PrivPubKeyPair Sign Verify VerifyRecover
12 # and continue until a blank line. Lines starting with a pound sign are ignored.
13
14 # Test cases created using OpenSSL
15 Title = PVKKDF tests
16
17 Availablein = legacy
18 KDF = PVKKDF
19 Ctrl.pass = pass:password
20 Ctrl.salt = salt:saltsalt
21 Ctrl.digest = digest:md5
22 Output = AE7CF6D3A33A2117FA4F008D66F6D26F
23
24 Availablein = legacy
25 KDF = PVKKDF
26 Ctrl.pass = pass:password
27 Ctrl.salt = salt:salt
28 Ctrl.digest = digest:md5
29 Output = 67A1E09BB1F83F5007DC119C14D663AA
30
31 Availablein = legacy
32 KDF = PVKKDF
33 Ctrl.pass = pass:password
34 Ctrl.salt = salt:saltsalt
35 Ctrl.digest = digest:md4
36 Output = E85DE988BB00EF61067A0506DFB044EE