Home
last modified time | relevance | path

Searched refs:symAlg (Results 1 – 3 of 3) 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()
715 TPM_ALG_ID symAlg; in ProduceOuterWrap() local
749 &symAlg, &keyBits, &symKey); in ProduceOuterWrap()
751 CryptSymmetricEncrypt(sensitiveData, symAlg, keyBits, in ProduceOuterWrap()
[all …]
DCryptUtil.c1781 TPM_ALG_ID symAlg, // IN: the symmetric algorithm in ParmDecryptSym() argument
1798 iv.t.size = CryptGetSymmetricBlockSize(symAlg, keySizeInBits); in ParmDecryptSym()
1807 CryptSymmetricDecrypt(data, symAlg, keySizeInBits, TPM_ALG_CFB, in ParmDecryptSym()
1820 TPM_ALG_ID symAlg, // IN: symmetric algorithm in ParmEncryptSym() argument
1836 iv.t.size = CryptGetSymmetricBlockSize(symAlg, keySizeInBits); in ParmEncryptSym()
1845 CryptSymmetricEncrypt(data, symAlg, keySizeInBits, TPM_ALG_CFB, in ParmEncryptSym()
Dpart4.txt6777 43 TPM_ALG_ID symAlg;
6790 50 symAlg = CONTEXT_ENCRYPT_ALG;
6796 56 symAlg = protector->publicArea.parameters.asymDetail.symmetric.algorithm;
6802 62 return sizeof(UINT16) + CryptGetSymmetricBlockSize(symAlg, keyBits);
6821 72 TPM_ALG_ID *symAlg, // OUT: the symmetric algorithm
6834 85 *symAlg = CONTEXT_ENCRYPT_ALG;
6843 94 *symAlg = symDef->algorithm;
7543 612 TPM_ALG_ID symAlg;
7584 653 &symAlg, &keyBits, &symKey);
7586 655 CryptSymmetricEncrypt(sensitiveData, symAlg, keyBits,
[all …]