Home
last modified time | relevance | path

Searched refs:keyLength (Results 1 – 10 of 10) sorted by relevance

/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/pkcs/
DPBKDF2Params.java20 private ASN1Integer keyLength; field in PBKDF2Params
49 int keyLength) in PBKDF2Params() argument
53 this.keyLength = new ASN1Integer(keyLength); in PBKDF2Params()
66 keyLength = (ASN1Integer)e.nextElement(); in PBKDF2Params()
70 keyLength = null; in PBKDF2Params()
86 if (keyLength != null) in getKeyLength()
88 return keyLength.getValue(); in getKeyLength()
101 if (keyLength != null) in toASN1Primitive()
103 v.add(keyLength); in toASN1Primitive()
/external/apache-harmony/crypto/src/test/api/java/org/apache/harmony/crypto/tests/javax/crypto/spec/
DPBEKeySpecTest.java69 int keyLength = 10; in testPBEKeySpec2() local
73 iterationCount, keyLength); in testPBEKeySpec2()
83 new PBEKeySpec(password, null, iterationCount, keyLength); in testPBEKeySpec2()
92 new PBEKeySpec(password, new byte [0], iterationCount, keyLength); in testPBEKeySpec2()
99 new PBEKeySpec(password, salt, -1, keyLength); in testPBEKeySpec2()
113 new PBEKeySpec(password, salt, 0, keyLength); in testPBEKeySpec2()
127 iterationCount, keyLength); in testPBEKeySpec2()
289 int keyLength = 10; in testGetKeyLength() local
291 iterationCount, keyLength); in testGetKeyLength()
294 pbeks.getKeyLength() == keyLength); in testGetKeyLength()
/external/ganymed-ssh2/src/main/java/ch/ethz/ssh2/crypto/
DKeyMaterial.java26 int keyLength) in calculateKey() argument
28 byte[] res = new byte[keyLength]; in calculateKey()
31 int numRounds = (keyLength + dglen - 1) / dglen; in calculateKey()
44 int produced = Math.min(dglen, keyLength); in calculateKey()
48 keyLength -= produced; in calculateKey()
61 produced = Math.min(dglen, keyLength); in calculateKey()
63 keyLength -= produced; in calculateKey()
/external/icu4c/i18n/
Drbt_rule.cpp84 keyLength = input.length() - anteContextLength; in TransliterationRule()
92 keyLength = postContextPos - anteContextLength; in TransliterationRule()
129 if (keyLength > 0) { in TransliterationRule()
130 key = new StringMatcher(pattern, anteContextLength, anteContextLength + keyLength, in TransliterationRule()
139 int32_t postContextLength = pattern.length() - keyLength - anteContextLength; in TransliterationRule()
142 postContext = new StringMatcher(pattern, anteContextLength + keyLength, pattern.length(), in TransliterationRule()
169 keyLength(other.keyLength), in TransliterationRule()
303 keyLength <= r2.keyLength && in masks()
313 (right == right2 && keyLength <= r2.keyLength)) && in masks()
532 int32_t limit = anteContextLength + keyLength; in addSourceSetTo()
Drbt_rule.h125 int32_t keyLength; variable
Dtznames_impl.cpp184 int32_t keyLength; in putImpl() local
189 keyLength = foldedKey.length(); in putImpl()
192 keyLength = key.length(); in putImpl()
197 for (index = 0; index < keyLength; ++index) { in putImpl()
Dcolldata.cpp523 int32_t keyLength = KEY_BUFFER_SIZE; in get() local
524 char *key = getKey(collator, keyBuffer, &keyLength); in get()
534 newData = new CollData(collator, key, keyLength, status); in get()
/external/ganymed-ssh2/src/main/java/ch/ethz/ssh2/crypto/cipher/
DBlowFish.java296 int keyLength = key.length; in setKey() local
309 if (keyIndex >= keyLength) in setKey()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/engines/
DBlowfishEngine.java455 int keyLength = key.length; in setKey() local
468 if (keyIndex >= keyLength) in setKey()
/external/icu4c/common/
Dnormalizer2.cpp672 int32_t keyLength=uprv_strlen(name)+1; in getInstance() local
673 char *nameCopy=(char *)uprv_malloc(keyLength); in getInstance()
678 uprv_memcpy(nameCopy, name, keyLength); in getInstance()