Searched defs:hLen (Results 1 - 7 of 7) sorted by relevance

/external/tpm2/
H A Dstubs_hash.c98 INT16 hLen; // length of the hash local
118 if((hLen = (INT16) _cpri__GetDigestSize(hashAlg)) == 0)
123 bytes = once ? hLen : (INT16)((sizeInBits + 7) / 8);
125 for (; bytes > 0; stream = &stream[hLen], bytes = bytes - hLen)
127 if(bytes < hLen)
128 hLen = bytes;
153 // Compute HMAC. At the start of each iteration, hLen is set
154 // to the smaller of hLen and bytes. This causes bytes to decrement
156 _cpri__CompleteHMAC(&hashState, &hmacKey.b, hLen, strea
180 INT16 hLen = (INT16) _cpri__GetDigestSize(hashAlg); local
[all...]
H A DCpriHash.c416 int hLen; local
429 hLen = EVP_MD_CTX_size(context);
430 if((unsigned)hLen > dOutSize)
444 retVal = (UINT16)hLen;
765 INT16 hLen; // length of the hash local
785 if((hLen = (INT16) _cpri__GetDigestSize(hashAlg)) == 0)
790 bytes = once ? hLen : (INT16)((sizeInBits + 7) / 8);
792 for (; bytes > 0; stream = &stream[hLen], bytes = bytes - hLen)
794 if(bytes < hLen)
863 INT16 hLen = (INT16) _cpri__GetDigestSize(hashAlg); local
[all...]
H A DCpriRSA.c349 INT32 hLen = _cpri__GetDigestSize(hashAlg); local
358 if(hLen <= 0)
365 // messageSize <= k 2hLen 2
366 if(messageSize > paddedSize - 2 * hLen - 2)
370 pp = &padded[hLen + 1];
371 retVal = _cpri__HashBlock(hashAlg, lSize, (BYTE *)label, hLen, pp);
372 // concatenate PS of k mLen 2hLen 2
373 padLen = paddedSize - messageSize - (2 * hLen) - 2;
374 memset(&pp[hLen], 0, padLen);
375 pp[hLen
438 INT32 hLen = _cpri__GetDigestSize(hashAlg); local
614 INT32 hLen = _cpri__GetDigestSize(hashAlg); local
699 INT32 hLen = _cpri__GetDigestSize(hashAlg); local
[all...]
H A DCpriECC.c680 UINT16 hLen = _cpri__GetDigestSize(hashAlg); local
691 if(hLen <= 0)
H A DCryptUtil.c1993 UINT16 hLen = CryptGetHashDigestSize(hash);
1996 pAssert((key != NULL) && (data != NULL) && (hLen != 0));
1998 for(; remainBytes > 0; remainBytes -= hLen)
2005 for(i = hLen < remainBytes ? hLen : remainBytes; i > 0; i--)
1992 UINT16 hLen = CryptGetHashDigestSize(hash); local
/external/boringssl/src/crypto/rsa/
H A Dpadding.c499 size_t hLen; local
510 hLen = EVP_MD_size(Hash);
513 * -1 sLen == hLen
517 sLen = hLen;
535 if (emLen < ((int)hLen + sLen + 2)) {
544 maskedDBLen = emLen - hLen - 1;
551 if (PKCS1_MGF1(DB, maskedDBLen, H, hLen, mgf1Hash) < 0) {
573 !EVP_DigestUpdate(&ctx, mHash, hLen)) {
584 if (memcmp(H_, H, hLen)) {
605 size_t hLen; local
[all...]
/external/google-tv-pairing-protocol/java/jar/
H A Dbcprov-jdk15-143.jarMETA-INF/MANIFEST.MF META-INF/BCKEY.SF META-INF/BCKEY.DSA META ...

Completed in 264 milliseconds