Home
last modified time | relevance | path

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

/external/ms-tpm-20-ref/TPMCmd/tpm/src/crypt/
DAlgorithmTests.c95 const TPM2B *testDigest = NULL; in TestHash() local
100 testDigest = &c_##HASH##_digest.b; \ in TestHash()
113 if(testDigest == NULL || testDigest->size == 0) in TestHash()
124 if((testDigest->size != computed.t.size) in TestHash()
125 || (memcmp(testDigest->buffer, computed.t.buffer, computed.b.size) != 0)) in TestHash()
453 static TPM2B_DIGEST testDigest; in TestRsaSignAndVerify() local
472 memcpy(testDigest.t.buffer, (BYTE *)c_RsaTestValue, DEFAULT_TEST_DIGEST_SIZE); in TestRsaSignAndVerify()
473 testDigest.t.size = DEFAULT_TEST_DIGEST_SIZE; in TestRsaSignAndVerify()
492 if(TPM_RC_SUCCESS != CryptRsaSign(&testSig, &testObject, &testDigest, NULL)) in TestRsaSignAndVerify()
505 &testDigest)) in TestRsaSignAndVerify()
[all …]