Home
last modified time | relevance | path

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

/external/ms-tpm-20-ref/TPMCmd/tpm/include/
DHashTestData.h39 TPM2B_TYPE(HASH_TEST_KEY, 128); // Twice the largest digest size
51 TPM2B_TYPE(HASH_TEST_DATA, 256); // Twice the largest block size
72 TPM2B_TYPE(SHA1, 20);
80 TPM2B_TYPE(SHA256, 32);
88 TPM2B_TYPE(SHA384, 48);
97 TPM2B_TYPE(SHA512, 64);
106 TPM2B_TYPE(EMPTY, 1);
DKdfTestData.h42 TPM2B_TYPE(KDF_TEST_KEY, TEST_KDF_KEY_SIZE);
47 TPM2B_TYPE(KDF_TEST_LABEL, 17);
52 TPM2B_TYPE(KDF_TEST_CONTEXT, 8);
DTPMB.h51 #define TPM2B_TYPE(name, bytes) \ macro
70 #define TPM2B_BYTE_VALUE(bytes) TPM2B_TYPE(bytes##_BYTE_VALUE, bytes)
DEccTestData.h39 TPM2B_TYPE(EC_TEST, 32);
79 TPM2B_TYPE(TEST_VALUE, 64);
DGlobal.h101 TPM2B_TYPE(PROOF, PROOF_SIZE);
104 TPM2B_TYPE(SEED, PRIMARY_SEED_SIZE);
DCryptHash.h219 #define HASH_TPM2B(HASH, Hash) TPM2B_TYPE(HASH##_DIGEST, HASH##_DIGEST_SIZE);
DTpmAlgorithmDefines.h390 TPM2B_TYPE(MAX_HASH_BLOCK, MAX_HASH_BLOCK_SIZE);
/external/ms-tpm-20-ref/TPMCmd/tpm/src/crypt/
DCryptEccCrypt.c94 TPM2B_TYPE(2ECC, MAX_ECC_KEY_BYTES * 2); in CryptEccEncrypt()
171 TPM2B_TYPE(2ECC, MAX_ECC_KEY_BYTES * 2); in CryptEccDecrypt()
DCryptEccSignature.c321 TPM2B_TYPE(T, MAX(MAX_DIGEST_SIZE, MAX_ECC_KEY_BYTES)); in BnSignEcSchnorr()
723 TPM2B_TYPE(BUFFER, MAX(MAX_ECC_PARAMETER_BYTES, MAX_DIGEST_SIZE)); in BnValidateSignatureEcSchnorr()
DBnMath.c551 TPM2B_TYPE(LARGEST, LARGEST_NUMBER + 8); in BnGetRandomBits()
DCryptUtil.c839 TPM2B_TYPE(TEMP_KEY, (sizeof(extraKey->t.buffer) in CryptParameterEncryption()
906 TPM2B_TYPE(HMAC_KEY, (sizeof(extraKey->t.buffer) in CryptParameterDecryption()
DCryptEccMain.c300 TPM2B_TYPE(8B, 8); in CryptGenerateR()
DCryptRsa.c257 TPM2B_TYPE(4BYTES, 4); in RSAEP()
/external/ms-tpm-20-ref/Samples/TPMCmd-DeviceID/Platform/src/
DEPS.c62 TPM2B_TYPE(DEVICEID, DEVICEID_SIZE);
/external/ms-tpm-20-ref/TPMCmd/tpm/src/crypt/wolf/
DTpmToWolfMath.c157 TPM2B_TYPE(TEST, 16); in MathLibraryCompatibilityCheck()
/external/ms-tpm-20-ref/TPMCmd/tpm/src/subsystem/
DSession.c543 TPM2B_TYPE(KEY, (sizeof(TPMT_HA) + sizeof(seed->t.buffer))); in SessionCreate()
/external/ms-tpm-20-ref/TPMCmd/tpm/src/main/
DSessionProcess.c818 TPM2B_TYPE(KEY, (sizeof(AUTH_VALUE) * 2)); in ComputeCommandHMAC()
1968 TPM2B_TYPE(KEY, (sizeof(AUTH_VALUE) * 2)); in ComputeResponseHMAC()
/external/ms-tpm-20-ref/Samples/ARM32-FirmwareTPM/optee_ta/fTPM/reference/include/
DImplementation.h1125 TPM2B_TYPE(MAX_HASH_BLOCK, MAX_HASH_BLOCK_SIZE);