Home
last modified time | relevance | path

Searched refs:padLen (Results 1 – 9 of 9) sorted by relevance

/external/ipsec-tools/src/racoon/missing/crypto/rijndael/
Drijndael-api-fst.c209 int i, numBlocks, padLen; in rijndael_padEncrypt() local
230 padLen = 16 - (inputOctets - 16*numBlocks); in rijndael_padEncrypt()
231 if (padLen <= 0 || padLen > 16) in rijndael_padEncrypt()
233 bcopy(input, block, 16 - padLen); in rijndael_padEncrypt()
234 for (cp = block + 16 - padLen; cp < block + 16; cp++) in rijndael_padEncrypt()
235 *cp = padLen; in rijndael_padEncrypt()
251 padLen = 16 - (inputOctets - 16*numBlocks); in rijndael_padEncrypt()
252 if (padLen <= 0 || padLen > 16) in rijndael_padEncrypt()
254 for (i = 0; i < 16 - padLen; i++) { in rijndael_padEncrypt()
257 for (i = 16 - padLen; i < 16; i++) { in rijndael_padEncrypt()
[all …]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/util/
DBigIntegers.java106 int padLen = len - count; in asUnsignedByteArray() local
107 Arrays.fill(buf, off, off + padLen, (byte)0x00); in asUnsignedByteArray()
108 System.arraycopy(bytes, start, buf, off + padLen, count); in asUnsignedByteArray()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/util/
DBigIntegers.java108 int padLen = len - count; in asUnsignedByteArray() local
109 Arrays.fill(buf, off, off + padLen, (byte)0x00); in asUnsignedByteArray()
110 System.arraycopy(bytes, start, buf, off + padLen, count); in asUnsignedByteArray()
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/util/
DBigIntegers.java108 int padLen = len - count; in asUnsignedByteArray() local
109 Arrays.fill(buf, off, off + padLen, (byte)0x00); in asUnsignedByteArray()
110 System.arraycopy(bytes, start, buf, off + padLen, count); in asUnsignedByteArray()
/external/icu/icu4c/source/common/
Dlocdispnames.cpp735 int32_t padLen; in uloc_getDisplayName() local
737 padLen=(subi==0 ? sub1Pos : patLen)-patPos; in uloc_getDisplayName()
738 if(length+padLen <= destCapacity) { in uloc_getDisplayName()
740 for(int32_t i=0;i<padLen;++i) { in uloc_getDisplayName()
744 patPos+=padLen; in uloc_getDisplayName()
746 length+=padLen; in uloc_getDisplayName()
/external/ms-tpm-20-ref/TPMCmd/tpm/src/crypt/
DCryptRsa.c328 INT32 padLen; in OaepEncode() local
363 padLen = padded->size - message->size - (2 * hLen) - 2; in OaepEncode()
364 MemorySet(&pp[hLen], 0, padLen); in OaepEncode()
365 pp[hLen + padLen] = 0x01; in OaepEncode()
366 padLen += 1; in OaepEncode()
367 memcpy(&pp[hLen + padLen], message->buffer, message->size); in OaepEncode()
370 dbSize = hLen + padLen + message->size; in OaepEncode()
/external/ppp/pppd/
Dmd5.c167 unsigned int padLen; local
177 padLen = (mdi < 56) ? (56 - mdi) : (120 - mdi);
178 MD5_Update (mdContext, PADDING, padLen);
/external/deqp/scripts/android/
Dinstall_apk.py146 padLen = max([len(device.model) for device in devices])+1
148 …evice, adbPath, packageName, apkPath, ("(%s):%s" % (device.model, ' ' * (padLen - len(device.model…
/external/dng_sdk/source/
Ddng_fingerprint.cpp337 uint32 padLen = (index < 56) ? (56 - index) : (120 - index); in Result() local
339 Process (PADDING, padLen); in Result()