HomeSort by relevance Sort by last modified time
    Searched refs:symKey (Results 1 - 6 of 6) sorted by null

  /external/tpm2/
EncryptDecrypt.c 27 OBJECT *symKey;
34 symKey = ObjectGet(in->keyHandle);
37 if( symKey->publicArea.type != TPM_ALG_SYMCIPHER
38 || symKey->attributes.publicOnly == SET)
43 in->mode = symKey->publicArea.parameters.symDetail.sym.mode.sym;
47 if( symKey->publicArea.objectAttributes.restricted == SET
48 && symKey->publicArea.parameters.symDetail.sym.mode.sym != in->mode)
61 keySize = symKey->publicArea.parameters.symDetail.sym.keyBits.sym;
62 alg = symKey->publicArea.parameters.symDetail.sym.algorithm;
81 key = symKey->sensitive.sensitive.sym.t.buffer
    [all...]
Context_spt_fp.h 14 TPM2B_SYM_KEY *symKey, // OUT: the symmetric key
Context_spt.c 22 TPM2B_SYM_KEY *symKey, // OUT: the symmetric key
46 symKey->t.size = CONTEXT_ENCRYPT_KEY_BYTES;
53 &handle2B.b, (symKey->t.size + iv->t.size) * 8, kdfResult, NULL);
55 MemoryCopy(symKey->t.buffer, kdfResult, symKey->t.size,
56 sizeof(symKey->t.buffer));
58 MemoryCopy(iv->t.buffer, &kdfResult[symKey->t.size], iv->t.size,
ContextLoad.c 41 TPM2B_SYM_KEY symKey;
74 ComputeContextProtectionKey(&in->context, &symKey, &iv);
79 TPM_ALG_CFB, symKey.t.buffer, &iv,
ContextSave.c 28 TPM2B_SYM_KEY symKey;
172 ComputeContextProtectionKey(&out->context, &symKey, &iv);
177 TPM_ALG_CFB, symKey.t.buffer, &iv,
Object_spt.c 111 TPM2B_SYM_KEY *symKey // OUT: the symmetric key
122 symKey->t.size = CONTEXT_ENCRYPT_KEY_BYTES;
132 symKey->t.size = (*keyBits + 7) / 8;
138 symKey->t.size * 8, symKey->t.buffer, NULL);
    [all...]

Completed in 1840 milliseconds