Searched refs:g_inFailureMode (Results 1 – 11 of 11) sorted by relevance
79 g_inFailureMode = (CryptInit() == FALSE); in _TPM_Init()80 if(!g_inFailureMode) in _TPM_Init()
113 if(g_inFailureMode) in ExecuteCommand()300 if((g_updateNV != UT_NONE) && !g_inFailureMode) in ExecuteCommand()
435 && !g_inFailureMode; type = *types++) in CommandDispatcher()
214 if(g_inFailureMode) in MillerRabin()290 ERROR_RETURN(g_inFailureMode ? TPM_RC_FAILURE : TPM_RC_VALUE); in RsaCheckPrime()
606 return OK && !g_inFailureMode; in BnEccGetPrivate()807 if(g_inFailureMode) in CryptEccGenerateKey()
376 if(g_inFailureMode) in OaepEncode()519 if(g_inFailureMode) in RSAES_PKCS1v1_5Encode()634 if(g_inFailureMode) in PssEncode()
477 return (g_inFailureMode ? TPM_RC_FAILURE : TPM_RC_NO_RESULT); in PrimeSelectWithSieve()
180 return (g_inFailureMode) ? TPM_RC_FAILURE : TPM_RC_NO_RESULT; in CryptGenerateKeyedHash()344 if(g_inFailureMode) in CryptGenerateKeySymmetric()1094 if(g_inFailureMode) in CryptCreateObject()
596 return !g_inFailureMode; in BnGenerateRandomInRange()
209 g_inFailureMode = TRUE; in TpmLogFailure()239 g_inFailureMode = TRUE; in TpmFail()
1374 EXTERN BOOL g_inFailureMode; // Indicates that the TPM is in failure mode variable