Home
last modified time | relevance | path

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

/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/crypto/encodings/
DOAEPEncoding.java333 byte[] hashBuf = new byte[mgf1Hash.getDigestSize()]; in maskGeneratorFunction1()
339 while (counter < (length / hashBuf.length)) in maskGeneratorFunction1()
345 mgf1Hash.doFinal(hashBuf, 0); in maskGeneratorFunction1()
347 System.arraycopy(hashBuf, 0, mask, counter * hashBuf.length, hashBuf.length); in maskGeneratorFunction1()
352 if ((counter * hashBuf.length) < length) in maskGeneratorFunction1()
358 mgf1Hash.doFinal(hashBuf, 0); in maskGeneratorFunction1()
360 …System.arraycopy(hashBuf, 0, mask, counter * hashBuf.length, mask.length - (counter * hashBuf.leng… in maskGeneratorFunction1()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/encodings/
DOAEPEncoding.java331 byte[] hashBuf = new byte[mgf1Hash.getDigestSize()]; in maskGeneratorFunction1()
337 while (counter < (length / hashBuf.length)) in maskGeneratorFunction1()
343 mgf1Hash.doFinal(hashBuf, 0); in maskGeneratorFunction1()
345 System.arraycopy(hashBuf, 0, mask, counter * hashBuf.length, hashBuf.length); in maskGeneratorFunction1()
350 if ((counter * hashBuf.length) < length) in maskGeneratorFunction1()
356 mgf1Hash.doFinal(hashBuf, 0); in maskGeneratorFunction1()
358 …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