Home
last modified time | relevance | path

Searched refs:hashLen (Results 1 – 2 of 2) sorted by relevance

/openbmc/phosphor-host-ipmid/user_channel/
H A Dpasswd_mgr.cpp488 size_t hashLen = EVP_MD_block_size(digest); in updatePasswdSpecialFile() local
489 std::vector<uint8_t> hash(hashLen); in updatePasswdSpecialFile()
499 if (RAND_bytes(hash.data(), hashLen) != 1) in updatePasswdSpecialFile()
505 HMAC(digest, keyBuff.data(), keyBuff.size(), hash.data(), hashLen, in updatePasswdSpecialFile()
538 metaData.hashSize = hashLen; in updatePasswdSpecialFile()
550 if (fwrite(&hash[0], 1, hashLen, (temp)()) != hashLen) in updatePasswdSpecialFile()
/openbmc/bios-settings-mgr/src/
H A Dpassword.cpp42 unsigned int hashLen = digestLen; in compareDigest() local
47 seed.size(), iterValue, digestFunc, hashLen, in compareDigest()