Home
last modified time | relevance | path

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

/external/ms-tpm-20-ref/TPMCmd/tpm/include/
DSelfTest.h88 # define DEFAULT_TEST_DIGEST_SIZE SHA512_DIGEST_SIZE macro
92 # define DEFAULT_TEST_DIGEST_SIZE SHA384_DIGEST_SIZE macro
96 # define DEFAULT_TEST_DIGEST_SIZE SHA256_DIGEST_SIZE macro
100 # define DEFAULT_TEST_DIGEST_SIZE SHA1_DIGEST_SIZE macro
/external/ms-tpm-20-ref/TPMCmd/tpm/src/crypt/
DAlgorithmTests.c410 memcpy(testInput.t.buffer, c_RsaTestValue, DEFAULT_TEST_DIGEST_SIZE); in TestRsaEncryptDecrypt()
411 testInput.t.size = DEFAULT_TEST_DIGEST_SIZE; in TestRsaEncryptDecrypt()
424 if(testOutput.t.size != DEFAULT_TEST_DIGEST_SIZE in TestRsaEncryptDecrypt()
426 DEFAULT_TEST_DIGEST_SIZE)) in TestRsaEncryptDecrypt()
434 if(testOutput.t.size != DEFAULT_TEST_DIGEST_SIZE in TestRsaEncryptDecrypt()
436 DEFAULT_TEST_DIGEST_SIZE)) in TestRsaEncryptDecrypt()
472 memcpy(testDigest.t.buffer, (BYTE *)c_RsaTestValue, DEFAULT_TEST_DIGEST_SIZE); in TestRsaSignAndVerify()
473 testDigest.t.size = DEFAULT_TEST_DIGEST_SIZE; in TestRsaSignAndVerify()