Home
last modified time | relevance | path

Searched refs:ERROR_CHECK (Results 1 – 4 of 4) sorted by relevance

/device/linaro/bootloader/edk2/SecurityPkg/Library/TcgStorageOpalLib/
DTcgStorageOpalCore.c204 ERROR_CHECK(OpalTrustedSend( in OpalPerformMethod()
214 ERROR_CHECK(OpalTrustedRecv( in OpalPerformMethod()
223 ERROR_CHECK(TcgInitTcgParseStruct(ParseStruct, Buffer, BufferSize)); in OpalPerformMethod()
224 ERROR_CHECK(TcgCheckComIds(ParseStruct, Session->OpalBaseComId, Session->ComIdExtension)); in OpalPerformMethod()
225 ERROR_CHECK(TcgGetMethodStatus(ParseStruct, MethodStatus)); in OpalPerformMethod()
297 ERROR_CHECK(TcgInitTcgCreateStruct(&CreateStruct, Buffer, BUFFER_SIZE)); in OpalPsidRevert()
298ERROR_CHECK(TcgStartComPacket(&CreateStruct, AdminSpSession->OpalBaseComId, AdminSpSession->ComIdE… in OpalPsidRevert()
299ERROR_CHECK(TcgStartPacket(&CreateStruct, AdminSpSession->TperSessionId, AdminSpSession->HostSessi… in OpalPsidRevert()
300 ERROR_CHECK(TcgStartSubPacket(&CreateStruct, 0x0)); in OpalPsidRevert()
301 ERROR_CHECK(TcgStartMethodCall(&CreateStruct, OPAL_UID_ADMIN_SP, OPAL_ADMIN_SP_REVERT_METHOD)); in OpalPsidRevert()
[all …]
/device/linaro/bootloader/edk2/SecurityPkg/Library/TcgStorageCoreLib/
DTcgStorageUtil.c94 ERROR_CHECK(TcgAddCall(CreateStruct)); in TcgStartMethodCall()
95 ERROR_CHECK(TcgAddTcgUid(CreateStruct, InvokingId)); in TcgStartMethodCall()
96 ERROR_CHECK(TcgAddTcgUid(CreateStruct, MethodId)); in TcgStartMethodCall()
173 ERROR_CHECK(TcgAddEndOfData(CreateStruct)); in TcgEndMethodCall()
175 ERROR_CHECK(TcgAddStartList(CreateStruct)); in TcgEndMethodCall()
176 ERROR_CHECK(TcgAddUINT8(CreateStruct, 0x00)); // expected to complete properly in TcgEndMethodCall()
177 ERROR_CHECK(TcgAddUINT8(CreateStruct, 0x00)); // reserved in TcgEndMethodCall()
178 ERROR_CHECK(TcgAddUINT8(CreateStruct, 0x00)); // reserved in TcgEndMethodCall()
179 ERROR_CHECK(TcgAddEndList(CreateStruct)); in TcgEndMethodCall()
235 ERROR_CHECK(TcgGetComIds(ParseStruct, &ParseComId, &ParseComIdExtension)); in TcgCheckComIds()
[all …]
DTcgStorageCore.c1182 ERROR_CHECK(TcgGetAtomInfo(TcgToken, &HdrLength, &DataLength, &ByteOrInt, &IsSigned)); in TcgGetTokenUINT64()
1275 ERROR_CHECK(TcgGetNextToken(ParseStruct, &Tok)); in TcgGetNextUINT8()
1276 ERROR_CHECK(TcgGetTokenUINT64(&Tok, &Value64)); in TcgGetNextUINT8()
1308 ERROR_CHECK(TcgGetNextToken(ParseStruct, &Tok)); in TcgGetNextUINT16()
1309 ERROR_CHECK(TcgGetTokenUINT64(&Tok, &Value64)); in TcgGetNextUINT16()
1341 ERROR_CHECK(TcgGetNextToken(ParseStruct, &Tok)); in TcgGetNextUINT32()
1342 ERROR_CHECK(TcgGetTokenUINT64(&Tok, &Value64)); in TcgGetNextUINT32()
1370 ERROR_CHECK(TcgGetNextToken(ParseStruct, &Tok)); in TcgGetNextUINT64()
1371 ERROR_CHECK(TcgGetTokenUINT64(&Tok, Value)); in TcgGetNextUINT64()
1396 ERROR_CHECK(TcgGetNextToken(ParseStruct, &Tok)); in TcgGetNextBOOLEAN()
[all …]
/device/linaro/bootloader/edk2/SecurityPkg/Include/Library/
DTcgStorageCoreLib.h20 #define ERROR_CHECK(arg) \ macro