Home
last modified time | relevance | path

Searched refs:cryptLoad (Results 1 – 6 of 6) sorted by relevance

/openbmc/estoraged/src/test/erase/
H A Dcrypto_test.cpp55 EXPECT_CALL(*mockCryptIface, cryptLoad(_, StrEq(CRYPT_LUKS2), nullptr)) in TEST_F()
76 EXPECT_CALL(*mockCryptIface, cryptLoad(_, StrEq(CRYPT_LUKS2), nullptr)) in TEST_F()
92 EXPECT_CALL(*mockCryptIface, cryptLoad(_, StrEq(CRYPT_LUKS2), nullptr)) in TEST_F()
108 EXPECT_CALL(*mockCryptIface, cryptLoad(_, StrEq(CRYPT_LUKS2), nullptr)) in TEST_F()
127 EXPECT_CALL(*mockCryptIface, cryptLoad(_, StrEq(CRYPT_LUKS2), nullptr)) in TEST_F()
/openbmc/estoraged/src/test/
H A Destoraged_test.cpp191 EXPECT_CALL(*mockCryptIface, cryptLoad(_, _, _)).Times(1); in TEST_F()
243 EXPECT_CALL(*mockCryptIface, cryptLoad(_, _, _)).Times(1); in TEST_F()
332 EXPECT_CALL(*mockCryptIface, cryptLoad(_, _, _)).WillOnce(Return(-1)); in TEST_F()
347 EXPECT_CALL(*mockCryptIface, cryptLoad(_, _, _)).Times(1); in TEST_F()
365 EXPECT_CALL(*mockCryptIface, cryptLoad(_, _, _)).Times(1); in TEST_F()
389 EXPECT_CALL(*mockCryptIface, cryptLoad(_, _, _)).Times(1); in TEST_F()
423 EXPECT_CALL(*mockCryptIface, cryptLoad(_, _, _)).Times(1); in TEST_F()
465 EXPECT_CALL(*mockCryptIface, cryptLoad(_, _, _)).Times(1); in TEST_F()
509 EXPECT_CALL(*mockCryptIface, cryptLoad(_, _, _)).Times(1); in TEST_F()
557 EXPECT_CALL(*mockCryptIface, cryptLoad(_, _, _)).Times(1); in TEST_F()
[all …]
/openbmc/estoraged/include/
H A DcryptsetupInterface.hpp98 virtual int cryptLoad(struct crypt_device* cd, const char* requestedType,
210 int cryptLoad(struct crypt_device* cd, const char* requestedType, in cryptLoad() function in estoraged::Cryptsetup
/openbmc/estoraged/src/erase/
H A DcryptoErase.cpp30 if (cryptIface->cryptLoad(cryptHandle.get(), CRYPT_LUKS2, nullptr) != 0) in doErase()
/openbmc/estoraged/src/test/include/
H A Destoraged_test.hpp66 MOCK_METHOD(int, cryptLoad,
/openbmc/estoraged/src/
H A Destoraged.cpp381 int retval = cryptIface->cryptLoad(cryptHandle.get(), CRYPT_LUKS2, nullptr); in loadLuksHeader()