Home
last modified time | relevance | path

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

12

/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/pkcs/
DPBKDF2Params.java37 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/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/asn1/pkcs/
DPBKDF2Params.java39 private final ASN1Integer keyLength; field in PBKDF2Params
87 int keyLength) in PBKDF2Params() argument
89 this(salt, iterationCount, keyLength, null); in PBKDF2Params()
103 int keyLength, in PBKDF2Params() argument
109 if (keyLength > 0) in PBKDF2Params()
111 this.keyLength = new ASN1Integer(keyLength); in PBKDF2Params()
115 this.keyLength = null; in PBKDF2Params()
150 keyLength = ASN1Integer.getInstance(o); in PBKDF2Params()
162 keyLength = null; in PBKDF2Params()
176 keyLength = null; in PBKDF2Params()
[all …]
/external/skqp/src/gpu/
DGrProgramDesc.h55 uint32_t keyLength() const { in keyLength() function
61 uint32_t keyLength = other.keyLength();
62 fKey.reset(SkToInt(keyLength));
63 memcpy(fKey.begin(), other.fKey.begin(), keyLength);
68 if (this->keyLength() != that.keyLength()) {
72 SkASSERT(SkIsAlign4(this->keyLength()));
73 int l = this->keyLength() >> 2;
/external/skia/src/gpu/
DGrProgramDesc.h51 uint32_t keyLength() const { in keyLength() function
57 uint32_t keyLength = other.keyLength();
58 fKey.reset(SkToInt(keyLength));
59 memcpy(fKey.begin(), other.fKey.begin(), keyLength);
64 if (this->keyLength() != that.keyLength()) {
68 SkASSERT(SkIsAlign4(this->keyLength()));
69 int l = this->keyLength() >> 2;
/external/conscrypt/common/src/main/java/org/conscrypt/
DOpenSSLCipher.java693 String getCipherName(int keyLength, Mode mode) { in getCipherName() argument
694 return "aes-" + (keyLength * 8) + "-" + mode.toString().toLowerCase(Locale.US); in getCipherName()
751 void checkSupportedKeySize(int keyLength) throws InvalidKeyException { in checkSupportedKeySize() argument
752 switch (keyLength) { in checkSupportedKeySize()
758 throw new InvalidKeyException("Unsupported key size: " + keyLength in checkSupportedKeySize()
812 void checkSupportedKeySize(int keyLength) throws InvalidKeyException { in checkSupportedKeySize() argument
813 if (keyLength != 16) { // 128 bits in checkSupportedKeySize()
814 throw new InvalidKeyException("Unsupported key size: " + keyLength + " bytes"); in checkSupportedKeySize()
867 void checkSupportedKeySize(int keyLength) throws InvalidKeyException { in checkSupportedKeySize() argument
868 if (keyLength != 32) { // 256 bits in checkSupportedKeySize()
[all …]
/external/icu/icu4c/source/i18n/
Drbt_rule.cpp86 keyLength = input.length() - anteContextLength; in TransliterationRule()
94 keyLength = postContextPos - anteContextLength; in TransliterationRule()
131 if (keyLength > 0) { in TransliterationRule()
132 key = new StringMatcher(pattern, anteContextLength, anteContextLength + keyLength, in TransliterationRule()
141 int32_t postContextLength = pattern.length() - keyLength - anteContextLength; in TransliterationRule()
144 postContext = new StringMatcher(pattern, anteContextLength + keyLength, pattern.length(), in TransliterationRule()
171 keyLength(other.keyLength), in TransliterationRule()
305 keyLength <= r2.keyLength && in masks()
315 (right == right2 && keyLength <= r2.keyLength)) && in masks()
534 int32_t limit = anteContextLength + keyLength; in addSourceSetTo()
Drbt_rule.h127 int32_t keyLength; variable
/external/icu/icu4j/main/classes/translit/src/com/ibm/icu/text/
DTransliterationRule.java106 private int keyLength; field in TransliterationRule
173 keyLength = input.length() - anteContextLength; in TransliterationRule()
179 keyLength = postContextPos - anteContextLength; in TransliterationRule()
209 if (keyLength > 0) { in TransliterationRule()
210 … key = new StringMatcher(pattern.substring(anteContextLength, anteContextLength + keyLength), in TransliterationRule()
214 int postContextLength = pattern.length() - keyLength - anteContextLength; in TransliterationRule()
217 postContext = new StringMatcher(pattern.substring(anteContextLength + keyLength), in TransliterationRule()
322 keyLength <= r2.keyLength && in masks()
332 (right == right2 && keyLength <= r2.keyLength)) && in masks()
560 int limit = anteContextLength + keyLength; in addSourceTargetSet()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DTransliterationRule.java107 private int keyLength; field in TransliterationRule
174 keyLength = input.length() - anteContextLength; in TransliterationRule()
180 keyLength = postContextPos - anteContextLength; in TransliterationRule()
210 if (keyLength > 0) { in TransliterationRule()
211 … key = new StringMatcher(pattern.substring(anteContextLength, anteContextLength + keyLength), in TransliterationRule()
215 int postContextLength = pattern.length() - keyLength - anteContextLength; in TransliterationRule()
218 postContext = new StringMatcher(pattern.substring(anteContextLength + keyLength), in TransliterationRule()
323 keyLength <= r2.keyLength && in masks()
333 (right == right2 && keyLength <= r2.keyLength)) && in masks()
561 int limit = anteContextLength + keyLength; in addSourceTargetSet()
/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/
DOpenSSLCipher.java700 String getCipherName(int keyLength, Mode mode) { in getCipherName() argument
701 return "aes-" + (keyLength * 8) + "-" + mode.toString().toLowerCase(Locale.US); in getCipherName()
795 void checkSupportedKeySize(int keyLength) throws InvalidKeyException { in checkSupportedKeySize() argument
796 switch (keyLength) { in checkSupportedKeySize()
802 throw new InvalidKeyException("Unsupported key size: " + keyLength in checkSupportedKeySize()
891 void checkSupportedKeySize(int keyLength) throws InvalidKeyException { in checkSupportedKeySize() argument
892 if (keyLength != 16) { // 128 bits in checkSupportedKeySize()
893 throw new InvalidKeyException("Unsupported key size: " + keyLength + " bytes"); in checkSupportedKeySize()
981 void checkSupportedKeySize(int keyLength) throws InvalidKeyException { in checkSupportedKeySize() argument
982 if (keyLength != 32) { // 256 bits in checkSupportedKeySize()
[all …]
/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/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/crypto/macs/
DHMac.java123 int keyLength = key.length; in init() local
125 if (keyLength > blockLength) in init()
127 digest.update(key, 0, keyLength); in init()
130 keyLength = digestSize; in init()
134 System.arraycopy(key, 0, inputPad, 0, keyLength); in init()
137 for (int i = keyLength; i < inputPad.length; i++) in init()
/external/okhttp/okhttp-ws/src/main/java/com/squareup/okhttp/internal/ws/
DWebSocketProtocol.java88 int keyLength = key.length; in toggleMask() local
90 int keyIndex = (int) (frameBytesRead % keyLength); in toggleMask()
/external/cldr/tools/cldr-unittest/src/org/unicode/cldr/unittest/
DTestReferenceStringSearch.java196 private int keyLength; field in TestReferenceStringSearch.DirectStringSearch
210 main: for (; textToSearchIn.hasCharAt(textPosition + keyLength - 1); ++textPosition) { in searchForwards()
212 for (int i = 0; i < keyLength; ++i) { in searchForwards()
227 + keyLength); in searchForwards()
246 keyLength = key.length(); in setKey()
/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/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/crypto/engines/
DBlowfishEngine.java458 int keyLength = key.length; in setKey() local
471 if (keyIndex >= keyLength) in setKey()
/external/icu/icu4c/source/common/
Dloadednormalizer2impl.cpp309 int32_t keyLength= static_cast<int32_t>(uprv_strlen(name)+1); in getInstance() local
310 char *nameCopy=(char *)uprv_malloc(keyLength); in getInstance()
315 uprv_memcpy(nameCopy, name, keyLength); in getInstance()
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DUResource.java57 private Key(byte[] keyBytes, int keyOffset, int keyLength) { in Key() argument
60 length = keyLength; in Key()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DUResource.java54 private Key(byte[] keyBytes, int keyOffset, int keyLength) { in Key() argument
57 length = keyLength; in Key()
/external/skqp/src/gpu/vk/
DGrVkPipelineStateBuilder.cpp408 int keyLength = desc->key().count(); in Build() local
409 SkASSERT(0 == (keyLength % 4)); in Build()
410 desc->fShaderKeyLength = SkToU32(keyLength); in Build()
/external/skia/src/gpu/vk/
DGrVkPipelineStateBuilder.cpp386 int keyLength = desc->key().count(); in Build() local
387 SkASSERT(0 == (keyLength % 4)); in Build()
388 desc->fShaderKeyLength = SkToU32(keyLength); in Build()
DGrVkResourceProvider.h218 return SkOpts::hash_fn(desc.asKey(), desc.keyLength(), 0); in operator()
/external/skia/src/gpu/mtl/
DGrMtlResourceProvider.h63 return SkOpts::hash_fn(desc.asKey(), desc.keyLength(), 0); in operator()
DGrMtlPipelineStateBuilder.mm421 int keyLength = desc->key().count();
422 SkASSERT(0 == (keyLength % 4));
423 desc->fShaderKeyLength = SkToU32(keyLength);
/external/icu/icu4c/source/test/intltest/
Dcollationtest.cpp1361 int32_t keyLength; in getCollationKey() local
1362 const uint8_t *keyBytes = key.getByteArray(keyLength); in getCollationKey()
1363 if(keyLength == 0 || keyBytes[keyLength - 1] != 0) { in getCollationKey()
1383 for(int32_t i = 0; i < (keyLength - 1); ++i) { in getCollationKey()
1415 if(keyLength != parts.length() || uprv_memcmp(keyBytes, parts.data(), keyLength) != 0) { in getCollationKey()
1524 int32_t keyLength; in getDifferenceLevel() local
1525 const uint8_t *bytes = key.getByteArray(keyLength); in getDifferenceLevel()

12