Home | History | Annotate | Download | only in tpm2

Lines Matching defs:alg

25     TPM_ALG_ID                    alg;
28 for(alg = TPM_ALG_FIRST; alg <= TPM_ALG_LAST; alg++)
30 if(TEST_BIT(alg, *toTest))
32 TPM_RC result = CryptTestAlgorithm(alg, toTest);
96 TPM_ALG_ID alg;
104 TPM_ALG_ID alg = toTest->algorithms[i];
106 if((alg > TPM_ALG_LAST) || !TEST_BIT(alg, g_implementedAlgorithms))
108 SET_BIT(alg, toTestVector);
116 for(alg = TPM_ALG_FIRST;
117 toDoList->count < MAX_ALG_LIST_SIZE && alg <= TPM_ALG_LAST;
118 alg++)
120 if(TEST_BIT(alg, g_toTest))
121 toDoList->algorithms[toDoList->count++] = alg;
154 // g_toTest is CLEAR. There is a special case for the call to TestAlgorithm(). When alg is
166 TPM_ALG_ID alg,
175 TPM_RC TestAlgorithm(TPM_ALG_ID alg, ALGORITHM_VECTOR *toTest);
176 result = TestAlgorithm(alg, toTest);
183 if(alg != TPM_ALG_ERROR)
185 CLEAR_BIT(alg, g_toTest);
187 CLEAR_BIT(alg, *toTest);