Home
last modified time | relevance | path

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

/openbmc/estoraged/include/
H A DcryptsetupInterface.hpp50 const char* uuid, const char* volumeKey,
85 struct crypt_device* cd, int keyslot, const char* volumeKey,
184 const char* uuid, const char* volumeKey, in cryptFormat() argument
187 return crypt_format(cd, type, cipher, cipherMode, uuid, volumeKey, in cryptFormat()
202 const char* volumeKey, size_t volumeKeySize, in cryptKeyslotAddByVolumeKey() argument
207 cd, keyslot, volumeKey, volumeKeySize, passphrase, passphraseSize); in cryptKeyslotAddByVolumeKey()
/openbmc/estoraged/src/
H A Destoraged.cpp317 std::vector<uint8_t> volumeKey(keySize); in formatLuksDev() local
318 if (RAND_bytes(volumeKey.data(), keySize) != 1) in formatLuksDev()
331 reinterpret_cast<const char*>(volumeKey.data()), volumeKey.size(), in formatLuksDev()