Home
last modified time | relevance | path

Searched refs:keyLen (Results 1 – 20 of 20) sorted by relevance

/external/icu/icu4c/source/tools/gendict/
Dgendict.cpp339 int32_t keyLen; in main() local
340 for (keyLen = 0; keyLen < fileLine.length() && !u_isspace(fileLine[keyLen]); ++keyLen) {} in main()
341 if (keyLen == 0) { in main()
347 for (valueStart = keyLen; in main()
351 if (keyLen < valueStart) { in main()
367 dict.addWord(fileLine.tempSubString(0, keyLen), (int32_t)value, status); in main()
370 if (keyLen < minlen) minlen = keyLen; in main()
371 if (keyLen > maxlen) maxlen = keyLen; in main()
373 dict.addWord(fileLine.tempSubString(0, keyLen), 0, status); in main()
376 if (keyLen < minlen) minlen = keyLen; in main()
[all …]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/params/
DKeyParameter.java19 int keyLen) in KeyParameter() argument
21 this.key = new byte[keyLen]; in KeyParameter()
23 System.arraycopy(key, keyOff, this.key, 0, keyLen); in KeyParameter()
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/text/
DRbnfScannerProviderImpl.java142 int keyLen = 0; in findText() local
151 while (p < str.length() && keyLen == 0) { in findText()
152 keyLen = prefixLength(str.substring(p), key); in findText()
153 if (keyLen != 0) { in findText()
154 return new int[] { p, keyLen }; in findText()
/external/ipsec-tools/src/racoon/missing/crypto/rijndael/
Drijndael-api-fst.c39 int rijndael_makeKey(keyInstance *key, BYTE direction, int keyLen, char *keyMaterial) { in rijndael_makeKey() argument
54 if ((keyLen == 128) || (keyLen == 192) || (keyLen == 256)) { in rijndael_makeKey()
55 key->keyLen = keyLen; in rijndael_makeKey()
61 bcopy(keyMaterial, key->keyMaterial, keyLen/8); in rijndael_makeKey()
64 key->ROUNDS = keyLen/32 + 6; in rijndael_makeKey()
68 for (i = 0; i < key->keyLen/8; i++) { in rijndael_makeKey()
Drijndael-api-fst.h55 int keyLen; /* Length of the key */ member
84 int rijndael_makeKey(keyInstance *key, u_int8_t direction, int keyLen, char *keyMaterial);
/external/boringssl/src/ssl/test/runner/
Dprf.go166 …e *cipherSuite, masterSecret, clientRandom, serverRandom []byte, macLen, keyLen, ivLen int) (clien… argument
171 n := 2*macLen + 2*keyLen + 2*ivLen
178 clientKey = keyMaterial[:keyLen]
179 keyMaterial = keyMaterial[keyLen:]
180 serverKey = keyMaterial[:keyLen]
181 keyMaterial = keyMaterial[keyLen:]
Dcipher_suites.go75 keyLen int member
Dhandshake_client.go643 …erSecret, hs.hello.random, hs.serverHello.random, hs.suite.macLen, hs.suite.keyLen, hs.suite.ivLen)
Dhandshake_server.go736 …erSecret, hs.clientHello.random, hs.hello.random, hs.suite.macLen, hs.suite.keyLen, hs.suite.ivLen)
/external/apache-harmony/crypto/src/test/impl/java/org/apache/harmony/crypto/tests/javax/crypto/
DCipher_Impl1Test.java32 final static int keyLen = 168; field in Cipher_Impl1Test
37 kg.init(keyLen, new SecureRandom()); in kg.init() argument
/external/icu/icu4c/source/tools/ctestfw/
Ddatamap.cpp86 int32_t keyLen = 0; in init() local
90 key = ures_getStringByIndex(headers, i, &keyLen, &status); in init()
91 fData->put(UnicodeString(key, keyLen), new ResourceBundle(t, status), status); in init()
/external/icu/icu4c/source/i18n/
Dzonemeta.cpp714 int32_t keyLen = 0; in getZoneIdByMetazone() local
721 keyLen = mzid.extract(0, mzid.length(), keyBuf, ZID_KEY_MAX + 1, US_INV); in getZoneIdByMetazone()
722 keyBuf[keyLen] = 0; in getZoneIdByMetazone()
731 keyLen = region.extract(0, region.length(), keyBuf, ZID_KEY_MAX + 1, US_INV); in getZoneIdByMetazone()
732 keyBuf[keyLen] = 0; in getZoneIdByMetazone()
Dnfrule.cpp1445 int32_t keyLen = 0; in findTextLenient() local
1456 while (p < str.length() && keyLen == 0) { in findTextLenient()
1458 keyLen = prefixLength(temp, key, status); in findTextLenient()
1462 if (keyLen != 0) { in findTextLenient()
1463 *length = keyLen; in findTextLenient()
Dtznames_impl.cpp1184 int32_t keyLen; in mergeTimeZoneKey() local
1186 keyLen = mzID.extract(0, mzID.length(), mzIdChar, ZID_KEY_MAX + 1, US_INV); in mergeTimeZoneKey()
1188 uprv_memcpy((void *)(result + prefixLen), (void *)mzIdChar, keyLen); in mergeTimeZoneKey()
1189 result[keyLen + prefixLen] = '\0'; in mergeTimeZoneKey()
Dcalendar.cpp245 int32_t keyLen = 0; in getCalendarKeyword() local
251 keyLen = id.extract(keywordIdx+1, id.length(), targetBuffer, targetBufferSize, US_INV); in getCalendarKeyword()
253 targetBuffer[keyLen] = 0; in getCalendarKeyword()
/external/icu/icu4c/source/test/intltest/
Dregcoll.cpp1182 int32_t keyLen; in calcKeyIncremental() local
1186 keyLen = 0; in calcKeyIncremental()
1188 … int32_t keyPartLen = ucol_nextSortKeyPart(coll, &uiter, state, &keyBuf[keyLen], count, &status); in calcKeyIncremental()
1195 keyLen += keyPartLen; in calcKeyIncremental()
1197 return keyLen; in calcKeyIncremental()
/external/apache-harmony/crypto/src/test/api/java/org/apache/harmony/crypto/tests/javax/crypto/
DCipherTest.java48 static final int keyLen = 168; field in CipherTest
53 kg.init(keyLen, new SecureRandom()); in kg.init() argument
/external/icu/icu4c/source/common/
Dlocid.cpp1014 …int32_t keyLen = locale_getKeywords(variantStart+1, '@', keywords, keywordCapacity, NULL, 0, NULL,… in createKeywords() local
1015 if(keyLen) { in createKeywords()
1016 result = new KeywordEnumeration(keywords, keyLen, 0, status); in createKeywords()
/external/clang/lib/Lex/
DPTHLexer.cpp332 unsigned keyLen = in ReadKeyDataLength() local
335 return std::make_pair(keyLen, dataLen); in ReadKeyDataLength()
/external/conscrypt/src/main/native/
Dorg_conscrypt_NativeCrypto.cpp7879 jint keyLen = env->CallIntMethod(sslHandshakeCallbacks, methodID, local
7885 if (keyLen <= 0) {
7888 } else if ((unsigned int) keyLen > max_psk_len) {
7897 memcpy(psk, keyJavaRo.get(), keyLen);
7907 return keyLen;
7948 jint keyLen = env->CallIntMethod(sslHandshakeCallbacks, methodID, local
7954 if (keyLen <= 0) {
7957 } else if ((unsigned int) keyLen > max_psk_len) {
7966 memcpy(psk, keyJavaRo.get(), keyLen);
7969 return keyLen;