/external/tpm2/ |
D | CpriHash_fp.h | 20 _cpri__HashBlock(TPM_ALG_ID hashAlg, // IN: The hash algorithm 28 _cpri__GetDigestSize(TPM_ALG_ID hashAlg // IN: hash algorithm to look up 31 _cpri__GetHashDER(TPM_ALG_ID hashAlg, // IN: the algorithm to look up 34 _cpri__KDFa(TPM_ALG_ID hashAlg, // IN: hash algorithm used in HMAC 48 _cpri__KDFe(TPM_ALG_ID hashAlg, // IN: hash algorithm used in HMAC 59 TPM_ALG_ID hashAlg, // IN: hash to use 64 _cpri__StartHMAC(TPM_ALG_ID hashAlg, // IN: the algorithm to use 72 _cpri__StartHash(TPM_ALG_ID hashAlg, // IN: hash algorithm 89 LIB_EXPORT TPM_ALG_ID 92 LIB_EXPORT TPM_ALG_ID _cpri__GetHashAlgByIndex(UINT32 index // IN: the index [all …]
|
D | CpriRSA_fp.h | 15 TPM_ALG_ID padType, // IN: the type of padding 18 TPM_ALG_ID hashAlg, // IN: in case this is needed for the scheme 25 TPM_ALG_ID padType, // IN: the type of padding 28 TPM_ALG_ID hashAlg, // IN: in case this is needed 36 TPM_ALG_ID 48 TPM_ALG_ID scheme, // IN: the scheme to use 49 TPM_ALG_ID hashAlg, // IN: hash algorithm for PKSC1v1_5 63 TPM_ALG_ID scheme, // IN: the scheme to use 64 TPM_ALG_ID hashAlg, // IN: hash algorithm
|
D | Implementation.h | 292 typedef UINT16 TPM_ALG_ID; typedef 293 #define TPM_ALG_ERROR (TPM_ALG_ID)(0x0000) 296 #define TPM_ALG_RSA (TPM_ALG_ID)(0x0001) 300 #define TPM_ALG_SHA (TPM_ALG_ID)(0x0004) 304 #define TPM_ALG_SHA1 (TPM_ALG_ID)(0x0004) 308 #define TPM_ALG_HMAC (TPM_ALG_ID)(0x0005) 312 #define TPM_ALG_AES (TPM_ALG_ID)(0x0006) 316 #define TPM_ALG_MGF1 (TPM_ALG_ID)(0x0007) 320 #define TPM_ALG_KEYEDHASH (TPM_ALG_ID)(0x0008) 324 #define TPM_ALG_XOR (TPM_ALG_ID)(0x000A) [all …]
|
D | CryptUtil_fp.h | 96 TPM_ALG_ID scheme, // IN: the key exchange scheme 112 TPM_ALG_ID CryptGetContextAlg(void *state // IN: the context to check 114 LIB_EXPORT TPM_ALG_ID CryptGetHashAlgByIndex(UINT32 index // IN: the index 117 CryptGetHashDigestSize(TPM_ALG_ID hashAlg // IN: hash algorithm 149 TPM_ALG_ID hashAlg, // IN: hash algorithm for the KDF 157 CryptGetHashDigestSize(TPM_ALG_ID hashAlg // IN: hash algorithm 168 CryptHashBlock(TPM_ALG_ID algId, // IN: the hash algorithm to use 188 _cpri__KDFa(((TPM_ALG_ID)hashAlg), ((TPM2B *)key), ((const char *)label), \ 205 _cpri__KDFa(((TPM_ALG_ID)hashAlg), ((TPM2B *)key), ((const char *)label), \ 220 _cpri__KDFe(((TPM_ALG_ID)hashAlg), ((TPM2B *)Z), ((const char *)label), \ [all …]
|
D | CpriECC_fp.h | 14 TPM_ALG_ID scheme, // IN: the key exchange scheme 24 TPM_ALG_ID scheme, // IN: the key exchange scheme 60 TPM_ALG_ID 77 TPM_ALG_ID scheme, // IN: the scheme selector 78 TPM_ALG_ID hashAlg, // IN: the hash algorithm if need 88 TPM_ALG_ID scheme, // IN: the scheme selector 89 TPM_ALG_ID
|
D | Object_spt_fp.h | 23 TPM_ALG_ID nameAlg, // IN: hash algorithm in public area. 50 TPM_ALG_ID nameAlg, // IN: hash algorithm in public area. It is passed 63 TPM_ALG_ID hashAlg, // IN: hash algorithm for outer wrap 93 TPM_ALG_ID nameAlg, // IN: hash algorithm in public area. It is passed 111 TPM_ALG_ID nameAlg, // IN: hash algorithm in public area. This parameter 121 TPM_ALG_ID hashAlg, // IN: hash algorithm for outer wrap
|
D | CryptSelfTest.c | 25 TPM_ALG_ID alg; in CryptRunSelfTests() 96 TPM_ALG_ID alg; in CryptIncrementalSelfTest() 104 TPM_ALG_ID alg = toTest->algorithms[i]; in CryptIncrementalSelfTest() 166 TPM_ALG_ID alg, in CryptTestAlgorithm() 175 TPM_RC TestAlgorithm(TPM_ALG_ID alg, ALGORITHM_VECTOR *toTest); in CryptTestAlgorithm()
|
D | CpriHash.c | 34 TPM_ALG_ID hashAlg in GetHashServer() 106 TPM_ALG_ID algType, // IN: The hash algorithm selector in GetHashState() 133 TPM_ALG_ID hashAlg in GetHashInfoPointer() 188 LIB_EXPORT TPM_ALG_ID 210 TPM_ALG_ID hashAlg // IN: hash algorithm to look up in _cpri__GetHashBlockSize() 223 TPM_ALG_ID hashAlg, // IN: the algorithm to look up in _cpri__GetHashDER() 245 TPM_ALG_ID hashAlg // IN: hash algorithm to look up in _cpri__GetDigestSize() 256 LIB_EXPORT TPM_ALG_ID 300 TPM_ALG_ID hashAlg, // IN: hash algorithm in _cpri__StartHash() 502 TPM_ALG_ID hashAlg, // IN: The hash algorithm in _cpri__HashBlock() [all …]
|
D | tpm_types.h | 565 typedef TPM_ALG_ID TPMI_ALG_HASH; 567 typedef TPM_ALG_ID TPMI_ALG_ASYM; 569 typedef TPM_ALG_ID TPMI_ALG_SYM; 571 typedef TPM_ALG_ID TPMI_ALG_SYM_OBJECT; 573 typedef TPM_ALG_ID TPMI_ALG_SYM_MODE; 575 typedef TPM_ALG_ID TPMI_ALG_KDF; 577 typedef TPM_ALG_ID TPMI_ALG_SIG_SCHEME; 579 typedef TPM_ALG_ID TPMI_ECC_KEY_EXCHANGE; 588 TPM_ALG_ID alg; 752 TPM_ALG_ID alg; [all …]
|
D | CpriRSA.c | 335 TPM_ALG_ID hashAlg, // IN: algorithm to use for padding in OaepEncode() 429 TPM_ALG_ID hashAlg, // IN: algorithm to use for padding in OaepDecode() 606 TPM_ALG_ID hashAlg, // IN: hash algorithm to use for the encoding in PssEncode() 691 TPM_ALG_ID hashAlg, // IN: hash algorithm to use for the encoding in PssDecode() 793 TPM_ALG_ID hashAlg, // IN: hash algorithm for PKSC1v1_5 in RSASSA_Encode() 839 TPM_ALG_ID hashAlg, // IN: hash algorithm to use for the encoding in RSASSA_Decode() 920 TPM_ALG_ID padType, // IN: the type of padding in _cpri__EncryptRSA() 923 TPM_ALG_ID hashAlg, // IN: in case this is needed in _cpri__EncryptRSA() 993 TPM_ALG_ID padType, // IN: the type of padding in _cpri__DecryptRSA() 996 TPM_ALG_ID hashAlg, // IN: in case this is needed for the scheme in _cpri__DecryptRSA() [all …]
|
D | Object_spt.c | 72 TPM_ALG_ID symAlg; in GetIV2BSize() 104 TPM_ALG_ID hashAlg, // IN: hash algorithm for KDFa in ComputeProtectionKeyParms() 109 TPM_ALG_ID *symAlg, // OUT: the symmetric algorithm in ComputeProtectionKeyParms() 195 TPM_ALG_ID hashAlg, // IN: hash algorithm for inner wrap in ComputeInnerIntegrity() 225 TPM_ALG_ID hashAlg, // IN: hash algorithm for inner wrap in ProduceInnerIntegrity() 262 TPM_ALG_ID hashAlg, // IN: hash algorithm for inner wrap in CheckInnerIntegrity() 703 TPM_ALG_ID hashAlg, // IN: hash algorithm for outer wrap in ProduceOuterWrap() 715 TPM_ALG_ID symAlg; in ProduceOuterWrap() 788 TPM_ALG_ID hashAlg, // IN: hash algorithm for outer wrap in UnwrapOuter() 800 TPM_ALG_ID symAlg = TPM_ALG_NULL; in UnwrapOuter() [all …]
|
D | CryptoEngine.h | 58 const TPM_ALG_ID alg; 104 TPM_ALG_ID hashAlg; 113 TPM_ALG_ID hashAlg;
|
D | stubs_hash.c | 10 TPM_ALG_ID hashAlg, // IN: the algorithm to use in _cpri__StartHMAC() 82 TPM_ALG_ID hashAlg, // IN: hash algorithm used in HMAC in _cpri__KDFa() 167 TPM_ALG_ID hashAlg, // IN: hash algorithm used in HMAC in _cpri__KDFe() 246 TPM_ALG_ID hashAlg, // IN: used by KDF version but not here in _cpri__GenerateSeededRandom()
|
D | CryptUtil.c | 133 TPM_ALG_ID 483 TPM_ALG_ID algId, // IN: the hash algorithm to use in CryptHashBlock() 573 TPM_ALG_ID hashAlg // IN: hash algorithm in CryptGetHashDigestSize() 591 TPM_ALG_ID hash // IN: hash algorithm to look up in CryptGetHashBlockSize() 610 LIB_EXPORT TPM_ALG_ID 698 TPM_ALG_ID kdfHashAlg, // IN: algorithm for the KDF in CryptGenerateKeyedHash() 704 TPM_ALG_ID hashAlg; in CryptGenerateKeyedHash() 750 TPM_ALG_ID hash, // IN: hash algorithm used in HMAC in KDFa() 856 TPM_ALG_ID hashAlg, // IN: the hash algorithm for the KDF in CryptGenerateKeyRSA() 1408 TPM_ALG_ID hashAlg, // IN: algorithm for the KDF in CryptGenerateKeyECC() [all …]
|
D | AlgorithmCap.c | 11 TPM_ALG_ID algID; 128 TPM_ALG_ID algID, // IN: the starting algorithm ID in AlgorithmCapGetImplemented()
|
D | stubs_sym.c | 8 TPM_ALG_ID symmetricAlg, // IN: the symmetric algorithm in _cpri__GetSymmetricBlockSize()
|
D | AlgorithmCap_fp.h | 15 TPM_ALG_ID algID, // IN: the starting algorithm ID
|
D | CryptSelfTest_fp.h | 17 TPM_RC CryptTestAlgorithm(TPM_ALG_ID alg, ALGORITHM_VECTOR *toTest);
|
D | RSAKeySieve_fp.h | 15 TPM_ALG_ID
|
D | CpriRNG_fp.h | 16 TPM_ALG_ID hashAlg, // IN: used by KDF version but not here
|
D | Ticket_fp.h | 27 TPM_ALG_ID hashAlg, // IN: the hash algorithm used to create 'digest'
|
D | OsslCryptoEngine.h | 73 TPM_ALG_ID hashAlg;
|
D | HMAC_Start.c | 28 TPM_ALG_ID hashAlg; in TPM2_HMAC_Start()
|
D | PCR_Event.c | 54 TPM_ALG_ID hash = CryptGetHashAlgByIndex(i); in TPM2_PCR_Event()
|
/external/tpm2/generator/ |
D | structures.txt | 69 _NEW_TYPE TPM_ALG_ID 771 _OLD_TYPE TPM_ALG_ID 780 _OLD_TYPE TPM_ALG_ID 786 _OLD_TYPE TPM_ALG_ID 793 _OLD_TYPE TPM_ALG_ID 799 _OLD_TYPE TPM_ALG_ID 808 _OLD_TYPE TPM_ALG_ID 816 _OLD_TYPE TPM_ALG_ID 827 _OLD_TYPE TPM_ALG_ID 857 _OLD_TYPE TPM_ALG_ID [all …]
|