Searched refs:cryptIface (Results 1 – 5 of 5) sorted by relevance
| /openbmc/estoraged/src/erase/ |
| H A D | cryptoErase.cpp | 22 Erase(devPathIn), cryptIface(std::move(inCryptIface)) in CryptErase() 30 if (cryptIface->cryptLoad(cryptHandle.get(), CRYPT_LUKS2, nullptr) != 0) in doErase() 39 int nKeySlots = cryptIface->cryptKeySlotMax(CRYPT_LUKS2); in doErase() 59 cryptIface->cryptKeySlotStatus(cryptHandle.get(), i); in doErase() 63 if (cryptIface->cryptKeyslotDestroy(cryptHandle.get(), i) != 0) in doErase()
|
| /openbmc/estoraged/src/ |
| H A D | estoraged.cpp | 54 eraseMinGeometry(eraseMinGeometry), cryptIface(std::move(cryptInterface)), in EStoraged() 56 cryptDevicePath(cryptIface->cryptGetDir() + "/" + luksName), in EStoraged() 287 int retval = cryptIface->cryptKeyslotChangeByPassphrase( in changePassword() 348 int retval = cryptIface->cryptFormat( in formatLuksDev() 361 retval = cryptIface->cryptKeyslotAddByVolumeKey( in formatLuksDev() 381 int retval = cryptIface->cryptLoad(cryptHandle.get(), CRYPT_LUKS2, nullptr); in loadLuksHeader() 413 int retval = cryptIface->cryptActivateByPassphrase( in activateLuksDev() 535 int retval = cryptIface->cryptDeactivate(nullptr, containerName.c_str()); in deactivateLuksDev()
|
| /openbmc/estoraged/include/ |
| H A D | cryptErase.hpp | 33 std::unique_ptr<estoraged::CryptsetupInterface> cryptIface; member in estoraged::CryptErase
|
| H A D | estoraged.hpp | 181 std::unique_ptr<CryptsetupInterface> cryptIface; member in estoraged::EStoraged
|
| /openbmc/estoraged/src/test/ |
| H A D | estoraged_test.cpp | 130 std::unique_ptr<MockCryptsetupInterface> cryptIface = in SetUp() local 132 mockCryptIface = cryptIface.get(); in SetUp() 138 EXPECT_CALL(*cryptIface, cryptGetDir).WillOnce(Return(testCryptDir)); in SetUp() 151 std::move(cryptIface), std::move(fsIface)); in SetUp()
|