Searched refs:macAlg (Results 1 – 6 of 6) sorted by relevance
/external/ms-tpm-20-ref/TPMCmd/tpm/src/crypt/ |
D | CryptSmac.c | 53 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()
|
D | CryptUtil.c | 1768 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()
|
D | CryptCmac.c | 59 TPM_ALG_ID macAlg, in CryptCmacStart() argument 66 if(macAlg != TPM_ALG_CMAC) in CryptCmacStart()
|
/external/ms-tpm-20-ref/TPMCmd/tpm/include/prototypes/ |
D | CryptSmac_fp.h | 51 TPM_ALG_ID macAlg, // IN: the type of MAC 62 TPM_ALG_ID macAlg, // IN: the type of MAC
|
D | CryptCmac_fp.h | 54 TPM_ALG_ID macAlg,
|
D | CryptUtil_fp.h | 434 TPM_ALG_ID macAlg,
|