Home
last modified time | relevance | path

Searched refs:hashSize (Results 1 – 5 of 5) sorted by relevance

/external/boringssl/src/ssl/test/runner/
Dhkdf.go34 hashSize := hash().Size()
35 if length > 255*hashSize {
38 if len(prk) < hashSize {
53 copy(okm[(int(counter)-1)*hashSize:], block)
54 length -= hashSize
/external/tpm2/
DRewrap.c36 UINT16 hashSize = 0; in TPM2_Rewrap() local
73 hashSize = sizeof(UINT16) + in TPM2_Rewrap()
75 privateBlob.t.size = in->inDuplicate.t.size - hashSize; in TPM2_Rewrap()
76 MemoryCopy(privateBlob.t.buffer, in->inDuplicate.t.buffer + hashSize, in TPM2_Rewrap()
104 hashSize = sizeof(UINT16) + in TPM2_Rewrap()
107 MemoryCopy(out->outDuplicate.t.buffer + hashSize, privateBlob.t.buffer, in TPM2_Rewrap()
DSession.c378 UINT16 hashSize; // The size of the hash used by the in SessionCreate() local
383 hashSize = CryptGetHashDigestSize(session->authHashAlg); in SessionCreate()
390 session->sessionKey.t.size = hashSize; in SessionCreate()
393 &nonceCaller->b, hashSize * 8, session->sessionKey.t.buffer, NULL); in SessionCreate()
DCpriRSA.c862 INT32 hashSize = _cpri__GetDigestSize(hashAlg); in RSASSA_Decode() local
867 if(derSize == 0 || (unsigned)hashSize != hInSize) in RSASSA_Decode()
873 fillSize = eInSize - derSize - hashSize - 3; in RSASSA_Decode()
/external/lzma/CPP/7zip/UI/Common/
DBench.cpp1474 UInt32 hashSize = hf->GetDigestSize(); in CrcBig() local
1475 if (hashSize > sizeof(hash)) in CrcBig()
1478 for (UInt32 j = 0; j < hashSize; j += 4) in CrcBig()