Home
last modified time | relevance | path

Searched refs:symAlg (Results 1 – 5 of 5) sorted by relevance

/external/ms-tpm-20-ref/TPMCmd/tpm/src/command/Object/
DObject_spt.c49 TPM_ALG_ID symAlg; in GetIV2BSize() local
56 symAlg = CONTEXT_ENCRYPT_ALG; in GetIV2BSize()
61 symAlg = protector->publicArea.parameters.asymDetail.symmetric.algorithm; in GetIV2BSize()
67 return sizeof(UINT16) + CryptGetSymmetricBlockSize(symAlg, keyBits); in GetIV2BSize()
104 TPM_ALG_ID *symAlg, // OUT: the symmetric algorithm in ComputeProtectionKeyParms() argument
116 *symAlg = CONTEXT_ENCRYPT_ALG; in ComputeProtectionKeyParms()
124 *symAlg = symDef->algorithm; in ComputeProtectionKeyParms()
821 TPM_ALG_ID symAlg; in ProduceOuterWrap() local
859 &symAlg, &keyBits, &symKey); in ProduceOuterWrap()
861 CryptSymmetricEncrypt(sensitiveData, symAlg, keyBits, in ProduceOuterWrap()
[all …]
/external/ms-tpm-20-ref/TPMCmd/tpm/src/crypt/
DCryptCmac.c69 cState->symAlg = def->algorithm; in CryptCmacStart()
98 TPM_ALG_ID algorithm = cmacState->symAlg; in CryptCmacData()
139 TPM_ALG_ID algorithm = cState->symAlg; in CryptCmacEnd()
DCryptUtil.c218 TPM_ALG_ID symAlg, // IN: the symmetric algorithm in ParmDecryptSym() argument
236 iv.t.size = CryptGetSymmetricBlockSize(symAlg, keySizeInBits); in ParmDecryptSym()
245 CryptSymmetricDecrypt(data, symAlg, keySizeInBits, symParmString, in ParmDecryptSym()
267 TPM_ALG_ID symAlg, // IN: symmetric algorithm in ParmEncryptSym() argument
286 iv.t.size = CryptGetSymmetricBlockSize(symAlg, keySizeInBits); in ParmEncryptSym()
295 CryptSymmetricEncrypt(data, symAlg, keySizeInBits, symParmString, &iv, in ParmEncryptSym()
/external/ms-tpm-20-ref/TPMCmd/tpm/include/prototypes/
DCryptUtil_fp.h56 TPM_ALG_ID symAlg, // IN: the symmetric algorithm
70 TPM_ALG_ID symAlg, // IN: symmetric algorithm
/external/ms-tpm-20-ref/TPMCmd/tpm/include/
DCryptHash.h72 TPM_ALG_ID symAlg; member