Searched refs:keyLen (Results 1 – 2 of 2) sorted by relevance
/openbmc/phosphor-host-ipmid/user_channel/ |
H A D | passwd_mgr.cpp | 145 bool doEncrypt, const EVP_CIPHER* cipher, uint8_t* key, size_t keyLen, in encryptDecryptData() argument 151 (size_t)EVP_CIPHER_key_length(cipher) > keyLen || in encryptDecryptData() 165 HMAC(EVP_sha256(), key, keyLen, inBytes, inBytesLen, calMac.data(), in encryptDecryptData() 225 if (NULL == HMAC(EVP_sha256(), key, keyLen, outBytes, *outBytesLen, mac, in encryptDecryptData() 327 auto keyLen = key.size(); in readPasswdFileData() local 330 key.data(), reinterpret_cast<unsigned int*>(&keyLen))) in readPasswdFileData() 346 if (encryptDecryptData(false, EVP_aes_128_cbc(), key.data(), keyLen, iv, in readPasswdFileData() 357 OPENSSL_cleanse(key.data(), keyLen); in readPasswdFileData() 493 size_t keyLen = key.size(); in updatePasswdSpecialFile() local 506 key.data(), reinterpret_cast<unsigned int*>(&keyLen))) in updatePasswdSpecialFile() [all …]
|
H A D | passwd_mgr.hpp | 122 bool doEncrypt, const EVP_CIPHER* cipher, uint8_t* key, size_t keyLen,
|