Home
last modified time | relevance | path

Searched refs:macAlg (Results 1 – 6 of 6) sorted by relevance

/external/ms-tpm-20-ref/TPMCmd/tpm/src/crypt/
DCryptSmac.c53 TPM_ALG_ID macAlg, // IN: the type of MAC in CryptSmacStart() argument
63 switch(macAlg) in CryptSmacStart()
68 macAlg, key); in CryptSmacStart()
86 TPM_ALG_ID macAlg, // IN: the type of MAC in CryptMacStart() argument
91 if(CryptHashIsValidAlg(macAlg, FALSE)) in CryptMacStart()
93 return CryptHmacStart(state, macAlg, key->size, key->buffer); in CryptMacStart()
95 else if(CryptSmacIsValidAlg(macAlg, FALSE)) in CryptMacStart()
97 return CryptSmacStart(&state->hashState, keyParameters, macAlg, key); in CryptMacStart()
DCryptUtil.c1768 TPM_ALG_ID macAlg = TPM_ALG_NULL; in CryptSelectMac() local
1778 macAlg = scheme->details.hmac.hashAlg; in CryptSelectMac()
1787 macAlg = scheme->mode.sym; in CryptSelectMac()
1798 if((macAlg != TPM_ALG_NULL) && (*inMac != macAlg)) in CryptSelectMac()
1805 if(macAlg == TPM_ALG_NULL) in CryptSelectMac()
1807 *inMac = macAlg; in CryptSelectMac()
1819 TPM_ALG_ID macAlg, in CryptMacIsValidForKey() argument
1826 return CryptHashIsValidAlg(macAlg, flag); in CryptMacIsValidForKey()
1829 return CryptSmacIsValidAlg(macAlg, flag); in CryptMacIsValidForKey()
DCryptCmac.c59 TPM_ALG_ID macAlg, in CryptCmacStart() argument
66 if(macAlg != TPM_ALG_CMAC) in CryptCmacStart()
/external/ms-tpm-20-ref/TPMCmd/tpm/include/prototypes/
DCryptSmac_fp.h51 TPM_ALG_ID macAlg, // IN: the type of MAC
62 TPM_ALG_ID macAlg, // IN: the type of MAC
DCryptCmac_fp.h54 TPM_ALG_ID macAlg,
DCryptUtil_fp.h434 TPM_ALG_ID macAlg,