/external/ms-tpm-20-ref/TPMCmd/tpm/src/command/Duplication/ |
D | Rewrap.c | 69 UINT16 hashSize = 0; in TPM2_Rewrap() local 99 hashSize = sizeof(UINT16) + in TPM2_Rewrap() 101 privateBlob.t.size = in->inDuplicate.t.size - hashSize; in TPM2_Rewrap() 103 MemoryCopy(privateBlob.t.buffer, in->inDuplicate.t.buffer + hashSize, in TPM2_Rewrap() 128 hashSize = sizeof(UINT16) + in TPM2_Rewrap() 134 if((privateBlob.t.size + hashSize) > sizeof(out->outDuplicate.t.buffer)) in TPM2_Rewrap() 139 <= sizeof(out->outDuplicate.t.buffer) - hashSize); in TPM2_Rewrap() 140 MemoryCopy(out->outDuplicate.t.buffer + hashSize, privateBlob.t.buffer, in TPM2_Rewrap()
|
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/archivers/zip/ |
D | X0017_StrongEncryptionHeader.java | 257 private int hashSize; field in X0017_StrongEncryptionHeader 311 this.hashSize = ZipShort.getValue(data, offset + 14); in parseCentralDirectoryFormat() 314 for (int j = 0; j < this.hashSize; j++) { in parseCentralDirectoryFormat() 354 this.hashSize = ZipShort.getValue(data, offset + ivSize + 22 + erdSize); in parseFileFormat() 356 this.recipientKeyHash = new byte[this.hashSize]; in parseFileFormat() 357 this.keyBlob = new byte[resize - this.hashSize]; in parseFileFormat() 358 … System.arraycopy(data, offset + ivSize + 24 + erdSize, this.recipientKeyHash, 0, this.hashSize); in parseFileFormat() 359 …raycopy(data, offset + ivSize + 24 + erdSize + this.hashSize, this.keyBlob, 0, resize - this.hashS… in parseFileFormat()
|
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/deser/impl/ |
D | BeanPropertyMap.java | 163 final int hashSize = _hashMask+1; in BeanPropertyMap() local 169 ix = (hashSize + (slot >> 1)) << 1; in BeanPropertyMap() 172 ix = ((hashSize + (hashSize >> 1) ) << 1) + _spillCount; in BeanPropertyMap() 217 final int hashSize = findSize(_size); in init() local 218 _hashMask = hashSize-1; in init() 221 int alloc = (hashSize + (hashSize>>1)) * 2; in init() 238 ix = (hashSize + (slot >> 1)) << 1; in init() 241 ix = ((hashSize + (hashSize >> 1) ) << 1) + spillCount; in init() 588 int hashSize = _hashMask+1; in _find2() local 589 int ix = hashSize + (slot>>1) << 1; in _find2() [all …]
|
/external/tpm2-tss/src/tss2-fapi/api/ |
D | Fapi_AuthorizePolicy.c | 241 size_t hashSize; in Fapi_AuthorizePolicy_Finish() local 276 if (!(hashSize = ifapi_hash_get_digest_size(hashAlg))) { in Fapi_AuthorizePolicy_Finish() 285 hashAlg, &digestIdx, &hashSize); in Fapi_AuthorizePolicy_Finish() 295 policyDigests.digests[digestIdx].digest, hashSize, in Fapi_AuthorizePolicy_Finish() 303 (uint8_t *) & aHash.buffer[0], &hashSize); in Fapi_AuthorizePolicy_Finish() 306 aHash.size = hashSize; in Fapi_AuthorizePolicy_Finish()
|
D | Fapi_NvExtend.c | 258 size_t hashSize; in Fapi_NvExtend_Finish() local 378 &hashSize); in Fapi_NvExtend_Finish()
|
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/util/ |
D | CompactStringObjectMap.java | 114 int hashSize = _hashMask+1; in _find2() local 115 int ix = hashSize + (slot>>1) << 1; in _find2() 121 int i = (hashSize + (hashSize>>1)) << 1; in _find2()
|
/external/ms-tpm-20-ref/TPMCmd/tpm/src/crypt/ |
D | CryptRsa.c | 580 INT16 hashSize, in CryptRsaPssSaltSize() argument 588 saltSize = (outSize - hashSize - 1) - 1; in CryptRsaPssSaltSize() 590 if(saltSize > hashSize) in CryptRsaPssSaltSize() 591 saltSize = hashSize; in CryptRsaPssSaltSize() 899 INT32 hashSize = CryptHashGetDigestSize(hashAlg); in RSASSA_Decode() local 910 if(derSize == 0 || (unsigned)hashSize != hIn->size) in RSASSA_Decode() 917 fillSize = eIn->size - derSize - hashSize - 3; in RSASSA_Decode()
|
/external/ms-tpm-20-ref/TPMCmd/tpm/include/prototypes/ |
D | CryptRsa_fp.h | 65 INT16 hashSize,
|
/external/tpm2-tss/src/tss2-fapi/ |
D | fapi_crypto.c | 36 size_t hashSize; member 1457 if (!(mycontext->hashSize = ifapi_hash_get_digest_size(hashAlgorithm))) { in ifapi_crypto_hash_start() 1549 if (computedDigestSize != mycontext->hashSize) { in ifapi_crypto_hash_finish() 1554 LOGBLOB_DEBUG(digest, mycontext->hashSize, "finish hash"); in ifapi_crypto_hash_finish() 1557 *digestSize = mycontext->hashSize; in ifapi_crypto_hash_finish() 2088 size_t hashSize; in ifapi_get_tpm_key_fingerprint() local 2091 if (!(hashSize = ifapi_hash_get_digest_size(hashAlg))) { in ifapi_get_tpm_key_fingerprint()
|
/external/llvm-project/lld/ELF/ |
D | Writer.cpp | 2997 size_t hashSize = mainPart->buildId->hashSize; in writeBuildId() local 2998 std::vector<uint8_t> buildId(hashSize); in writeBuildId() 3009 memcpy(dest, MD5::hash(arr).data(), hashSize); in writeBuildId() 3014 memcpy(dest, SHA1::hash(arr).data(), hashSize); in writeBuildId() 3018 if (auto ec = llvm::getRandomBytes(buildId.data(), hashSize)) in writeBuildId()
|
D | SyntheticSections.h | 173 const size_t hashSize; 176 size_t getSize() const override { return headerSize + hashSize; } in getSize()
|
D | SyntheticSections.cpp | 326 hashSize(getHashSize()) {} in BuildIdSection() 330 write32(buf + 4, hashSize); // Content size in writeTo() 337 assert(buf.size() == hashSize); in writeBuildId() 338 memcpy(hashBuf, buf.data(), hashSize); in writeBuildId()
|
/external/zstd/lib/compress/ |
D | zstdmt_compress.c | 486 size_t const hashSize = ((size_t)1 << hashLog) * sizeof(ldmEntry_t); in ZSTDMT_serialState_reset() local 500 serialState->ldmState.hashTable = (ldmEntry_t*)ZSTD_customMalloc(hashSize, cMem); in ZSTDMT_serialState_reset() 509 ZSTD_memset(serialState->ldmState.hashTable, 0, hashSize); in ZSTDMT_serialState_reset()
|
/external/lzma/CPP/7zip/UI/Common/ |
D | Bench.cpp | 1472 UInt32 hashSize = hf->GetDigestSize(); in CrcBig() local 1473 if (hashSize > sizeof(hash)) in CrcBig() 1476 for (UInt32 j = 0; j < hashSize; j += 4) in CrcBig()
|