Lines Matching +full:- +full:seed

8       http:www.apache.org/licenses/LICENSE-2.0
23 #include <phosphor-logging/elog-errors.hpp>
24 #include <phosphor-logging/lg2.hpp>
38 const std::array<uint8_t, maxSeedSize>& seed, in compareDigest() argument
46 reinterpret_cast<const unsigned char*>(seed.data()), in compareDigest()
47 seed.size(), iterValue, digestFunc, hashLen, in compareDigest()
64 const std::array<uint8_t, maxSeedSize>& seed, in isMatch() argument
71 return compareDigest(EVP_sha256(), SHA256_DIGEST_LENGTH, expected, seed, in isMatch()
77 return compareDigest(EVP_sha384(), SHA384_DIGEST_LENGTH, expected, seed, in isMatch()
86 std::array<uint8_t, maxSeedSize>& seed, in getParam() argument
109 seed = json["Seed"]; in getParam()
124 std::string& newPassword, std::array<uint8_t, maxSeedSize>& seed, in verifyIntegrityCheck() argument
131 reinterpret_cast<const unsigned char*>(seed.data()), in verifyIntegrityCheck()
132 seed.size(), iterValue, digestFunc, mdLen, in verifyIntegrityCheck()
149 std::array<uint8_t, maxSeedSize> seed; in verifyPassword() local
152 if (getParam(orgUsrPwdHash, orgAdminPwdHash, seed, hashAlgo)) in verifyPassword()
155 seed.empty() || hashAlgo.empty()) in verifyPassword()
167 if (!isMatch(orgAdminPwdHash, seed, currentPassword, hashAlgo)) in verifyPassword()
174 if (!isMatch(orgUsrPwdHash, seed, currentPassword, hashAlgo)) in verifyPassword()
181 if (!verifyIntegrityCheck(newPassword, seed, 32, EVP_sha256())) in verifyPassword()
188 if (!verifyIntegrityCheck(newPassword, seed, 48, EVP_sha384())) in verifyPassword()