Home
last modified time | relevance | path

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

12

/external/tpm2/
DCpriHash_fp.h20 _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 …]
DImplementation.h304 typedef UINT16 TPM_ALG_ID; typedef
305 #define TPM_ALG_ERROR (TPM_ALG_ID)(0x0000)
308 #define TPM_ALG_RSA (TPM_ALG_ID)(0x0001)
312 #define TPM_ALG_SHA (TPM_ALG_ID)(0x0004)
316 #define TPM_ALG_SHA1 (TPM_ALG_ID)(0x0004)
320 #define TPM_ALG_HMAC (TPM_ALG_ID)(0x0005)
324 #define TPM_ALG_AES (TPM_ALG_ID)(0x0006)
328 #define TPM_ALG_MGF1 (TPM_ALG_ID)(0x0007)
332 #define TPM_ALG_KEYEDHASH (TPM_ALG_ID)(0x0008)
336 #define TPM_ALG_XOR (TPM_ALG_ID)(0x000A)
[all …]
DCpriRSA_fp.h15 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
DCryptUtil_fp.h96 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 …]
DCpriECC_fp.h14 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
DObject_spt_fp.h23 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
DCryptSelfTest.c25 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()
DCpriHash.c34 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 …]
Dtpm_types.h565 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 …]
DCpriRSA.c340 TPM_ALG_ID hashAlg, // IN: algorithm to use for padding in OaepEncode()
434 TPM_ALG_ID hashAlg, // IN: algorithm to use for padding in OaepDecode()
611 TPM_ALG_ID hashAlg, // IN: hash algorithm to use for the encoding in PssEncode()
696 TPM_ALG_ID hashAlg, // IN: hash algorithm to use for the encoding in PssDecode()
798 TPM_ALG_ID hashAlg, // IN: hash algorithm for PKSC1v1_5 in RSASSA_Encode()
852 TPM_ALG_ID hashAlg, // IN: hash algorithm to use for the encoding in RSASSA_Decode()
933 TPM_ALG_ID padType, // IN: the type of padding in _cpri__EncryptRSA()
936 TPM_ALG_ID hashAlg, // IN: in case this is needed in _cpri__EncryptRSA()
1006 TPM_ALG_ID padType, // IN: the type of padding in _cpri__DecryptRSA()
1009 TPM_ALG_ID hashAlg, // IN: in case this is needed for the scheme in _cpri__DecryptRSA()
[all …]
DObject_spt.c72 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()
705 TPM_ALG_ID hashAlg, // IN: hash algorithm for outer wrap in ProduceOuterWrap()
717 TPM_ALG_ID symAlg; in ProduceOuterWrap()
790 TPM_ALG_ID hashAlg, // IN: hash algorithm for outer wrap in UnwrapOuter()
802 TPM_ALG_ID symAlg = TPM_ALG_NULL; in UnwrapOuter()
[all …]
DCryptoEngine.h58 const TPM_ALG_ID alg;
104 TPM_ALG_ID hashAlg;
113 TPM_ALG_ID hashAlg;
Dstubs_hash.c10 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()
DCryptUtil.c133 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
699 TPM_ALG_ID kdfHashAlg, // IN: algorithm for the KDF in CryptGenerateKeyedHash()
705 TPM_ALG_ID hashAlg; in CryptGenerateKeyedHash()
756 TPM_ALG_ID hash, // IN: hash algorithm used in HMAC in KDFa()
862 TPM_ALG_ID hashAlg, // IN: the hash algorithm for the KDF in CryptGenerateKeyRSA()
1414 TPM_ALG_ID hashAlg, // IN: algorithm for the KDF in CryptGenerateKeyECC()
[all …]
DAlgorithmCap.c11 TPM_ALG_ID algID;
128 TPM_ALG_ID algID, // IN: the starting algorithm ID in AlgorithmCapGetImplemented()
Dstubs_sym.c8 TPM_ALG_ID symmetricAlg, // IN: the symmetric algorithm in _cpri__GetSymmetricBlockSize()
DAlgorithmCap_fp.h15 TPM_ALG_ID algID, // IN: the starting algorithm ID
DCryptSelfTest_fp.h17 TPM_RC CryptTestAlgorithm(TPM_ALG_ID alg, ALGORITHM_VECTOR *toTest);
DRSAKeySieve_fp.h15 TPM_ALG_ID
DCpriRNG_fp.h16 TPM_ALG_ID hashAlg, // IN: used by KDF version but not here
DTicket_fp.h27 TPM_ALG_ID hashAlg, // IN: the hash algorithm used to create 'digest'
DOsslCryptoEngine.h73 TPM_ALG_ID hashAlg;
DHMAC_Start.c28 TPM_ALG_ID hashAlg; in TPM2_HMAC_Start()
DPCR_Event.c54 TPM_ALG_ID hash = CryptGetHashAlgByIndex(i); in TPM2_PCR_Event()
DCpriRNG.c135 TPM_ALG_ID hashAlg, // IN: used by KDF version but not here in _cpri__GenerateSeededRandom()

12