/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/ |
D | OpenSSLAeadCipherAES.java | 39 void checkSupportedKeySize(int keyLength) throws InvalidKeyException { in checkSupportedKeySize() argument 40 switch (keyLength) { in checkSupportedKeySize() 45 throw new InvalidKeyException("Unsupported key size: " + keyLength in checkSupportedKeySize() 131 long getEVP_AEAD(int keyLength) throws InvalidKeyException { in getEVP_AEAD() argument 132 if (keyLength == 16) { in getEVP_AEAD() 134 } else if (keyLength == 32) { in getEVP_AEAD() 137 throw new RuntimeException("Unexpected key length: " + keyLength); in getEVP_AEAD() 148 void checkSupportedKeySize(int keyLength) throws InvalidKeyException { in checkSupportedKeySize() argument 149 if (keyLength != 16) { // 128 bits in checkSupportedKeySize() 151 "Unsupported key size: " + keyLength + " bytes (must be 16)"); in checkSupportedKeySize() [all …]
|
D | OpenSSLEvpCipherAES.java | 66 String getCipherName(int keyLength, Mode mode) { in getCipherName() argument 67 return "aes-" + (keyLength * 8) + "-" + mode.toString().toLowerCase(Locale.US); in getCipherName() 147 void checkSupportedKeySize(int keyLength) throws InvalidKeyException { in checkSupportedKeySize() argument 148 switch (keyLength) { in checkSupportedKeySize() 154 throw new InvalidKeyException("Unsupported key size: " + keyLength in checkSupportedKeySize() 232 void checkSupportedKeySize(int keyLength) throws InvalidKeyException { in checkSupportedKeySize() argument 233 if (keyLength != 16) { // 128 bits in checkSupportedKeySize() 234 throw new InvalidKeyException("Unsupported key size: " + keyLength + " bytes"); in checkSupportedKeySize() 311 void checkSupportedKeySize(int keyLength) throws InvalidKeyException { in checkSupportedKeySize() argument 312 if (keyLength != 32) { // 256 bits in checkSupportedKeySize() [all …]
|
D | OpenSSLAeadCipherChaCha20.java | 33 void checkSupportedKeySize(int keyLength) throws InvalidKeyException { in checkSupportedKeySize() argument 34 if (keyLength != 32) { in checkSupportedKeySize() 35 throw new InvalidKeyException("Unsupported key size: " + keyLength in checkSupportedKeySize() 58 long getEVP_AEAD(int keyLength) throws InvalidKeyException { in getEVP_AEAD() argument 59 if (keyLength == 32) { in getEVP_AEAD() 62 throw new RuntimeException("Unexpected key length: " + keyLength); in getEVP_AEAD()
|
/external/conscrypt/common/src/main/java/org/conscrypt/ |
D | OpenSSLAeadCipherAES.java | 35 void checkSupportedKeySize(int keyLength) throws InvalidKeyException { in checkSupportedKeySize() argument 36 switch (keyLength) { in checkSupportedKeySize() 41 throw new InvalidKeyException("Unsupported key size: " + keyLength in checkSupportedKeySize() 124 long getEVP_AEAD(int keyLength) throws InvalidKeyException { in getEVP_AEAD() argument 125 if (keyLength == 16) { in getEVP_AEAD() 127 } else if (keyLength == 32) { in getEVP_AEAD() 130 throw new RuntimeException("Unexpected key length: " + keyLength); in getEVP_AEAD() 138 void checkSupportedKeySize(int keyLength) throws InvalidKeyException { in checkSupportedKeySize() argument 139 if (keyLength != 16) { // 128 bits in checkSupportedKeySize() 141 "Unsupported key size: " + keyLength + " bytes (must be 16)"); in checkSupportedKeySize() [all …]
|
D | OpenSSLEvpCipherAES.java | 62 String getCipherName(int keyLength, Mode mode) { in getCipherName() argument 63 return "aes-" + (keyLength * 8) + "-" + mode.toString().toLowerCase(Locale.US); in getCipherName() 119 void checkSupportedKeySize(int keyLength) throws InvalidKeyException { in checkSupportedKeySize() argument 120 switch (keyLength) { in checkSupportedKeySize() 126 throw new InvalidKeyException("Unsupported key size: " + keyLength in checkSupportedKeySize() 180 void checkSupportedKeySize(int keyLength) throws InvalidKeyException { in checkSupportedKeySize() argument 181 if (keyLength != 16) { // 128 bits in checkSupportedKeySize() 182 throw new InvalidKeyException("Unsupported key size: " + keyLength + " bytes"); in checkSupportedKeySize() 235 void checkSupportedKeySize(int keyLength) throws InvalidKeyException { in checkSupportedKeySize() argument 236 if (keyLength != 32) { // 256 bits in checkSupportedKeySize() [all …]
|
D | OpenSSLAeadCipherChaCha20.java | 29 void checkSupportedKeySize(int keyLength) throws InvalidKeyException { in checkSupportedKeySize() argument 30 if (keyLength != 32) { in checkSupportedKeySize() 31 throw new InvalidKeyException("Unsupported key size: " + keyLength in checkSupportedKeySize() 54 long getEVP_AEAD(int keyLength) throws InvalidKeyException { in getEVP_AEAD() argument 55 if (keyLength == 32) { in getEVP_AEAD() 58 throw new RuntimeException("Unexpected key length: " + keyLength); in getEVP_AEAD()
|
/external/llvm-project/llvm/include/llvm/ADT/ |
D | StringMapEntry.h | 24 size_t keyLength; variable 27 explicit StringMapEntryBase(size_t keyLength) : keyLength(keyLength) {} in StringMapEntryBase() argument 29 size_t getKeyLength() const { return keyLength; } in getKeyLength() 42 explicit StringMapEntryStorage(size_t keyLength) in StringMapEntryStorage() argument 43 : StringMapEntryBase(keyLength), second() {} in StringMapEntryStorage() 45 StringMapEntryStorage(size_t keyLength, InitTy &&... initVals) in StringMapEntryStorage() argument 46 : StringMapEntryBase(keyLength), in StringMapEntryStorage() 58 explicit StringMapEntryStorage(size_t keyLength, NoneType none = None) 59 : StringMapEntryBase(keyLength) {} in StringMapEntryBase() argument 93 size_t keyLength = key.size(); in Create() local [all …]
|
/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/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/asn1/pkcs/ |
D | PBKDF2Params.java | 39 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/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/asn1/pkcs/ |
D | PBKDF2Params.java | 39 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/ |
D | GrProgramDesc.h | 55 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/icu/android_icu4j/src/main/java/android/icu/text/ |
D | TransliterationRule.java | 107 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/icu/icu4j/main/classes/translit/src/com/ibm/icu/text/ |
D | TransliterationRule.java | 106 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/icu4c/source/i18n/ |
D | rbt_rule.cpp | 86 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()
|
/external/skia/src/gpu/ |
D | GrProgramDesc.h | 119 uint32_t keyLength() const { in keyLength() function 161 static bool BuildFromData(GrProgramDesc* desc, const void* keyData, size_t keyLength) { in BuildFromData() argument 162 if (!SkTFitsIn<int>(keyLength) || !SkIsAlign4(keyLength)) { in BuildFromData() 165 desc->fKey.reset(keyLength / 4); in BuildFromData() 166 memcpy(desc->fKey.begin(), keyData, keyLength); in BuildFromData()
|
/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/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/crypto/macs/ |
D | HMac.java | 123 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/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/crypto/macs/ |
D | HMac.java | 123 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/conscrypt/publicapi/src/test/java/android/net/ssl/ |
D | SSLSocketsTest.java | 130 int keyLength = 32; in exportKeyingMaterial_ValidSocket() local 134 byte[] clientEkm = SSLSockets.exportKeyingMaterial(pair.client, label, null, keyLength); in exportKeyingMaterial_ValidSocket() 135 byte[] serverEkm = SSLSockets.exportKeyingMaterial(pair.server, label, null, keyLength); in exportKeyingMaterial_ValidSocket() 138 assertEquals(keyLength, clientEkm.length); in exportKeyingMaterial_ValidSocket() 139 assertEquals(keyLength, serverEkm.length); in exportKeyingMaterial_ValidSocket()
|
D | SSLEnginesTest.java | 124 int keyLength = 32; in exportKeyingMaterial_ValidEngine() local 128 byte[] clientEkm = SSLEngines.exportKeyingMaterial(pair.client, label, null, keyLength); in exportKeyingMaterial_ValidEngine() 129 byte[] serverEkm = SSLEngines.exportKeyingMaterial(pair.server, label, null, keyLength); in exportKeyingMaterial_ValidEngine() 132 assertEquals(keyLength, clientEkm.length); in exportKeyingMaterial_ValidEngine() 133 assertEquals(keyLength, serverEkm.length); in exportKeyingMaterial_ValidEngine()
|
/external/okhttp/okhttp-ws/src/main/java/com/squareup/okhttp/internal/ws/ |
D | WebSocketProtocol.java | 88 int keyLength = key.length; in toggleMask() local 90 int keyIndex = (int) (frameBytesRead % keyLength); in toggleMask()
|
/external/okio/okio/src/jvmTest/kotlin/okio/ |
D | CipherAlgorithm.kt | 25 val keyLength: Int, in <lambda>() constant in okio.CipherAlgorithm 29 val key = random.nextBytes(keyLength) in <lambda>()
|
/external/cldr/tools/cldr-unittest/src/org/unicode/cldr/unittest/ |
D | TestReferenceStringSearch.java | 196 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/ |
D | BlowfishEngine.java | 457 int keyLength = key.length; in setKey() local 470 if (keyIndex >= keyLength) in setKey()
|
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/crypto/engines/ |
D | BlowfishEngine.java | 459 int keyLength = key.length; in setKey() local 472 if (keyIndex >= keyLength) in setKey()
|