HomeSort by relevance Sort by last modified time
    Searched defs:keyLength (Results 1 - 25 of 54) sorted by null

1 2 3

  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/pkcs/
PBKDF2Params.java 20 private ASN1Integer keyLength;
49 int keyLength)
53 this.keyLength = new ASN1Integer(keyLength);
66 keyLength = (ASN1Integer)e.nextElement();
70 keyLength = null;
86 if (keyLength != null)
88 return keyLength.getValue();
101 if (keyLength != null)
103 v.add(keyLength);
    [all...]
  /external/chromium_org/third_party/icu/source/i18n/
rbt_rule.h 59 // TODO Eliminate the pattern and keyLength data members. They
62 // methods and pattern/keyLength can be isolated into a separate
93 * @see keyLength
122 * anteContextLength + keyLength) is the key.
125 int32_t keyLength;
colldata.cpp 521 int32_t keyLength = KEY_BUFFER_SIZE;
522 char *key = getKey(collator, keyBuffer, &keyLength);
532 newData = new CollData(collator, key, keyLength, status);
zstrfmt.cpp 272 int32_t keyLength;
277 keyLength = foldedKey.length();
280 keyLength = key.length();
285 for (index = 0; index < keyLength; ++index) {
    [all...]
  /external/icu4c/i18n/
rbt_rule.h 59 // TODO Eliminate the pattern and keyLength data members. They
62 // methods and pattern/keyLength can be isolated into a separate
93 * @see keyLength
122 * anteContextLength + keyLength) is the key.
125 int32_t keyLength;
tznames_impl.cpp 185 int32_t keyLength;
190 keyLength = foldedKey.length();
193 keyLength = key.length();
198 for (index = 0; index < keyLength; ++index) {
    [all...]
  /libcore/luni/src/main/java/javax/crypto/spec/
PBEKeySpec.java 35 private final int keyLength;
52 keyLength = 0;
65 * @param keyLength
74 int keyLength) {
84 if (keyLength <= 0) {
85 throw new IllegalArgumentException("keyLength <= 0");
97 this.keyLength = keyLength;
135 this.keyLength = 0;
192 return keyLength;
    [all...]
  /libcore/luni/src/test/java/libcore/javax/crypto/
SecretKeyFactoryTest.java 133 int keyLength = 64;
138 test_PBKDF2_UTF8(password, salt, iterations, keyLength, expected);
139 test_PBKDF2_8BIT(password, salt, iterations, keyLength, expected);
155 int keyLength = 192;
162 test_PBKDF2_UTF8(password, salt, iterations, keyLength, expected);
163 test_PBKDF2_8BIT(password, salt, iterations, keyLength, expected);
176 int keyLength = 160;
189 test_PBKDF2_UTF8(password, salt, iterations, keyLength, expected_utf8);
190 test_PBKDF2_8BIT(password, salt, iterations, keyLength, expected_8bit);
193 private void test_PBKDF2_8BIT(char[] password, byte[] salt, int iterations, int keyLength,
    [all...]
  /external/apache-harmony/crypto/src/test/api/java/org/apache/harmony/crypto/tests/javax/crypto/spec/
PBEKeySpecTest.java 61 * keyLength) method testing. Tests the behavior of the method in the case
69 int keyLength = 10;
73 iterationCount, keyLength);
83 new PBEKeySpec(password, null, iterationCount, keyLength);
92 new PBEKeySpec(password, new byte [0], iterationCount, keyLength);
99 new PBEKeySpec(password, salt, -1, keyLength);
108 + "in the case of negative keyLength.");
113 new PBEKeySpec(password, salt, 0, keyLength);
122 + "in the case of zero keyLength.");
127 iterationCount, keyLength);
    [all...]
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/macs/
HMac.java 123 int keyLength = key.length;
125 if (keyLength > blockLength)
127 digest.update(key, 0, keyLength);
130 keyLength = digestSize;
134 System.arraycopy(key, 0, inputPad, 0, keyLength);
137 for (int i = keyLength; i < inputPad.length; i++)
  /external/skia/tests/
GLProgramsTest.cpp 34 size_t keyLength = KeyLength(numEffects);
35 fKey.reset(keyLength);
36 *this->atOffset<uint32_t, kLengthOffset>() = static_cast<uint32_t>(keyLength);
115 *this->checksum() = SkChecksum::Compute(reinterpret_cast<uint32_t*>(fKey.get()), keyLength);
  /frameworks/base/drm/java/android/drm/
DrmUtils.java 157 int keyLength = readByte(constraintData, index);
165 String strKey = readMultipleBytes(constraintData, keyLength, index);
166 index += keyLength;
  /libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/spec/
PBEKeySpecTest.java 61 * keyLength) method testing. Tests the behavior of the method in the case
69 int keyLength = 10;
73 iterationCount, keyLength);
83 new PBEKeySpec(password, null, iterationCount, keyLength);
92 new PBEKeySpec(password, new byte [0], iterationCount, keyLength);
99 new PBEKeySpec(password, salt, -1, keyLength);
108 + "in the case of negative keyLength.");
113 new PBEKeySpec(password, salt, 0, keyLength);
122 + "in the case of zero keyLength.");
127 iterationCount, keyLength);
    [all...]
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/engines/
BlowfishEngine.java 456 int keyLength = key.length;
469 if (keyIndex >= keyLength)
  /external/chromium_org/third_party/skia/src/gpu/gl/
GrGLProgramDesc.h 40 uint32_t keyLength() const { return *this->atOffset<uint32_t, kLengthOffset>(); }
90 return 0 == memcmp(this->asKey(), other.asKey(), this->keyLength() & ~0x3);
98 return memcmp(a.asKey(), b.asKey(), a.keyLength() & ~0x3) < 0;
202 static size_t KeyLength(int effectCnt) {
  /external/ganymed-ssh2/src/main/java/ch/ethz/ssh2/crypto/cipher/
BlowFish.java 296 int keyLength = key.length;
309 if (keyIndex >= keyLength)
  /external/skia/src/gpu/gl/
GrGLProgramDesc.h 40 uint32_t keyLength() const { return *this->atOffset<uint32_t, kLengthOffset>(); }
90 return 0 == memcmp(this->asKey(), other.asKey(), this->keyLength() & ~0x3);
98 return memcmp(a.asKey(), b.asKey(), a.keyLength() & ~0x3) < 0;
202 static size_t KeyLength(int effectCnt) {
  /frameworks/base/core/jni/
android_hardware_camera2_CameraMetadata.cpp 473 size_t keyLength = strlen(key);
515 if (sectionLength + 1 >= keyLength) {
  /libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/func/
CipherThread.java 33 private int keyLength = 0;
78 keyLength = getNextKey();
122 return keyLength;
138 return "Alg name:" + algName + " Key:" + keyLength + " Mode:" + mode +
  /packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/header/
header_read_write_utils.cpp 95 const int keyLength = ByteArrayUtils::readStringAndAdvancePosition(dictBuf,
98 key.insert(key.end(), keyBuffer, keyBuffer + keyLength);
  /external/chromium_org/third_party/icu/source/common/
normalizer2.cpp 590 int32_t keyLength=uprv_strlen(name)+1;
591 char *nameCopy=(char *)uprv_malloc(keyLength);
596 uprv_memcpy(nameCopy, name, keyLength);
  /packages/inputmethods/OpenWnn/libs/libwnnDictionary/
OpenWnnDictionaryImplJni.c     [all...]
  /system/security/keystore/
IKeystoreService.cpp 301 size_t keyLength = item->size();
302 data.writeInt32(keyLength);
303 void* buf = data.writeInplace(keyLength);
304 memcpy(buf, item->data(), keyLength);
320 virtual int32_t import(const String16& name, const uint8_t* key, size_t keyLength, int uid,
326 data.writeInt32(keyLength);
327 void* buf = data.writeInplace(keyLength);
328 memcpy(buf, key, keyLength);
  /external/icu4c/common/
normalizer2.cpp 670 int32_t keyLength=uprv_strlen(name)+1;
671 char *nameCopy=(char *)uprv_malloc(keyLength);
676 uprv_memcpy(nameCopy, name, keyLength);
    [all...]
  /libcore/luni/src/main/java/java/util/
Properties.java 283 int offset = 0, keyLength = -1, intVal;
372 if (offset > 0 || (offset == 0 && keyLength == 0)) {
373 if (keyLength == -1) {
374 keyLength = offset;
377 put(temp.substring(0, keyLength), temp
378 .substring(keyLength));
380 keyLength = -1;
385 keyLength = offset;
391 if (keyLength == -1) { // if parsing the key
393 keyLength = offset
    [all...]

Completed in 4604 milliseconds

1 2 3