Home
last modified time | relevance | path

Searched refs:hashBuf (Results 1 – 8 of 8) sorted by relevance

/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/encodings/
DOAEPEncoding.java332 byte[] hashBuf = new byte[mgf1Hash.getDigestSize()]; in maskGeneratorFunction1()
338 while (counter < (length / hashBuf.length)) in maskGeneratorFunction1()
344 mgf1Hash.doFinal(hashBuf, 0); in maskGeneratorFunction1()
346 System.arraycopy(hashBuf, 0, mask, counter * hashBuf.length, hashBuf.length); in maskGeneratorFunction1()
351 if ((counter * hashBuf.length) < length) in maskGeneratorFunction1()
357 mgf1Hash.doFinal(hashBuf, 0); in maskGeneratorFunction1()
359 …System.arraycopy(hashBuf, 0, mask, counter * hashBuf.length, mask.length - (counter * hashBuf.leng… in maskGeneratorFunction1()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/crypto/encodings/
DOAEPEncoding.java334 byte[] hashBuf = new byte[mgf1Hash.getDigestSize()]; in maskGeneratorFunction1()
340 while (counter < (length / hashBuf.length)) in maskGeneratorFunction1()
346 mgf1Hash.doFinal(hashBuf, 0); in maskGeneratorFunction1()
348 System.arraycopy(hashBuf, 0, mask, counter * hashBuf.length, hashBuf.length); in maskGeneratorFunction1()
353 if ((counter * hashBuf.length) < length) in maskGeneratorFunction1()
359 mgf1Hash.doFinal(hashBuf, 0); in maskGeneratorFunction1()
361 …System.arraycopy(hashBuf, 0, mask, counter * hashBuf.length, mask.length - (counter * hashBuf.leng… in maskGeneratorFunction1()
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/crypto/encodings/
DOAEPEncoding.java334 byte[] hashBuf = new byte[mgf1Hash.getDigestSize()]; in maskGeneratorFunction1()
340 while (counter < (length / hashBuf.length)) in maskGeneratorFunction1()
346 mgf1Hash.doFinal(hashBuf, 0); in maskGeneratorFunction1()
348 System.arraycopy(hashBuf, 0, mask, counter * hashBuf.length, hashBuf.length); in maskGeneratorFunction1()
353 if ((counter * hashBuf.length) < length) in maskGeneratorFunction1()
359 mgf1Hash.doFinal(hashBuf, 0); in maskGeneratorFunction1()
361 …System.arraycopy(hashBuf, 0, mask, counter * hashBuf.length, mask.length - (counter * hashBuf.leng… in maskGeneratorFunction1()
/external/lzma/C/
DLzFindMt.c203 … UInt32 *heads = mt->hashBuf + ((numProcessedBlocks++) & kMtHashNumBlocksMask) * kMtHashBlockSize; in HashThreadFunc()
229 p->hashBufPosLimit += p->hashBuf[p->hashBufPos++]; in MatchFinderMt_GetNextBlock_Hash()
230 p->hashNumAvail = p->hashBuf[p->hashBufPos++]; in MatchFinderMt_GetNextBlock_Hash()
391 UInt32 num = (UInt32)(GetMatchesSpec1(lenLimit, pos - p->hashBuf[p->hashBufPos++], in BtGetMatches()
404 distances + curPos, p->numHashBytes - 1, p->hashBuf + p->hashBufPos, in BtGetMatches()
479 p->hashBuf = NULL; in MatchFinderMt_Construct()
486 ISzAlloc_Free(alloc, p->hashBuf); in MatchFinderMt_FreeMem()
487 p->hashBuf = NULL; in MatchFinderMt_FreeMem()
519 if (!p->hashBuf) in MatchFinderMt_Create()
521 … p->hashBuf = (UInt32 *)ISzAlloc_Alloc(alloc, (kHashBufferSize + kBtBufferSize) * sizeof(UInt32)); in MatchFinderMt_Create()
[all …]
DLzFindMt.h69 UInt32 *hashBuf; member
/external/llvm-project/lld/ELF/
DWriter.cpp2971 computeHash(llvm::MutableArrayRef<uint8_t> hashBuf, in computeHash() argument
2975 std::vector<uint8_t> hashes(chunks.size() * hashBuf.size()); in computeHash()
2979 hashFn(hashes.data() + i * hashBuf.size(), chunks[i]); in computeHash()
2983 hashFn(hashBuf.data(), hashes); in computeHash()
DSyntheticSections.h180 uint8_t *hashBuf;
DSyntheticSections.cpp333 hashBuf = buf + 16; in writeTo()
338 memcpy(hashBuf, buf.data(), hashSize); in writeBuildId()