Home
last modified time | relevance | path

Searched refs:padLen (Results 1 – 7 of 7) 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/icu/icu4c/source/common/
Dlocdispnames.cpp727 int32_t padLen; in uloc_getDisplayName() local
729 padLen=(subi==0 ? sub1Pos : patLen)-patPos; in uloc_getDisplayName()
730 if(length+padLen < destCapacity) { in uloc_getDisplayName()
732 for(int32_t i=0;i<padLen;++i) { in uloc_getDisplayName()
736 patPos+=padLen; in uloc_getDisplayName()
738 length+=padLen; in uloc_getDisplayName()
/external/curl/tests/python_dependencies/impacket/
Dsmbserver.py337 padLen = (8-(len(item) % 8)) % 8
338 item['NextEntryOffset'] = len(item) + padLen
347 padLen = (8-(len(item) % 8)) % 8
348 item['NextEntryOffset'] = len(item) + padLen
357 padLen = (8-(len(item) % 8)) % 8
358 item['NextEntryOffset'] = len(item) + padLen
832 padLen = (8-(lenData % 8)) %8
833 respData += '\xaa'*padLen
834 totalData += lenData + padLen
945 padLen = (4 - (55 + len(setup)) % 4 ) % 4
[all …]
Dsmb.py2896 padLen = (4 - (32+2+28 + len(command)) % 4 ) % 4
2897 padBytes = '\xFF' * padLen
2901 padLen = 0
2904 transCommand['Parameters']['ParameterOffset'] = 32+2+28+len(command)+len(name) + padLen
2907 pad2Len = (4 - (32+2+28 + len(command) + padLen + len(param)) % 4) % 4
/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.py145 padLen = max([len(device.model) for device in devices])+1
147 …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()