Searched refs:hashSize (Results 1 – 5 of 5) sorted by relevance
34 hashSize := hash().Size()35 if length > 255*hashSize {38 if len(prk) < hashSize {53 copy(okm[(int(counter)-1)*hashSize:], block)54 length -= hashSize
36 UINT16 hashSize = 0; in TPM2_Rewrap() local73 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()
378 UINT16 hashSize; // The size of the hash used by the in SessionCreate() local383 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()
862 INT32 hashSize = _cpri__GetDigestSize(hashAlg); in RSASSA_Decode() local867 if(derSize == 0 || (unsigned)hashSize != hInSize) in RSASSA_Decode()873 fillSize = eInSize - derSize - hashSize - 3; in RSASSA_Decode()
1474 UInt32 hashSize = hf->GetDigestSize(); in CrcBig() local1475 if (hashSize > sizeof(hash)) in CrcBig()1478 for (UInt32 j = 0; j < hashSize; j += 4) in CrcBig()