/external/tpm2/ |
stubs_hash.c | 98 INT16 hLen; // length of the hash 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, stream) [all...] |
CpriRSA.c | 354 INT32 hLen = _cpri__GetDigestSize(hashAlg); 363 if(hLen <= 0) 370 // messageSize <= k 2hLen 2 371 if(messageSize > paddedSize - 2 * hLen - 2) 375 pp = &padded[hLen + 1]; 376 retVal = _cpri__HashBlock(hashAlg, lSize, (BYTE *)label, hLen, pp); 377 // concatenate PS of k mLen 2hLen 2 378 padLen = paddedSize - messageSize - (2 * hLen) - 2; 379 memset(&pp[hLen], 0, padLen); 380 pp[hLen+padLen] = 0x01 [all...] |
CpriHash.c | 416 int hLen; 429 hLen = EVP_MD_CTX_size(context); 430 if((unsigned)hLen > dOutSize) 444 retVal = (UINT16)hLen; 765 INT16 hLen; // length of the hash 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) [all...] |
CryptUtil.c | [all...] |
CpriECC.c | 683 UINT16 hLen = _cpri__GetDigestSize(hashAlg); 694 if(hLen <= 0) [all...] |
/prebuilts/go/darwin-x86/src/crypto/rsa/ |
pss.go | 22 hLen := hash.Size() 30 // 2. Let mHash = Hash(M), an octet string of length hLen. 32 if len(mHash) != hLen { 36 // 3. If emLen < hLen + sLen + 2, output "encoding error" and stop. 38 if emLen < hLen+sLen+2 { 43 db := em[:emLen-sLen-hLen-2+1+sLen] 44 h := em[emLen-sLen-hLen-2+1+sLen : emLen-1] 52 // M' is an octet string of length 8 + hLen + sLen with eight 55 // 6. Let H = Hash(M'), an octet string of length hLen. 66 // 7. Generate an octet string PS consisting of emLen - sLen - hLen - [all...] |
/prebuilts/go/linux-x86/src/crypto/rsa/ |
pss.go | 22 hLen := hash.Size() 30 // 2. Let mHash = Hash(M), an octet string of length hLen. 32 if len(mHash) != hLen { 36 // 3. If emLen < hLen + sLen + 2, output "encoding error" and stop. 38 if emLen < hLen+sLen+2 { 43 db := em[:emLen-sLen-hLen-2+1+sLen] 44 h := em[emLen-sLen-hLen-2+1+sLen : emLen-1] 52 // M' is an octet string of length 8 + hLen + sLen with eight 55 // 6. Let H = Hash(M'), an octet string of length hLen. 66 // 7. Generate an octet string PS consisting of emLen - sLen - hLen - [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/generators/ |
PKCS5S2ParametersGenerator.java | 85 int hLen = hMac.getMacSize(); 86 int l = (dkLen + hLen - 1) / hLen; 88 byte[] outBytes = new byte[l * hLen]; 105 outPos += hLen;
|
/external/boringssl/src/crypto/fipsmodule/rsa/ |
padding.c | 489 size_t hLen; 500 hLen = EVP_MD_size(Hash); 503 * -1 sLen == hLen 507 sLen = hLen; 525 if (emLen < (int)hLen + 2 || emLen < ((int)hLen + sLen + 2)) { 534 maskedDBLen = emLen - hLen - 1; 541 if (!PKCS1_MGF1(DB, maskedDBLen, H, hLen, mgf1Hash)) { 563 !EVP_DigestUpdate(&ctx, mHash, hLen) || 568 if (OPENSSL_memcmp(H_, H, hLen)) { [all...] |
/prebuilts/tools/common/m2/repository/org/bitbucket/b_c/jose4j/0.5.0/ |
jose4j-0.5.0.jar | |
/external/google-tv-pairing-protocol/java/jar/ |
bcprov-jdk15-143.jar | |
/prebuilts/devtools/tools/lib/ |
bcprov-jdk15on-1.48.jar | |
/prebuilts/tools/common/m2/repository/org/bouncycastle/bcprov-jdk15on/1.48/ |
bcprov-jdk15on-1.48.jar | |
/prebuilts/tools/common/m2/repository/org/bouncycastle/bcprov-jdk15on/1.56/ |
bcprov-jdk15on-1.56.jar | |
/prebuilts/tools/common/offline-m2/org/bouncycastle/bcprov-jdk15on/1.48/ |
bcprov-jdk15on-1.48.jar | |
/prebuilts/misc/common/robolectric/lib/ |
bcprov-jdk16-1.46.jar | |
/prebuilts/tools/common/m2/repository/org/bouncycastle/bcprov-jdk15on/1.50/ |
bcprov-jdk15on-1.50.jar | |
/prebuilts/tools/common/m2/repository/org/bouncycastle/bcprov-jdk16/1.46/ |
bcprov-jdk16-1.46.jar | |
/prebuilts/sdk/tools/lib/ |
signapk.jar | |