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

1 2 3

  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/pkcs/
PBKDF2Params.java 25 * keyLength INTEGER (1..MAX) OPTIONAL,
36 private ASN1Integer keyLength;
76 * Create a PBKDF2Params with the specified salt, iteration count, keyLength, and algid-hmacWithSHA1 for the prf.
80 * @param keyLength intended key length to be produced.
85 int keyLength)
89 this.keyLength = new ASN1Integer(keyLength);
93 * Create a PBKDF2Params with the specified salt, iteration count, keyLength, and a defined prf.
97 * @param keyLength intended key length to be produced.
103 int keyLength,
    [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...]
  /system/security/keystore/
keystore_get.cpp 24 ssize_t keystore_get(const char *key, size_t keyLength, uint8_t** value) {
34 int32_t ret = service->get(String16(key, keyLength), value, &valueLength);
  /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...]
  /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...]
  /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...]
  /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...]
  /external/chromium_org/third_party/icu/source/i18n/
rbt_rule.cpp 83 keyLength = input.length() - anteContextLength;
91 keyLength = postContextPos - anteContextLength;
128 if (keyLength > 0) {
129 key = new StringMatcher(pattern, anteContextLength, anteContextLength + keyLength,
138 int32_t postContextLength = pattern.length() - keyLength - anteContextLength;
141 postContext = new StringMatcher(pattern, anteContextLength + keyLength, pattern.length(),
168 keyLength(other.keyLength),
302 keyLength <= r2.keyLength &
    [all...]
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;
  /external/icu/icu4c/source/i18n/
rbt_rule.cpp 84 keyLength = input.length() - anteContextLength;
92 keyLength = postContextPos - anteContextLength;
129 if (keyLength > 0) {
130 key = new StringMatcher(pattern, anteContextLength, anteContextLength + keyLength,
139 int32_t postContextLength = pattern.length() - keyLength - anteContextLength;
142 postContext = new StringMatcher(pattern, anteContextLength + keyLength, pattern.length(),
169 keyLength(other.keyLength),
303 keyLength <= r2.keyLength &
    [all...]
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;
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/macs/
HMac.java 121 int keyLength = key.length;
123 if (keyLength > blockLength)
125 digest.update(key, 0, keyLength);
128 keyLength = digestSize;
132 System.arraycopy(key, 0, inputPad, 0, keyLength);
135 for (int i = keyLength; i < inputPad.length; i++)
  /external/chromium_org/third_party/libaddressinput/src/java/src/com/android/i18n/addressinput/
Util.java 156 int keyLength = keys.length;
161 if (names.length > keyLength) {
166 for (int i = 0; i < keyLength; i++) {
177 if (lnames.length > keyLength) {
182 for (int i = 0; i < keyLength; i++) {
  /frameworks/base/drm/java/android/drm/
DrmUtils.java 156 int keyLength = readByte(constraintData, index);
164 String strKey = readMultipleBytes(constraintData, keyLength, index);
165 index += 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 +
  /external/chromium_org/third_party/skia/src/gpu/gl/
GrGLProgramDesc.h 45 uint32_t keyLength() const { return *this->atOffset<uint32_t, kLengthOffset>(); }
95 return 0 == memcmp(this->asKey(), other.asKey(), this->keyLength() & ~0x3);
103 return memcmp(a.asKey(), b.asKey(), a.keyLength() & ~0x3) < 0;
204 static size_t KeyLength(int effectCnt) {
GrGLProgramDesc.cpp 100 size_t newKeyLength = KeyLength(numEffects);
280 size_t keyLength = other.keyLength();
281 fKey.reset(keyLength);
282 memcpy(fKey.get(), other.fKey.get(), keyLength);
  /external/skia/src/gpu/gl/
GrGLProgramDesc.h 45 uint32_t keyLength() const { return *this->atOffset<uint32_t, kLengthOffset>(); }
95 return 0 == memcmp(this->asKey(), other.asKey(), this->keyLength() & ~0x3);
103 return memcmp(a.asKey(), b.asKey(), a.keyLength() & ~0x3) < 0;
204 static size_t KeyLength(int effectCnt) {
GrGLProgramDesc.cpp 100 size_t newKeyLength = KeyLength(numEffects);
280 size_t keyLength = other.keyLength();
281 fKey.reset(keyLength);
282 memcpy(fKey.get(), other.fKey.get(), keyLength);
  /external/chromium_org/third_party/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);
122 *this->checksum() = SkChecksum::Compute(reinterpret_cast<uint32_t*>(fKey.get()), keyLength);
  /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);
122 *this->checksum() = SkChecksum::Compute(reinterpret_cast<uint32_t*>(fKey.get()), keyLength);
  /external/chromium_org/third_party/WebKit/public/platform/
WebMediaPlayer.h 155 virtual MediaKeyException addKey(const WebString& keySystem, const unsigned char* key, unsigned keyLength, const unsigned char* initData, unsigned initDataLength, const WebString& sessionId) { return MediaKeyExceptionKeySystemNotSupported; }
  /packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/header/
header_read_write_utils.cpp 78 const int keyLength = ByteArrayUtils::readStringAndAdvancePosition(dictBuf,
81 key.insert(key.end(), keyBuffer, keyBuffer + keyLength);
  /external/conscrypt/src/main/java/org/conscrypt/
OpenSSLCipher.java 592 protected void checkSupportedKeySize(int keyLength) throws InvalidKeyException {
593 switch (keyLength) {
599 throw new InvalidKeyException("Unsupported key size: " + keyLength + " bytes");
637 protected String getCipherName(int keyLength, Mode mode) {
638 return "aes-" + (keyLength * 8) + "-" + mode.toString().toLowerCase(Locale.US);
  /external/chromium_org/third_party/tlslite/tlslite/
tlsrecordlayer.py     [all...]

Completed in 653 milliseconds

1 2 3