Home
last modified time | relevance | path

Searched refs:TPM_ALG_ID (Results 1 – 25 of 54) sorted by relevance

123

/external/ms-tpm-20-ref/TPMCmd/tpm/include/prototypes/
DCryptHash_fp.h65 TPM_ALG_ID hashAlg
76 TPM_ALG_ID hashAlg, // IN: the algorithm to check
91 LIB_EXPORT TPM_ALG_ID
105 TPM_ALG_ID hashAlg // IN: hash algorithm to look up
117 TPM_ALG_ID hashAlg // IN: hash algorithm to look up
125 TPM_ALG_ID hashAlg
130 TPM_ALG_ID
182 TPM_ALG_ID hashAlg // IN: hash algorithm
220 TPM_ALG_ID hashAlg, // IN: The hash algorithm
275 TPM_ALG_ID hashAlg, // IN: the algorithm to use
[all …]
DCryptUtil_fp.h49 TPM_ALG_ID scheme // IN: the scheme algorithm to test
56 TPM_ALG_ID symAlg, // IN: the symmetric algorithm
57 TPM_ALG_ID hash, // IN: hash algorithm for KDFa
70 TPM_ALG_ID symAlg, // IN: symmetric algorithm
71 TPM_ALG_ID hash, // IN: hash algorithm for KDFa
86 TPM_ALG_ID hash, // IN: hash algorithm for KDF
138 TPM_ALG_ID algID // IN: algorithm ID
291 TPM_ALG_ID scheme // IN: the algorithm selector
433 TPM_ALG_ID keyType,
434 TPM_ALG_ID macAlg,
[all …]
DCryptSym_fp.h71 TPM_ALG_ID symmetricAlg, // IN: the symmetric algorithm
84 TPM_ALG_ID algorithm, // IN: the symmetric algorithm
89 TPM_ALG_ID mode, // IN: Mode to use
104 TPM_ALG_ID algorithm, // IN: the symmetric algorithm
109 TPM_ALG_ID mode, // IN: Mode to use
DObject_spt_fp.h162 TPM_ALG_ID hashAlg, // IN: hash algorithm for outer wrap
193 TPM_ALG_ID hashAlg, // IN: hash algorithm for outer wrap
215 TPM_ALG_ID nameAlg, // IN: hash algorithm in public area. This
241 TPM_ALG_ID nameAlg, // IN: hash algorithm in public area. It is
263 TPM_ALG_ID nameAlg, // IN: hash algorithm in public area. It
298 TPM_ALG_ID nameAlg, // IN: hash algorithm in public area.
DCryptSmac_fp.h51 TPM_ALG_ID macAlg, // IN: the type of MAC
62 TPM_ALG_ID macAlg, // IN: the type of MAC
DCryptRand_fp.h119 TPM_ALG_ID hashAlg, // IN: hash algorithm
120 TPM_ALG_ID kdf, // IN: the KDF to use
DObject_fp.h287 TPM_ALG_ID nameAlg, // IN: the hash algorithm to use
304 TPM_ALG_ID nameAlg, // IN: name hash
DAlgorithmTests_fp.h67 TPM_ALG_ID alg,
DAlgorithmCap_fp.h52 TPM_ALG_ID algID, // IN: the starting algorithm ID
/external/ms-tpm-20-ref/Samples/ARM32-FirmwareTPM/optee_ta/fTPM/reference/include/
DImplementation.h244 typedef UINT16 TPM_ALG_ID; typedef
246 #define TPM_ALG_ERROR (TPM_ALG_ID)(ALG_ERROR_VALUE)
249 #define TPM_ALG_RSA (TPM_ALG_ID)(ALG_RSA_VALUE)
253 #define TPM_ALG_TDES (TPM_ALG_ID)(ALG_TDES_VALUE)
257 #define TPM_ALG_SHA (TPM_ALG_ID)(ALG_SHA_VALUE)
261 #define TPM_ALG_SHA1 (TPM_ALG_ID)(ALG_SHA1_VALUE)
265 #define TPM_ALG_HMAC (TPM_ALG_ID)(ALG_HMAC_VALUE)
269 #define TPM_ALG_AES (TPM_ALG_ID)(ALG_AES_VALUE)
273 #define TPM_ALG_MGF1 (TPM_ALG_ID)(ALG_MGF1_VALUE)
277 #define TPM_ALG_KEYEDHASH (TPM_ALG_ID)(ALG_KEYEDHASH_VALUE)
[all …]
/external/ms-tpm-20-ref/TPMCmd/tpm/include/
DTpmTypes.h44 typedef UINT16 TPM_ALG_ID; typedef
47 #define TPM_ALG_ERROR (TPM_ALG_ID)(ALG_ERROR_VALUE)
49 #define TPM_ALG_RSA (TPM_ALG_ID)(ALG_RSA_VALUE)
51 #define TPM_ALG_TDES (TPM_ALG_ID)(ALG_TDES_VALUE)
53 #define TPM_ALG_SHA (TPM_ALG_ID)(ALG_SHA_VALUE)
55 #define TPM_ALG_SHA1 (TPM_ALG_ID)(ALG_SHA1_VALUE)
57 #define TPM_ALG_HMAC (TPM_ALG_ID)(ALG_HMAC_VALUE)
59 #define TPM_ALG_AES (TPM_ALG_ID)(ALG_AES_VALUE)
61 #define TPM_ALG_MGF1 (TPM_ALG_ID)(ALG_MGF1_VALUE)
63 #define TPM_ALG_KEYEDHASH (TPM_ALG_ID)(ALG_KEYEDHASH_VALUE)
[all …]
DCryptRand.h154 TPM_ALG_ID hash;
155 TPM_ALG_ID kdf;
/external/arm-trusted-firmware/drivers/measured_boot/
Dmeasured_boot.mk15 TPM_ALG_ID := TPM_ALG_SHA512
19 TPM_ALG_ID := TPM_ALG_SHA384
23 TPM_ALG_ID := TPM_ALG_SHA256
34 TPM_ALG_ID \
Devent_log.c154 ((tpmt_ha *)ptr)->algorithm_id = TPM_ALG_ID; in add_event2()
213 ((id_event_algorithm_size_t *)ptr)->algorithm_id = TPM_ALG_ID; in event_log_init()
243 ((tpmt_ha *)ptr)->algorithm_id = TPM_ALG_ID; in event_log_init()
246 (void)memset(&((tpmt_ha *)ptr)->digest, 0, TPM_ALG_ID); in event_log_init()
/external/ms-tpm-20-ref/TPMCmd/tpm/src/crypt/
DCryptHash.c98 TPM_ALG_ID hashAlg in CryptGetHashDef()
119 TPM_ALG_ID hashAlg, // IN: the algorithm to check in CryptHashIsValidAlg()
139 LIB_EXPORT TPM_ALG_ID
144 TPM_ALG_ID hashAlg; in CryptHashGetAlgByIndex()
161 TPM_ALG_ID hashAlg // IN: hash algorithm to look up in CryptHashGetDigestSize()
176 TPM_ALG_ID hashAlg // IN: hash algorithm to look up in CryptHashGetBlockSize()
187 TPM_ALG_ID hashAlg in CryptHashGetOid()
195 TPM_ALG_ID
360 TPM_ALG_ID hashAlg // IN: hash algorithm in CryptHashStart()
438 TPM_ALG_ID hashAlg, // IN: The hash algorithm in CryptHashBlock()
[all …]
DAlgorithmTests.c88 TPM_ALG_ID hashAlg, in TestHash()
136 TPM_ALG_ID mode, // IN: symmetric mode in MakeIv()
164 TPM_ALG_ID mode // in TestSymmetricAlgorithm()
217 TPM_ALG_ID alg; in AllModesAreDone()
229 TPM_ALG_ID alg, in TestSymmetric()
234 TPM_ALG_ID mode; in TestSymmetric()
346 TPM_ALG_ID scheme, // IN: the scheme in TestRsaEncryptDecrypt()
447 TPM_ALG_ID scheme, in TestRsaSignAndVerify()
525 TPM_ALG_ID alg, in TestRsa()
597 TPM_ALG_ID scheme, // IN: for consistency in TestECDH()
[all …]
DCryptSelfTest.c60 TPM_ALG_ID alg; in CryptRunSelfTests()
130 TPM_ALG_ID alg; in CryptIncrementalSelfTest()
200 TPM_ALG_ID alg, in CryptTestAlgorithm()
DCryptSym.c86 TPM_ALG_ID symmetricAlg, // IN: the symmetric algorithm in CryptGetSymmetricBlockSize()
131 TPM_ALG_ID algorithm, // IN: the symmetric algorithm in CryptSymmetricEncrypt()
136 TPM_ALG_ID mode, // IN: Mode to use in CryptSymmetricEncrypt()
285 TPM_ALG_ID algorithm, // IN: the symmetric algorithm in CryptSymmetricDecrypt()
290 TPM_ALG_ID mode, // IN: Mode to use in CryptSymmetricDecrypt()
DCryptUtil.c133 TPM_ALG_ID hashAlg; in CryptGenerateKeyedHash()
191 TPM_ALG_ID scheme // IN: the scheme algorithm to test in CryptIsSchemeAnonymous()
218 TPM_ALG_ID symAlg, // IN: the symmetric algorithm in ParmDecryptSym()
219 TPM_ALG_ID hash, // IN: hash algorithm for KDFa in ParmDecryptSym()
267 TPM_ALG_ID symAlg, // IN: symmetric algorithm in ParmEncryptSym()
268 TPM_ALG_ID hash, // IN: hash algorithm for KDFa in ParmEncryptSym()
360 TPM_ALG_ID hash, // IN: hash algorithm for KDF in CryptXORObfuscation()
491 TPM_ALG_ID algID // IN: algorithm ID in CryptIsAsymAlgorithm()
1183 TPM_ALG_ID scheme // IN: the algorithm selector in CryptIsSplitSign()
1768 TPM_ALG_ID macAlg = TPM_ALG_NULL; in CryptSelectMac()
[all …]
DCryptCmac.c59 TPM_ALG_ID macAlg, in CryptCmacStart()
98 TPM_ALG_ID algorithm = cmacState->symAlg; in CryptCmacData()
139 TPM_ALG_ID algorithm = cState->symAlg; in CryptCmacEnd()
DCryptSmac.c53 TPM_ALG_ID macAlg, // IN: the type of MAC in CryptSmacStart()
86 TPM_ALG_ID macAlg, // IN: the type of MAC in CryptMacStart()
/external/ms-tpm-20-ref/TPMCmd/tpm/src/command/Object/
DObject_spt.c49 TPM_ALG_ID symAlg; in GetIV2BSize()
99 TPM_ALG_ID hashAlg, // IN: hash algorithm for KDFa in ComputeProtectionKeyParms()
104 TPM_ALG_ID *symAlg, // OUT: the symmetric algorithm in ComputeProtectionKeyParms()
214 TPM_ALG_ID hashAlg, // IN: hash algorithm for inner wrap in ComputeInnerIntegrity()
249 TPM_ALG_ID hashAlg, // IN: hash algorithm for inner wrap in ProduceInnerIntegrity()
283 TPM_ALG_ID hashAlg, // IN: hash algorithm for inner wrap in CheckInnerIntegrity()
436 TPM_ALG_ID scheme = TPM_ALG_NULL; in SchemeChecks()
809 TPM_ALG_ID hashAlg, // IN: hash algorithm for outer wrap in ProduceOuterWrap()
821 TPM_ALG_ID symAlg; in ProduceOuterWrap()
895 TPM_ALG_ID hashAlg, // IN: hash algorithm for outer wrap in UnwrapOuter()
[all …]
/external/ms-tpm-20-ref/TPMCmd/tpm/src/support/
DAlgorithmCap.c45 TPM_ALG_ID algID;
171 TPM_ALG_ID algID, // IN: the starting algorithm ID in AlgorithmCapGetImplemented()
/external/ms-tpm-20-ref/TPMCmd/tpm/src/command/Symmetric/
DEncryptDecrypt_spt.c66 TPM_ALG_ID alg; in EncryptDecryptShared()
67 TPM_ALG_ID mode; in EncryptDecryptShared()
DEncryptDecrypt.c68 TPM_ALG_ID alg; in TPM2_EncryptDecrypt()
69 TPM_ALG_ID mode; in TPM2_EncryptDecrypt()

123