Searched refs:hashBuf (Results 1 - 6 of 6) sorted by relevance

/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/encodings/
H A DOAEPEncoding.java329 byte[] hashBuf = new byte[mgf1Hash.getDigestSize()];
335 while (counter < (length / hashBuf.length))
341 mgf1Hash.doFinal(hashBuf, 0);
343 System.arraycopy(hashBuf, 0, mask, counter * hashBuf.length, hashBuf.length);
348 if ((counter * hashBuf.length) < length)
354 mgf1Hash.doFinal(hashBuf, 0);
356 System.arraycopy(hashBuf, 0, mask, counter * hashBuf
[all...]
/external/lzma/C/
H A DLzFindMt.h71 UInt32 *hashBuf; member in struct:_CMatchFinderMt
H A DLzFindMt.c196 UInt32 *heads = mt->hashBuf + ((numProcessedBlocks++) & kMtHashNumBlocksMask) * kMtHashBlockSize;
222 p->hashBufPosLimit += p->hashBuf[p->hashBufPos++];
223 p->hashNumAvail = p->hashBuf[p->hashBufPos++];
348 UInt32 num = (UInt32)(GetMatchesSpec1(lenLimit, pos - p->hashBuf[p->hashBufPos++],
361 distances + curPos, p->numHashBytes - 1, p->hashBuf + p->hashBufPos, (Int32)(limit - curPos) , size, &posRes);
433 p->hashBuf = 0;
440 alloc->Free(alloc, p->hashBuf);
441 p->hashBuf = 0;
472 if (p->hashBuf == 0)
474 p->hashBuf
[all...]
/external/chromium_org/net/third_party/nss/ssl/
H A Dssl3ecc.c221 PRUint8 * hashBuf; local
235 hashBuf = buf;
237 hashBuf = PORT_Alloc(bufLen);
238 if (!hashBuf) {
243 memcpy(hashBuf, client_rand, SSL3_RANDOM_LENGTH);
244 pBuf = hashBuf + SSL3_RANDOM_LENGTH;
253 PORT_Assert((unsigned int)(pBuf - hashBuf) == bufLen);
255 rv = ssl3_ComputeCommonKeyHash(hashAlg, hashBuf, bufLen, hashes,
258 PRINT_BUF(95, (NULL, "ECDHkey hash: ", hashBuf, bufLen));
264 if (hashBuf !
[all...]
H A Dssl3con.c1136 PRUint8 * hashBuf, unsigned int bufLen,
1144 MD5_HashBuf (hashes->u.s.md5, hashBuf, bufLen);
1145 SHA1_HashBuf(hashes->u.s.sha, hashBuf, bufLen);
1148 SHA1_HashBuf(hashes->u.raw, hashBuf, bufLen);
1151 SHA256_HashBuf(hashes->u.raw, hashBuf, bufLen);
1154 SHA384_HashBuf(hashes->u.raw, hashBuf, bufLen);
1157 SHA512_HashBuf(hashes->u.raw, hashBuf, bufLen);
1167 rv = PK11_HashBuf(SEC_OID_MD5, hashes->u.s.md5, hashBuf, bufLen);
1174 rv = PK11_HashBuf(SEC_OID_SHA1, hashes->u.s.sha, hashBuf, bufLen);
1187 rv = PK11_HashBuf(hashAlg, hashes->u.raw, hashBuf, bufLe
1135 ssl3_ComputeCommonKeyHash(SECOidTag hashAlg, PRUint8 * hashBuf, unsigned int bufLen, SSL3Hashes *hashes, PRBool bypassPKCS11) argument
1210 PRUint8 * hashBuf; local
1269 PRUint8 * hashBuf; local
[all...]
H A Dsslimpl.h1788 PRUint8 * hashBuf,

Completed in 183 milliseconds