Home
last modified time | relevance | path

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

/external/tpm2/
DObject_spt.c72 TPM_ALG_ID symAlg; in GetIV2BSize() local
79 symAlg = CONTEXT_ENCRYPT_ALG; in GetIV2BSize()
85 symAlg = protector->publicArea.parameters.asymDetail.symmetric.algorithm; in GetIV2BSize()
90 return sizeof(UINT16) + CryptGetSymmetricBlockSize(symAlg, keyBits); in GetIV2BSize()
109 TPM_ALG_ID *symAlg, // OUT: the symmetric algorithm in ComputeProtectionKeyParms() argument
121 *symAlg = CONTEXT_ENCRYPT_ALG; in ComputeProtectionKeyParms()
130 *symAlg = symDef->algorithm; in ComputeProtectionKeyParms()
717 TPM_ALG_ID symAlg; in ProduceOuterWrap() local
751 &symAlg, &keyBits, &symKey); in ProduceOuterWrap()
753 CryptSymmetricEncrypt(sensitiveData, symAlg, keyBits, in ProduceOuterWrap()
[all …]
DCryptUtil.c1787 TPM_ALG_ID symAlg, // IN: the symmetric algorithm in ParmDecryptSym() argument
1804 iv.t.size = CryptGetSymmetricBlockSize(symAlg, keySizeInBits); in ParmDecryptSym()
1813 CryptSymmetricDecrypt(data, symAlg, keySizeInBits, TPM_ALG_CFB, in ParmDecryptSym()
1826 TPM_ALG_ID symAlg, // IN: symmetric algorithm in ParmEncryptSym() argument
1842 iv.t.size = CryptGetSymmetricBlockSize(symAlg, keySizeInBits); in ParmEncryptSym()
1851 CryptSymmetricEncrypt(data, symAlg, keySizeInBits, TPM_ALG_CFB, in ParmEncryptSym()