/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/pkcs/ |
D | PBKDF2Params.java | 37 private final ASN1Integer keyLength; field in PBKDF2Params 85 int keyLength) in PBKDF2Params() argument 87 this(salt, iterationCount, keyLength, null); in PBKDF2Params() 101 int keyLength, in PBKDF2Params() argument 107 if (keyLength > 0) in PBKDF2Params() 109 this.keyLength = new ASN1Integer(keyLength); in PBKDF2Params() 113 this.keyLength = null; in PBKDF2Params() 148 keyLength = ASN1Integer.getInstance(o); in PBKDF2Params() 160 keyLength = null; in PBKDF2Params() 174 keyLength = null; in PBKDF2Params() [all …]
|
/external/skia/src/gpu/ |
D | GrProgramDesc.h | 30 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); 43 SkASSERT(SkIsAlign4(this->keyLength())); 44 int l = this->keyLength() >> 2; 60 SkASSERT(SkIsAlign4(a.keyLength())); in Less() 61 int l = a.keyLength() >> 2; in Less() 107 int keyLength = fKey.count(); in finalize() local 108 SkASSERT(0 == (keyLength % 4)); in finalize() [all …]
|
/external/libgdx/gdx/src/com/badlogic/gdx/utils/ |
D | PropertiesUtils.java | 58 int offset = 0, keyLength = -1, intVal; in load() local 147 if (offset > 0 || (offset == 0 && keyLength == 0)) { in load() 148 if (keyLength == -1) { in load() 149 keyLength = offset; in load() 152 properties.put(temp.substring(0, keyLength), temp.substring(keyLength)); in load() 154 keyLength = -1; in load() 159 keyLength = offset; in load() 165 if (keyLength == -1) { // if parsing the key in load() 167 keyLength = offset; in load() 178 if (offset == 0 || offset == keyLength || mode == IGNORE) { in load() [all …]
|
/external/apache-harmony/crypto/src/test/api/java/org/apache/harmony/crypto/tests/javax/crypto/spec/ |
D | PBEKeySpecTest.java | 69 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/ |
D | rbt_rule.cpp | 84 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()
|
D | rbt_rule.h | 125 int32_t keyLength; variable
|
D | tznames_impl.cpp | 216 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/ |
D | TransliterationRule.java | 104 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/icu/android_icu4j/src/main/java/android/icu/text/ |
D | TransliterationRule.java | 105 private int keyLength; field in TransliterationRule 172 keyLength = input.length() - anteContextLength; in TransliterationRule() 178 keyLength = postContextPos - anteContextLength; in TransliterationRule() 208 if (keyLength > 0) { in TransliterationRule() 209 … key = new StringMatcher(pattern.substring(anteContextLength, anteContextLength + keyLength), in TransliterationRule() 213 int postContextLength = pattern.length() - keyLength - anteContextLength; in TransliterationRule() 216 postContext = new StringMatcher(pattern.substring(anteContextLength + keyLength), in TransliterationRule() 321 keyLength <= r2.keyLength && in masks() 331 (right == right2 && keyLength <= r2.keyLength)) && in masks() 558 int limit = anteContextLength + keyLength; in addSourceTargetSet()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/macs/ |
D | HMac.java | 121 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/ |
D | OpenSSLCipher.java | 679 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() 1082 protected abstract long getEVP_AEAD(int keyLength) throws InvalidKeyException; in getEVP_AEAD() argument 1092 protected void checkSupportedKeySize(int keyLength) throws InvalidKeyException { in checkSupportedKeySize() argument 1093 switch (keyLength) { in checkSupportedKeySize() 1098 throw new InvalidKeyException("Unsupported key size: " + keyLength in checkSupportedKeySize() 1134 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/ |
D | WebSocketProtocol.java | 86 int keyLength = key.length; in toggleMask() local 88 int keyIndex = (int) (frameBytesRead % keyLength); in toggleMask()
|
/external/icu/icu4c/source/common/ |
D | loadednormalizer2impl.cpp | 247 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/ |
D | BlowfishEngine.java | 456 int keyLength = key.length; in setKey() local 469 if (keyIndex >= keyLength) in setKey()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
D | UResource.java | 43 private Key(byte[] keyBytes, int keyOffset, int keyLength) { in Key() argument 46 length = keyLength; in Key()
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
D | UResource.java | 45 private Key(byte[] keyBytes, int keyOffset, int keyLength) { in Key() argument 48 length = keyLength; in Key()
|
/external/icu/icu4c/source/test/intltest/ |
D | collationtest.cpp | 1363 int32_t keyLength; in getCollationKey() local 1364 const uint8_t *keyBytes = key.getByteArray(keyLength); in getCollationKey() 1365 if(keyLength == 0 || keyBytes[keyLength - 1] != 0) { in getCollationKey() 1385 for(int32_t i = 0; i < (keyLength - 1); ++i) { in getCollationKey() 1417 if(keyLength != parts.length() || uprv_memcmp(keyBytes, parts.data(), keyLength) != 0) { in getCollationKey() 1526 int32_t keyLength; in getDifferenceLevel() local 1527 const uint8_t *bytes = key.getByteArray(keyLength); in getDifferenceLevel()
|