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

1 2 3 4

  /system/bt/stack/smp/
p_256_multprecision.h 39 int multiprecision_compare(DWORD *a, DWORD *b, uint32_t keyLength);
40 int multiprecision_iszero(DWORD *a, uint32_t keyLength);
41 void multiprecision_init(DWORD *c, uint32_t keyLength);
42 void multiprecision_copy(DWORD *c, DWORD *a, uint32_t keyLength);
44 UINT32 multiprecision_most_signdwords(DWORD *a, uint32_t keyLength);
45 UINT32 multiprecision_most_signbits(DWORD *a, uint32_t keyLength);
46 void multiprecision_inv_mod(DWORD *aminus, DWORD *a, uint32_t keyLength);
47 DWORD multiprecision_add(DWORD *c, DWORD *a, DWORD *b, uint32_t keyLength); // c=a+b
48 void multiprecision_add_mod(DWORD *c, DWORD *a, DWORD *b, uint32_t keyLength);
49 DWORD multiprecision_sub(DWORD *c, DWORD *a, DWORD *b, uint32_t keyLength); // c=a-
    [all...]
p_256_ecc_pp.c 44 static void ECC_Double(Point *q, Point *p, uint32_t keyLength)
56 if (multiprecision_iszero(p->z, keyLength))
58 multiprecision_init(q->z, keyLength);
65 multiprecision_mersenns_squa_mod(t1, z1, keyLength); // t1=z1^2
66 multiprecision_sub_mod(t2, x1, t1, keyLength); // t2=x1-t1
67 multiprecision_add_mod(t1, x1, t1, keyLength); // t1=x1+t1
68 multiprecision_mersenns_mult_mod(t2, t1, t2, keyLength); // t2=t2*t1
69 multiprecision_lshift_mod(t3, t2, keyLength);
70 multiprecision_add_mod(t2, t3, t2, keyLength); // t2=3t2
72 multiprecision_mersenns_mult_mod(z3, y1, z1, keyLength); // z3=y1*z
    [all...]
p_256_ecc_pp.h 59 void ECC_PointMult_Bin_NAF(Point *q, Point *p, DWORD *n, uint32_t keyLength);
61 #define ECC_PointMult(q, p, n, keyLength) ECC_PointMult_Bin_NAF(q, p, n, keyLength)
63 void p_256_init_curve(UINT32 keyLength);
p_256_multprecision.c 30 void multiprecision_init(DWORD *c, uint32_t keyLength)
32 for (uint32_t i = 0; i < keyLength; i++)
36 void multiprecision_copy(DWORD *c, DWORD *a, uint32_t keyLength)
38 for (uint32_t i = 0; i < keyLength; i++)
42 int multiprecision_compare(DWORD *a, DWORD *b, uint32_t keyLength)
44 for (int i = keyLength - 1; i >= 0; i--)
54 int multiprecision_iszero(DWORD *a, uint32_t keyLength)
56 for (uint32_t i = 0; i < keyLength; i++)
73 UINT32 multiprecision_most_signdwords(DWORD *a, uint32_t keyLength)
76 for (i = keyLength - 1; i >= 0; i--
    [all...]
p_256_curvepara.c 28 void p_256_init_curve(UINT32 keyLength)
32 if(keyLength == KEY_LENGTH_DWORDS_P256)
  /external/skia/src/gpu/
GrProgramDesc.h 30 uint32_t keyLength() const { return *this->atOffset<uint32_t, kLengthOffset>(); }
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()));
61 int l = a.keyLength() >> 2;
107 int keyLength = fKey.count()
    [all...]
  /libcore/ojluni/src/main/java/javax/crypto/spec/
PBEKeySpec.java 68 private int keyLength = 0;
101 * @param keyLength the to-be-derived key length.
105 * <code>keyLength</code> is not positive.
108 int keyLength) {
126 if (keyLength<=0) {
127 throw new IllegalArgumentException("invalid keyLength value");
130 this.keyLength = keyLength;
238 return keyLength;
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/pkcs/
PBKDF2Params.java 26 * keyLength INTEGER (1..MAX) OPTIONAL,
37 private final 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)
87 this(salt, iterationCount, keyLength, null);
91 * Create a PBKDF2Params with the specified salt, iteration count, keyLength, and a defined prf.
95 * @param keyLength intended key length to be produced.
101 int keyLength,
107 if (keyLength > 0
    [all...]
  /external/libgdx/gdx/src/com/badlogic/gdx/utils/
PropertiesUtils.java 58 int offset = 0, keyLength = -1, intVal;
147 if (offset > 0 || (offset == 0 && keyLength == 0)) {
148 if (keyLength == -1) {
149 keyLength = offset;
152 properties.put(temp.substring(0, keyLength), temp.substring(keyLength));
154 keyLength = -1;
159 keyLength = offset;
165 if (keyLength == -1) { // if parsing the key
167 keyLength = offset
    [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), -1, 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...]
  /external/okhttp/okhttp-ws/src/main/java/com/squareup/okhttp/internal/ws/
WebSocketProtocol.java 86 int keyLength = key.length;
88 int keyIndex = (int) (frameBytesRead % 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/icu/android_icu4j/src/main/java/android/icu/text/
TransliterationRule.java 47 // TODO Eliminate the pattern and keyLength data members. They
50 // methods and pattern/keyLength can be isolated into a separate
81 * @see keyLength
103 * anteContextLength + keyLength) is the key.
105 private int keyLength;
172 keyLength = input.length() - anteContextLength;
178 keyLength = postContextPos - anteContextLength;
208 if (keyLength > 0) {
209 key = new StringMatcher(pattern.substring(anteContextLength, anteContextLength + keyLength),
213 int postContextLength = pattern.length() - keyLength - anteContextLength
    [all...]
  /external/icu/icu4j/main/classes/translit/src/com/ibm/icu/text/
TransliterationRule.java 46 // TODO Eliminate the pattern and keyLength data members. They
49 // methods and pattern/keyLength can be isolated into a separate
80 * @see keyLength
102 * anteContextLength + keyLength) is the key.
104 private int keyLength;
171 keyLength = input.length() - anteContextLength;
177 keyLength = postContextPos - anteContextLength;
207 if (keyLength > 0) {
208 key = new StringMatcher(pattern.substring(anteContextLength, anteContextLength + keyLength),
212 int postContextLength = pattern.length() - keyLength - anteContextLength
    [all...]
  /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/conscrypt/src/main/java/org/conscrypt/
OpenSSLCipher.java 679 protected void checkSupportedKeySize(int keyLength) throws InvalidKeyException {
680 switch (keyLength) {
686 throw new InvalidKeyException("Unsupported key size: " + keyLength
721 protected String getCipherName(int keyLength, Mode mode) {
722 return "aes-" + (keyLength * 8) + "-" + mode.toString().toLowerCase(Locale.US);
    [all...]
  /external/icu/icu4c/source/common/
loadednormalizer2impl.cpp 247 int32_t keyLength=uprv_strlen(name)+1;
248 char *nameCopy=(char *)uprv_malloc(keyLength);
253 uprv_memcpy(nameCopy, name, keyLength);
  /external/icu/android_icu4j/src/main/java/android/icu/impl/
UResource.java 45 private Key(byte[] keyBytes, int keyOffset, int keyLength) {
48 length = keyLength;
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
UResource.java 43 private Key(byte[] keyBytes, int keyOffset, int keyLength) {
46 length = keyLength;

Completed in 1634 milliseconds

1 2 3 4