/external/ms-tpm-20-ref/TPMCmd/tpm/src/command/HashHMAC/ |
D | SequenceComplete.c | 52 HASH_OBJECT *hashObject; in TPM2_SequenceComplete() local 55 hashObject = (HASH_OBJECT *)HandleToObject(in->sequenceHandle); in TPM2_SequenceComplete() 58 if(hashObject->attributes.hashSeq == CLEAR in TPM2_SequenceComplete() 59 && hashObject->attributes.hmacSeq == CLEAR) in TPM2_SequenceComplete() 62 if(hashObject->attributes.hashSeq == SET) // sequence object for hash in TPM2_SequenceComplete() 65 TPM_ALG_ID hashAlg = hashObject->state.hashState[0].hashAlg; in TPM2_SequenceComplete() 68 CryptDigestUpdate2B(&hashObject->state.hashState[0], &in->buffer.b); in TPM2_SequenceComplete() 71 out->result.t.size = CryptHashEnd(&hashObject->state.hashState[0], in TPM2_SequenceComplete() 75 if(hashObject->attributes.firstBlock == CLEAR) in TPM2_SequenceComplete() 80 hashObject->attributes.ticketSafe = SET; in TPM2_SequenceComplete() [all …]
|
D | SequenceUpdate.c | 52 HASH_OBJECT *hashObject; in TPM2_SequenceUpdate() local 58 hashObject = (HASH_OBJECT *)object; in TPM2_SequenceUpdate() 73 CryptDigestUpdate2B(&hashObject->state.hashState[i], &in->buffer.b); in TPM2_SequenceUpdate() 79 if(hashObject->attributes.hashSeq == SET) in TPM2_SequenceUpdate() 82 if(hashObject->attributes.firstBlock == CLEAR) in TPM2_SequenceUpdate() 85 hashObject->attributes.firstBlock = SET; in TPM2_SequenceUpdate() 91 hashObject->attributes.ticketSafe = SET; in TPM2_SequenceUpdate() 94 CryptDigestUpdate2B(&hashObject->state.hashState[0], &in->buffer.b); in TPM2_SequenceUpdate() 99 CryptDigestUpdate2B(&hashObject->state.hmacState.hashState, in TPM2_SequenceUpdate()
|
D | EventSequenceComplete.c | 52 HASH_OBJECT *hashObject; in TPM2_EventSequenceComplete() local 57 hashObject = (HASH_OBJECT *)HandleToObject(in->sequenceHandle); in TPM2_EventSequenceComplete() 60 if(hashObject->attributes.eventSeq != SET) in TPM2_EventSequenceComplete() 89 CryptDigestUpdate2B(&hashObject->state.hashState[i], &in->buffer.b); in TPM2_EventSequenceComplete() 92 CryptHashEnd(&hashObject->state.hashState[i], in TPM2_EventSequenceComplete() 104 hashObject->attributes.evict = SET; in TPM2_EventSequenceComplete()
|
/external/ms-tpm-20-ref/TPMCmd/tpm/src/events/ |
D | _TPM_Hash_Data.c | 45 HASH_OBJECT *hashObject; in _TPM_Hash_Data() local 55 hashObject = (HASH_OBJECT *)HandleToObject(g_DRTMHandle); in _TPM_Hash_Data() 56 pAssert(hashObject->attributes.eventSeq); in _TPM_Hash_Data() 64 hashObject->state.hashState[i].hashAlg)) in _TPM_Hash_Data() 66 CryptDigestUpdate(&hashObject->state.hashState[i], dataSize, data); in _TPM_Hash_Data()
|
D | _TPM_Hash_End.c | 45 HASH_OBJECT *hashObject; in _TPM_Hash_End() local 55 hashObject = (HASH_OBJECT *)HandleToObject(g_DRTMHandle); in _TPM_Hash_End() 85 hashObject->state.hashState[i].hashAlg)) in _TPM_Hash_End() 89 CryptHashEnd2B(&hashObject->state.hashState[i], &digest.b); in _TPM_Hash_End()
|
/external/ms-tpm-20-ref/TPMCmd/tpm/src/subsystem/ |
D | Object.c | 568 HASH_OBJECT *hashObject = AllocateSequenceSlot(newHandle, auth); in ObjectCreateHashSequence() local 571 if(hashObject == NULL) in ObjectCreateHashSequence() 574 hashObject->attributes.hashSeq = SET; in ObjectCreateHashSequence() 577 CryptHashStart(&hashObject->state.hashState[0], hashAlg); in ObjectCreateHashSequence() 592 HASH_OBJECT *hashObject = AllocateSequenceSlot(newHandle, auth); in ObjectCreateEventSequence() local 597 if(hashObject == NULL) in ObjectCreateEventSequence() 600 hashObject->attributes.eventSeq = SET; in ObjectCreateEventSequence() 604 CryptHashStart(&hashObject->state.hashState[count], hash); in ObjectCreateEventSequence() 616 HASH_OBJECT *hashObject; in ObjectTerminateEvent() local 620 hashObject = (HASH_OBJECT *)HandleToObject(g_DRTMHandle); in ObjectTerminateEvent() [all …]
|
/external/guava/android/guava/src/com/google/common/hash/ |
D | BloomFilterStrategies.java | 50 long hash64 = Hashing.murmur3_128().hashObject(object, funnel).asLong(); in MURMUR128_MITZ_32() 70 long hash64 = Hashing.murmur3_128().hashObject(object, funnel).asLong(); in MURMUR128_MITZ_32() 98 byte[] bytes = Hashing.murmur3_128().hashObject(object, funnel).getBytesInternal(); in MURMUR128_MITZ_64() 116 byte[] bytes = Hashing.murmur3_128().hashObject(object, funnel).getBytesInternal(); in MURMUR128_MITZ_64()
|
D | HashFunction.java | 214 <T> HashCode hashObject(T instance, Funnel<? super T> funnel); in hashObject() method
|
D | AbstractHashFunction.java | 32 public <T> HashCode hashObject(T instance, Funnel<? super T> funnel) { in hashObject() method in AbstractHashFunction
|
/external/guava/guava/src/com/google/common/hash/ |
D | BloomFilterStrategies.java | 50 long hash64 = Hashing.murmur3_128().hashObject(object, funnel).asLong(); in MURMUR128_MITZ_32() 70 long hash64 = Hashing.murmur3_128().hashObject(object, funnel).asLong(); in MURMUR128_MITZ_32() 98 byte[] bytes = Hashing.murmur3_128().hashObject(object, funnel).getBytesInternal(); in MURMUR128_MITZ_64() 116 byte[] bytes = Hashing.murmur3_128().hashObject(object, funnel).getBytesInternal(); in MURMUR128_MITZ_64()
|
D | HashFunction.java | 214 <T> HashCode hashObject(T instance, Funnel<? super T> funnel); in hashObject() method
|
D | AbstractHashFunction.java | 32 public <T> HashCode hashObject(T instance, Funnel<? super T> funnel) { in hashObject() method in AbstractHashFunction
|
/external/caliper/caliper/src/main/java/com/google/caliper/model/ |
D | Host.java | 74 this.hash = hashFunction.hashObject(this, HostFunnel.INSTANCE).asInt(); in initHash()
|
D | VmSpec.java | 75 this.hash = getPersistentHashFunction().hashObject(this, VmSpecFunnel.INSTANCE).asInt(); in initHash()
|
D | BenchmarkSpec.java | 89 .hashObject(this, BenchmarkSpecFunnel.INSTANCE).asInt(); in initHash()
|