Home
last modified time | relevance | path

Searched refs:symDef (Results 1 – 4 of 4) sorted by relevance

/external/tpm2/
DObject_spt.c127 TPMT_SYM_DEF_OBJECT *symDef; in ComputeProtectionKeyParms() local
129 symDef = &protector->publicArea.parameters.asymDetail.symmetric; in ComputeProtectionKeyParms()
130 *symAlg = symDef->algorithm; in ComputeProtectionKeyParms()
131 *keyBits= symDef->keyBits.sym; in ComputeProtectionKeyParms()
1033 TPMT_SYM_DEF_OBJECT *symDef, // IN: Symmetric key definition. If the in SensitiveToDuplicate() argument
1054 pAssert(symDef != NULL && innerSymKey != NULL); in SensitiveToDuplicate()
1058 if(symDef->algorithm != TPM_ALG_NULL) in SensitiveToDuplicate()
1100 innerSymKey->t.size = (symDef->keyBits.sym + 7) / 8; in SensitiveToDuplicate()
1108 pAssert(innerSymKey->t.size == (symDef->keyBits.sym + 7) / 8); in SensitiveToDuplicate()
1111 CryptSymmetricEncrypt(innerBuffer, symDef->algorithm, in SensitiveToDuplicate()
[all …]
DObject_spt_fp.h27 TPMT_SYM_DEF_OBJECT *symDef, // IN: Symmetric key definition. If the
99 TPMT_SYM_DEF_OBJECT *symDef, // IN: Symmetric key definition. If the
DCryptUtil.c2610 TPMT_SYM_DEF_OBJECT *symDef; in CryptSecretDecrypt() local
2617 symDef = &decryptKey->publicArea.parameters.symDetail.sym; in CryptSecretDecrypt()
2618 iv.t.size = CryptGetSymmetricBlockSize(symDef->algorithm, in CryptSecretDecrypt()
2619 symDef->keyBits.sym); in CryptSecretDecrypt()
2628 CryptSymmetricDecrypt(secret->t.secret, symDef->algorithm, in CryptSecretDecrypt()
2629 symDef->keyBits.sym, TPM_ALG_CFB, in CryptSecretDecrypt()
Dpart4.txt6840 91 TPMT_SYM_DEF_OBJECT *symDef;
6842 93 symDef = &protector->publicArea.parameters.asymDetail.symmetric;
6843 94 *symAlg = symDef->algorithm;
6844 95 *keyBits= symDef->keyBits.sym;
7923 916 TPMT_SYM_DEF_OBJECT *symDef, // IN: Symmetric key definition. If…
7944 937 // Make sure symDef and innerSymKey are not NULL
7950 938 pAssert(symDef != NULL && innerSymKey != NULL);
7956 944 if(symDef->algorithm != TPM_ALG_NULL)
8002 990 innerSymKey->t.size = (symDef->keyBits.sym + 7) / 8;
8011 999 pAssert(innerSymKey->t.size == (symDef->keyBits.sym + 7) / 8);
[all …]