1e1051a39Sopenharmony_ci# 2e1051a39Sopenharmony_ci# Copyright 2021 The OpenSSL Project Authors. All Rights Reserved. 3e1051a39Sopenharmony_ci# 4e1051a39Sopenharmony_ci# Licensed under the Apache License 2.0 (the "License"). You may not use 5e1051a39Sopenharmony_ci# this file except in compliance with the License. You can obtain a copy 6e1051a39Sopenharmony_ci# in the file LICENSE in the source distribution or at 7e1051a39Sopenharmony_ci# https://www.openssl.org/source/license.html 8e1051a39Sopenharmony_ci 9e1051a39Sopenharmony_ci# Tests start with one of these keywords 10e1051a39Sopenharmony_ci# Cipher Decrypt Derive Digest Encoding KDF MAC PBE 11e1051a39Sopenharmony_ci# PrivPubKeyPair Sign Verify VerifyRecover 12e1051a39Sopenharmony_ci# and continue until a blank line. Lines starting with a pound sign are ignored. 13e1051a39Sopenharmony_ci 14e1051a39Sopenharmony_ciTitle = PBKDF1 tests 15e1051a39Sopenharmony_ci 16e1051a39Sopenharmony_ciAvailablein = legacy 17e1051a39Sopenharmony_ciKDF = PBKDF1 18e1051a39Sopenharmony_ciCtrl.pass = pass:password 19e1051a39Sopenharmony_ciCtrl.salt = salt:saltsalt 20e1051a39Sopenharmony_ciCtrl.iter = iter:1 21e1051a39Sopenharmony_ciCtrl.digest = digest:md2 22e1051a39Sopenharmony_ciOutput = 2C5DAEBD49984F34642ACC09BAD696D7 23e1051a39Sopenharmony_ci 24e1051a39Sopenharmony_ciAvailablein = legacy 25e1051a39Sopenharmony_ciKDF = PBKDF1 26e1051a39Sopenharmony_ciCtrl.pass = pass:password 27e1051a39Sopenharmony_ciCtrl.salt = salt:saltsalt 28e1051a39Sopenharmony_ciCtrl.iter = iter:1 29e1051a39Sopenharmony_ciCtrl.digest = digest:md5 30e1051a39Sopenharmony_ciOutput = FDBDF3419FFF98BDB0241390F62A9DB3 31e1051a39Sopenharmony_ci 32e1051a39Sopenharmony_ciAvailablein = legacy 33e1051a39Sopenharmony_ciKDF = PBKDF1 34e1051a39Sopenharmony_ciCtrl.pass = pass:password 35e1051a39Sopenharmony_ciCtrl.salt = salt:saltsalt 36e1051a39Sopenharmony_ciCtrl.iter = iter:1 37e1051a39Sopenharmony_ciCtrl.digest = digest:sha1 38e1051a39Sopenharmony_ciOutput = CAB86DD6261710891E8CB56EE3625691 39e1051a39Sopenharmony_ci 40e1051a39Sopenharmony_ciAvailablein = legacy 41e1051a39Sopenharmony_ciKDF = PBKDF1 42e1051a39Sopenharmony_ciCtrl.pass = pass:password 43e1051a39Sopenharmony_ciCtrl.salt = salt:saltsalt 44e1051a39Sopenharmony_ciCtrl.iter = iter:2 45e1051a39Sopenharmony_ciCtrl.digest = digest:md2 46e1051a39Sopenharmony_ciOutput = FD7999A1AB54B01B4FC39389A5FE820D 47e1051a39Sopenharmony_ci 48e1051a39Sopenharmony_ciAvailablein = legacy 49e1051a39Sopenharmony_ciKDF = PBKDF1 50e1051a39Sopenharmony_ciCtrl.pass = pass:password 51e1051a39Sopenharmony_ciCtrl.salt = salt:saltsalt 52e1051a39Sopenharmony_ciCtrl.iter = iter:2 53e1051a39Sopenharmony_ciCtrl.digest = digest:md5 54e1051a39Sopenharmony_ciOutput = 3D4A8D4FB4C6E8686B21D36142902966 55e1051a39Sopenharmony_ci 56e1051a39Sopenharmony_ciAvailablein = legacy 57e1051a39Sopenharmony_ciKDF = PBKDF1 58e1051a39Sopenharmony_ciCtrl.pass = pass:password 59e1051a39Sopenharmony_ciCtrl.salt = salt:saltsalt 60e1051a39Sopenharmony_ciCtrl.iter = iter:2 61e1051a39Sopenharmony_ciCtrl.digest = digest:sha1 62e1051a39Sopenharmony_ciOutput = E3A8DFCF2EEA6DC81D2AD154274FAAE9 63e1051a39Sopenharmony_ci 64e1051a39Sopenharmony_ciAvailablein = legacy 65e1051a39Sopenharmony_ciKDF = PBKDF1 66e1051a39Sopenharmony_ciCtrl.pass = pass:password 67e1051a39Sopenharmony_ciCtrl.salt = salt:saltsalt 68e1051a39Sopenharmony_ciCtrl.iter = iter:4096 69e1051a39Sopenharmony_ciCtrl.digest = digest:md2 70e1051a39Sopenharmony_ciOutput = 94E4671F438BD6C441C5B120C6CC79CA 71e1051a39Sopenharmony_ci 72e1051a39Sopenharmony_ciAvailablein = legacy 73e1051a39Sopenharmony_ciKDF = PBKDF1 74e1051a39Sopenharmony_ciCtrl.pass = pass:password 75e1051a39Sopenharmony_ciCtrl.salt = salt:saltsalt 76e1051a39Sopenharmony_ciCtrl.iter = iter:4096 77e1051a39Sopenharmony_ciCtrl.digest = digest:md5 78e1051a39Sopenharmony_ciOutput = 3283ED8F8D037045157DA055BFF84A02 79e1051a39Sopenharmony_ci 80e1051a39Sopenharmony_ciAvailablein = legacy 81e1051a39Sopenharmony_ciKDF = PBKDF1 82e1051a39Sopenharmony_ciCtrl.pass = pass:password 83e1051a39Sopenharmony_ciCtrl.salt = salt:saltsalt 84e1051a39Sopenharmony_ciCtrl.iter = iter:4096 85e1051a39Sopenharmony_ciCtrl.digest = digest:sha1 86e1051a39Sopenharmony_ciOutput = 3CB0C21E81127F5BFF2EEA2B5DC3F31D 87e1051a39Sopenharmony_ci 88e1051a39Sopenharmony_ciAvailablein = legacy 89e1051a39Sopenharmony_ciKDF = PBKDF1 90e1051a39Sopenharmony_ciCtrl.pass = pass:passwordPASSWORDpassword 91e1051a39Sopenharmony_ciCtrl.salt = salt:saltSALT 92e1051a39Sopenharmony_ciCtrl.iter = iter:65537 93e1051a39Sopenharmony_ciCtrl.digest = digest:md2 94e1051a39Sopenharmony_ciOutput = 36DAA8DEB8B471B26AA8CE064A81E54F 95e1051a39Sopenharmony_ci 96e1051a39Sopenharmony_ciAvailablein = legacy 97e1051a39Sopenharmony_ciKDF = PBKDF1 98e1051a39Sopenharmony_ciCtrl.pass = pass:passwordPASSWORDpassword 99e1051a39Sopenharmony_ciCtrl.salt = salt:saltSALT 100e1051a39Sopenharmony_ciCtrl.iter = iter:65537 101e1051a39Sopenharmony_ciCtrl.digest = digest:md5 102e1051a39Sopenharmony_ciOutput = 763F3BA457E3F9ED088B04B5361D7CCA 103e1051a39Sopenharmony_ci 104e1051a39Sopenharmony_ciAvailablein = legacy 105e1051a39Sopenharmony_ciKDF = PBKDF1 106e1051a39Sopenharmony_ciCtrl.pass = pass:passwordPASSWORDpassword 107e1051a39Sopenharmony_ciCtrl.salt = salt:saltSALT 108e1051a39Sopenharmony_ciCtrl.iter = iter:65537 109e1051a39Sopenharmony_ciCtrl.digest = digest:sha1 110e1051a39Sopenharmony_ciOutput = B2B4635718AAAD9FEF23FE328EB83ECF 111e1051a39Sopenharmony_ci 112e1051a39Sopenharmony_ciTitle = PBKDF1 tests for empty inputs 113e1051a39Sopenharmony_ci 114e1051a39Sopenharmony_ciAvailablein = legacy 115e1051a39Sopenharmony_ciKDF = PBKDF1 116e1051a39Sopenharmony_ciCtrl.pass = pass: 117e1051a39Sopenharmony_ciCtrl.salt = salt:saltsalt 118e1051a39Sopenharmony_ciCtrl.iter = iter:1 119e1051a39Sopenharmony_ciCtrl.digest = digest:md2 120e1051a39Sopenharmony_ciOutput = 8ECD1C4C1D57C415295784CCD4686905 121e1051a39Sopenharmony_ci 122e1051a39Sopenharmony_ciAvailablein = legacy 123e1051a39Sopenharmony_ciKDF = PBKDF1 124e1051a39Sopenharmony_ciCtrl.pass = pass: 125e1051a39Sopenharmony_ciCtrl.salt = salt:saltsalt 126e1051a39Sopenharmony_ciCtrl.iter = iter:1 127e1051a39Sopenharmony_ciCtrl.digest = digest:md5 128e1051a39Sopenharmony_ciOutput = F3D07DE5EFB5E2C3EAFC16B0CF7E07FA 129e1051a39Sopenharmony_ci 130e1051a39Sopenharmony_ciAvailablein = legacy 131e1051a39Sopenharmony_ciKDF = PBKDF1 132e1051a39Sopenharmony_ciCtrl.pass = pass: 133e1051a39Sopenharmony_ciCtrl.salt = salt:saltsalt 134e1051a39Sopenharmony_ciCtrl.iter = iter:1 135e1051a39Sopenharmony_ciCtrl.digest = digest:sha1 136e1051a39Sopenharmony_ciOutput = 2C2ABACE4BD8BB19F67113DA146DBB8C 137