Home
last modified time | relevance | path

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

/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/pkcs/
DPBKDF2Params.java36 private ASN1Integer keyLength; field in PBKDF2Params
85 int keyLength) in PBKDF2Params() argument
89 this.keyLength = new ASN1Integer(keyLength); in PBKDF2Params()
103 int keyLength, in PBKDF2Params() argument
108 this.keyLength = new ASN1Integer(keyLength); in PBKDF2Params()
142 keyLength = ASN1Integer.getInstance(o); in PBKDF2Params()
154 keyLength = null; in PBKDF2Params()
191 if (keyLength != null) in getKeyLength()
193 return keyLength.getValue(); in getKeyLength()
236 if (keyLength != null) in toASN1Primitive()
[all …]
/external/skia/src/gpu/
DGrProgramDesc.h30 uint32_t keyLength() const { return *this->atOffset<uint32_t, kLengthOffset>(); } in keyLength() function
36 uint32_t keyLength = other.keyLength();
37 fKey.reset(SkToInt(keyLength));
38 memcpy(fKey.begin(), other.fKey.begin(), keyLength);
44 return 0 == memcmp(this->asKey(), other.asKey(), this->keyLength() & ~0x3);
52 return memcmp(a.asKey(), b.asKey(), a.keyLength() & ~0x3) < 0; in Less()
88 int keyLength = fKey.count(); in finalize() local
89 SkASSERT(0 == (keyLength % 4)); in finalize()
90 *(this->atOffset<uint32_t, GrProgramDesc::kLengthOffset>()) = SkToU32(keyLength); in finalize()
94 *checksum = SkChecksum::Compute(reinterpret_cast<uint32_t*>(fKey.begin()), keyLength); in finalize()
/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/icu/icu4c/source/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.cpp216 int32_t keyLength; in putImpl() local
221 keyLength = foldedKey.length(); in putImpl()
224 keyLength = key.length(); in putImpl()
229 for (index = 0; index < keyLength; ++index) { in putImpl()
/external/icu/icu4j/main/classes/translit/src/com/ibm/icu/text/
DTransliterationRule.java104 private int keyLength; field in TransliterationRule
171 keyLength = input.length() - anteContextLength; in TransliterationRule()
177 keyLength = postContextPos - anteContextLength; in TransliterationRule()
207 if (keyLength > 0) { in TransliterationRule()
208 … key = new StringMatcher(pattern.substring(anteContextLength, anteContextLength + keyLength), in TransliterationRule()
212 int postContextLength = pattern.length() - keyLength - anteContextLength; in TransliterationRule()
215 postContext = new StringMatcher(pattern.substring(anteContextLength + keyLength), in TransliterationRule()
320 keyLength <= r2.keyLength && in masks()
330 (right == right2 && keyLength <= r2.keyLength)) && in masks()
557 int limit = anteContextLength + keyLength; in addSourceTargetSet()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/macs/
DHMac.java121 int keyLength = key.length; in init() local
123 if (keyLength > blockLength) in init()
125 digest.update(key, 0, keyLength); in init()
128 keyLength = digestSize; in init()
132 System.arraycopy(key, 0, inputPad, 0, keyLength); in init()
135 for (int i = keyLength; i < inputPad.length; i++) in init()
/external/conscrypt/src/main/java/org/conscrypt/
DOpenSSLCipher.java679 protected void checkSupportedKeySize(int keyLength) throws InvalidKeyException { in checkSupportedKeySize() argument
680 switch (keyLength) { in checkSupportedKeySize()
686 throw new InvalidKeyException("Unsupported key size: " + keyLength in checkSupportedKeySize()
721 protected String getCipherName(int keyLength, Mode mode) { in getCipherName() argument
722 return "aes-" + (keyLength * 8) + "-" + mode.toString().toLowerCase(Locale.US); in getCipherName()
1064 protected abstract long getEVP_AEAD(int keyLength) throws InvalidKeyException; in getEVP_AEAD() argument
1074 protected void checkSupportedKeySize(int keyLength) throws InvalidKeyException { in checkSupportedKeySize() argument
1075 switch (keyLength) { in checkSupportedKeySize()
1080 throw new InvalidKeyException("Unsupported key size: " + keyLength in checkSupportedKeySize()
1116 protected long getEVP_AEAD(int keyLength) throws InvalidKeyException { in getEVP_AEAD() argument
[all …]
/external/okhttp/okhttp-ws/src/main/java/com/squareup/okhttp/internal/ws/
DWebSocketProtocol.java86 int keyLength = key.length; in toggleMask() local
88 int keyIndex = (int) (frameBytesRead % keyLength); in toggleMask()
/external/icu/icu4c/source/common/
Dloadednormalizer2impl.cpp247 int32_t keyLength=uprv_strlen(name)+1; in getInstance() local
248 char *nameCopy=(char *)uprv_malloc(keyLength); in getInstance()
253 uprv_memcpy(nameCopy, name, keyLength); in getInstance()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/engines/
DBlowfishEngine.java456 int keyLength = key.length; in setKey() local
469 if (keyIndex >= keyLength) in setKey()
/external/icu/icu4c/source/test/intltest/
Dcollationtest.cpp1366 int32_t keyLength; in getCollationKey() local
1367 const uint8_t *keyBytes = key.getByteArray(keyLength); in getCollationKey()
1368 if(keyLength == 0 || keyBytes[keyLength - 1] != 0) { in getCollationKey()
1388 for(int32_t i = 0; i < (keyLength - 1); ++i) { in getCollationKey()
1420 if(keyLength != parts.length() || uprv_memcmp(keyBytes, parts.data(), keyLength) != 0) { in getCollationKey()
1529 int32_t keyLength; in getDifferenceLevel() local
1530 const uint8_t *bytes = key.getByteArray(keyLength); in getDifferenceLevel()
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
Dorg.eclipse.equinox.registry_3.5.0.v20100503.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...
Dorg.eclipse.core.resources.compatibility_3.4.0.v20090505.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...
Dorg.apache.jasper_5.5.17.v201004212143.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...
Dorg.eclipse.core.resources_3.6.1.R36x_v20101007-1215.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...
Dorg.eclipse.jdt.core_3.6.2.v_A76_R36x.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...
Dorg.eclipse.pde.core_3.6.1.v20100902_r361.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...
Dcom.ibm.icu_4.2.1.v20100412.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...
/external/google-tv-pairing-protocol/java/jar/
Dbcprov-jdk15-143.jarMETA-INF/MANIFEST.MF META-INF/BCKEY.SF META-INF/BCKEY ...
/external/robolectric/lib/main/
Dandroid.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/android/ com/ ...