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

  /external/tpm2/
PolicyCpHash.c 14 // TPM_RC_CPHASH cpHash of policySession has previously been set to a different value
32 // A new cpHash is given in input parameter, but cpHash in session context
33 // is not empty, or is not the same as the new cpHash
35 && session->u1.cpHash.t.size != 0
36 && !Memory2BEqual(&in->cpHashA.b, &session->u1.cpHash.b)
40 // A valid cpHash must have the same size as session hash digest
63 // update cpHash in session context
64 session->u1.cpHash = in->cpHashA;
Policy_spt_fp.h 14 TPM2B_DIGEST *cpHash, // IN: the cpHash (optional)
Policy_spt.c 57 // If the cpHash is present, then check it
60 // The cpHash input has to have the correct size
63 // If the cpHash has already been set, then this input value
65 if( session->u1.cpHash.b.size != 0
66 && !Memory2BEqual(&cpHashA->b, &session->u1.cpHash.b))
76 // it. This will also update the cpHash if it is present.
83 TPM2B_DIGEST *cpHash, // IN: the cpHash (optional)
112 // Deal with the cpHash. If the cpHash value is presen
    [all...]
PolicyNameHash.c 32 // A new nameHash is given in input parameter, but cpHash in session context
34 if(in->nameHash.t.size != 0 && session->u1.cpHash.t.size != 0)
64 session->u1.cpHash = in->nameHash;
PolicyDuplicationSelect.c 15 // TPM_RC_CPHASH cpHash of policySession is not empty
31 // cpHash in session context must be empty
32 if(session->u1.cpHash.t.size != 0)
42 session->u1.cpHash.t.size = CryptStartHash(session->authHashAlg, &hashState);
51 CryptCompleteHash2B(&hashState, &session->u1.cpHash.b);
SessionProcess.c 460 // This function computes the cpHash as defined in Part 2 and described in Part 1.
470 TPM2B_DIGEST *cpHash, // OUT: cpHash
478 // cpHash = hash(commandCode [ || authName1
482 // A cpHash can contain just a commandCode only if the lone session is
484 // Start cpHash.
485 cpHash->t.size = CryptStartHash(hashAlg, &hashState);
497 CryptCompleteHash2B(&hashState, &cpHash->b);
558 TPM2B_DIGEST *cpHash, // IN: cpHash
    [all...]
Global.h 269 unsigned iscpHashDefined : 1;//4) SET if the cpHash has been defined
348 TPM2B_DIGEST cpHash; // the required cpHash value for the
350 } u1; // 'boundEntity' and 'cpHash' may
    [all...]
Session.c 666 // The cpHash size to zero
667 session->u1.cpHash.b.size = 0;
    [all...]

Completed in 632 milliseconds