Home
last modified time | relevance | path

Searched refs:TcgResultSuccess (Results 1 – 9 of 9) sorted by relevance

/device/linaro/bootloader/edk2/SecurityPkg/Library/TcgStorageOpalLib/
DTcgStorageOpalUtil.c50 if (Ret == TcgResultSuccess && MethodStatus == TCG_METHOD_STATUS_CODE_SUCCESS) { in OpalUtilPsidRevert()
52 if (Ret != TcgResultSuccess) { in OpalUtilPsidRevert()
105 if (Ret != TcgResultSuccess || MethodStatus != TCG_METHOD_STATUS_CODE_SUCCESS) { in OpalUtilSetAdminPasswordAsSid()
121 if (Ret != TcgResultSuccess || MethodStatus != TCG_METHOD_STATUS_CODE_SUCCESS) { in OpalUtilSetAdminPasswordAsSid()
132 if (Ret != TcgResultSuccess || MethodStatus != TCG_METHOD_STATUS_CODE_SUCCESS) { in OpalUtilSetAdminPasswordAsSid()
193 if ((Ret != TcgResultSuccess) || (MethodStatus != TCG_METHOD_STATUS_CODE_SUCCESS)) { in OpalUtilSetOpalLockingRange()
213 if (Ret != TcgResultSuccess || MethodStatus != TCG_METHOD_STATUS_CODE_SUCCESS) { in OpalUtilSetOpalLockingRange()
265 if (Ret != TcgResultSuccess || MethodStatus != TCG_METHOD_STATUS_CODE_SUCCESS) { in OpalUtilSetAdminPassword()
275 if (Ret != TcgResultSuccess || MethodStatus != TCG_METHOD_STATUS_CODE_SUCCESS) { in OpalUtilSetAdminPassword()
289 if (Ret != TcgResultSuccess || MethodStatus != TCG_METHOD_STATUS_CODE_SUCCESS) { in OpalUtilSetAdminPassword()
[all …]
DTcgStorageOpalCore.c79 return Status == EFI_SUCCESS ? TcgResultSuccess : TcgResultFailure; in OpalTrustedSend()
155 return TcgResultSuccess; in OpalTrustedRecv()
159 return TcgResultSuccess; in OpalTrustedRecv()
167 return TcgResultSuccess; in OpalTrustedRecv()
227 return TcgResultSuccess; in OpalPerformMethod()
315 return TcgResultSuccess; in OpalPsidRevert()
435 return TcgResultSuccess; // return early if method failed - user must check MethodStatus in OpalStartSession()
438 …sion->OpalBaseComId, ComIdExtension, HostSessionId, &Session->TperSessionId) != TcgResultSuccess) { in OpalStartSession()
443 return TcgResultSuccess; in OpalStartSession()
497 return TcgResultSuccess; in OpalEndSession()
[all …]
/device/linaro/bootloader/edk2/SecurityPkg/Library/TcgStorageCoreLib/
DTcgStorageCore.c55 return (TcgResultSuccess); in TcgInitTcgCreateStruct()
95 return (TcgResultSuccess); in TcgStartComPacket()
155 return (TcgResultSuccess); in TcgStartPacket()
204 return (TcgResultSuccess); in TcgStartSubPacket()
253 return (TcgResultSuccess); in TcgEndSubPacket()
281 return (TcgResultSuccess); in TcgEndPacket()
313 return (TcgResultSuccess); in TcgEndComPacket()
401 return (TcgResultSuccess); in TcgAddRawTokenData()
911 return (TcgResultSuccess); in TcgInitTcgParseStruct()
1072 return (TcgResultSuccess); in TcgGetNextToken()
[all …]
DTcgStorageUtil.c98 return TcgResultSuccess; in TcgStartMethodCall()
181 return TcgResultSuccess; in TcgEndMethodCall()
213 return TcgResultSuccess; in TcgGetComIds()
241 return TcgResultSuccess; in TcgCheckComIds()
301 return TcgResultSuccess; in TcgGetMethodStatus()
401 return TcgResultSuccess; in TcgCreateStartSession()
473 return TcgResultSuccess; in TcgParseSyncSession()
508 return TcgResultSuccess; in TcgCreateEndSession()
534 return TcgResultSuccess; in TcgStartMethodSet()
554 return TcgResultSuccess; in TcgEndMethodSet()
[all …]
/device/linaro/bootloader/edk2/SecurityPkg/Tcg/Opal/OpalPasswordDxe/
DOpalHii.c351 …portedAttributes, &OpalDisk->LockingFeature, OpalDisk->Owner, &AvailActions) != TcgResultSuccess) { in HiiSelectDiskAction()
612 if (Ret == TcgResultSuccess) { in HiiPopulateDiskInfoForm()
704 if (Ret == TcgResultSuccess) { in HiiPsidRevert()
777 if (Ret == TcgResultSuccess) { in HiiSetPassword()
800 if (Ret == TcgResultSuccess) { in HiiSetPassword()
815 if (Ret == TcgResultSuccess) { in HiiSetPassword()
856 if (Ret == TcgResultSuccess) { in HiiSetPassword()
867 return Ret == TcgResultSuccess ? EFI_SUCCESS : EFI_NOT_READY; in HiiSetPassword()
902 if (Ret == TcgResultSuccess) { in HiiSecureErase()
957 if (Ret == TcgResultSuccess) { in HiiDisableUser()
[all …]
DOpalDriver.c350 if (Ret == TcgResultSuccess) { in OpalDriverRequestPassword()
360 if (Ret == TcgResultSuccess) { in OpalDriverRequestPassword()
441 if (Result != TcgResultSuccess) { in ReadyToBootCallback()
/device/linaro/bootloader/edk2/SecurityPkg/Library/OpalPasswordSupportLib/
DOpalPasswordSupportLib.c105 return TcgResultSuccess; in OpalSupportGetAvailableActions()
132 if (Ret == TcgResultSuccess && !gInSmm) { in OpalSupportPsidRevert()
177 if (Ret == TcgResultSuccess && !gInSmm) { in OpalSupportSetPassword()
211 if (Ret == TcgResultSuccess && !gInSmm) { in OpalSupportDisableUser()
253 if (Ret == TcgResultSuccess) { in OpalSupportEnableOpalFeature()
271 if (Ret == TcgResultSuccess && !gInSmm) { in OpalSupportEnableOpalFeature()
312 if (Ret == TcgResultSuccess && !gInSmm) { in OpalSupportRevert()
344 if (Ret == TcgResultSuccess && !gInSmm) { in OpalSupportUnlock()
376 if (Ret == TcgResultSuccess && !gInSmm) { in OpalSupportLock()
/device/linaro/bootloader/edk2/SecurityPkg/Tcg/Opal/OpalPasswordSmm/
DOpalPasswordSmm.c203 if (Ret != TcgResultSuccess) { in IsOpalDeviceLocked()
212 if (Ret != TcgResultSuccess) { in IsOpalDeviceLocked()
446 if (Result == TcgResultSuccess) { in SmmUnlockOpalPassword()
453 if (Result != TcgResultSuccess) { in SmmUnlockOpalPassword()
/device/linaro/bootloader/edk2/SecurityPkg/Include/Library/
DTcgStorageCoreLib.h23 if (ret != TcgResultSuccess) { \
54 TcgResultSuccess, enumerator