HomeSort by relevance Sort by last modified time
    Searched defs:key (Results 126 - 150 of 6968) sorted by null

1 2 3 4 56 7 8 91011>>

  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/agreement/
DHBasicAgreement.java 14 * a Diffie-Hellman key agreement class.
25 private DHPrivateKeyParameters key; field in class:DHBasicAgreement
48 this.key = (DHPrivateKeyParameters)kParam;
49 this.dhParams = key.getParameters();
54 return (key.getParameters().getP().bitLength() + 7) / 8;
58 * given a short term public key from a given party calculate the next
68 throw new IllegalArgumentException("Diffie-Hellman public key has wrong parameters.");
71 BigInteger result = pub.getY().modPow(key.getX(), dhParams.getP());
74 throw new IllegalStateException("Shared key can't be 1");
ECDHBasicAgreement.java 20 * party's private key and another party's public key, where both have
23 * primitive can be invoked by a scheme to derive a shared secret key;
31 private ECPrivateKeyParameters key; field in class:ECDHBasicAgreement
34 CipherParameters key)
36 this.key = (ECPrivateKeyParameters)key;
41 return (key.getParameters().getCurve().getFieldSize() + 7) / 8;
49 ECCurve myCurve = key.getParameters().getCurve();
51 throw new IllegalStateException("Infinity is not a valid public key for ECDH")
    [all...]
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/params/
AEADParameters.java 10 private KeyParameter key; field in class:AEADParameters
16 * @param key key to be used by underlying cipher
20 public AEADParameters(KeyParameter key, int macSize, byte[] nonce)
22 this(key, macSize, nonce, null);
28 * @param key key to be used by underlying cipher
33 public AEADParameters(KeyParameter key, int macSize, byte[] nonce, byte[] associatedText)
35 this.key = key;
    [all...]
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/x509/
KeyFactory.java 4 import java.security.Key;
30 PrivateKey key = BouncyCastleProvider.getPrivateKey(info); local
32 if (key != null)
34 return key;
57 PublicKey key = BouncyCastleProvider.getPublicKey(info); local
59 if (key != null)
61 return key;
75 protected KeySpec engineGetKeySpec(Key key, Class keySpec)
78 if (keySpec.isAssignableFrom(PKCS8EncodedKeySpec.class) && key.getFormat().equals("PKCS#8")
    [all...]
  /external/cmockery/cmockery_0_1_2/src/example/
key_value_test.c 25 unsigned int key; member in struct:KeyValue
58 assert_int_equal(found->key, key_values[i].key);
68 assert_true(kv[i - 1].key < kv[i].key);
  /external/compiler-rt/lib/sanitizer_common/tests/
sanitizer_posix_test.cc 25 static pthread_key_t key; member in namespace:__sanitizer
32 ASSERT_EQ(0, pthread_setspecific(key, reinterpret_cast<void *>(iter - 1)));
40 return reinterpret_cast<void*>(pthread_setspecific(key, arg));
54 ASSERT_EQ(0, pthread_key_create(&key, &destructor));
59 ASSERT_EQ(0, pthread_key_delete(key));
  /external/conscrypt/common/src/main/java/org/conscrypt/
OpenSSLECKeyPairGenerator.java 70 final OpenSSLKey key = new OpenSSLKey( local
72 return new KeyPair(new OpenSSLECPublicKey(group, key), new OpenSSLECPrivateKey(group, key));
79 throw new InvalidParameterException("unknown key size " + keysize);
OpenSSLRSAKeyPairGenerator.java 45 * Default RSA key size 2048 bits.
51 final OpenSSLKey key = new OpenSSLKey(NativeCrypto.RSA_generate_key_ex(modulusBits, local
54 PrivateKey privKey = OpenSSLRSAPrivateKey.getInstance(key);
55 PublicKey pubKey = new OpenSSLRSAPublicKey(key);
  /external/conscrypt/openjdk/src/test/java/org/conscrypt/
OpenSSLKeyTest.java 25 "-----BEGIN PUBLIC KEY-----\n" +
28 "-----END PUBLIC KEY-----";
31 "-----BEGIN RSA PRIVATE KEY-----\n" +
39 "-----END RSA PRIVATE KEY-----";
52 OpenSSLKey key = OpenSSLKey.fromPublicKeyPemInputStream(is); local
53 OpenSSLRSAPublicKey publicKey = (OpenSSLRSAPublicKey)key.getPublicKey();
60 OpenSSLKey key = OpenSSLKey.fromPrivateKeyPemInputStream(is); local
61 OpenSSLRSAPrivateKey privateKey = (OpenSSLRSAPrivateKey)key.getPrivateKey();
  /external/curl/tests/unit/
unit1309.c 51 printf("%ld.%ld[%d]", (long)t->key.tv_sec,
52 (long)t->key.tv_usec, i);
80 struct timeval key; variable in typeref:struct:timeval
82 key.tv_sec = 0;
83 key.tv_usec = (541*i)%1023;
85 nodes[i].payload = (void *)key.tv_usec; /* for simplicity */
86 root = Curl_splayinsert(key, root, &nodes[i]);
unit1602.c 56 int key = 20; variable
63 nodep = Curl_hash_add(&hash_static, &key, klen, value);
69 /* Attempt to add another key/value pair */
  /external/dagger2/compiler/src/test/java/dagger/internal/codegen/
BindingFieldTest.java 49 private Key.Factory keyFactory;
54 this.keyFactory = new Key.Factory(types, elements);
64 Key key = keyFactory.forInjectConstructorWithResolvedType( local
66 TypeName xClass = TypeNames.forTypeMirror(key.type());
68 BindingKey.create(BindingKey.Kind.CONTRIBUTION, key), "test")
73 BindingKey.create(BindingKey.Kind.MEMBERS_INJECTION, key), "test")
80 Key key = keyFactory.forInjectConstructorWithResolvedType( local
83 BindingKey.create(BindingKey.Kind.CONTRIBUTION, key), "foo").name()
    [all...]
  /external/deqp/framework/delibs/depool/
dePoolHash.c 102 deInt16 key = deTestHashIter_getKey(&testIter); local
104 DE_TEST_ASSERT(deInBounds32(key, 1000, 5000) || deInBounds32(key, 10000, 12000));
105 DE_TEST_ASSERT(*deTestHash_find(hash, key) == -key);
106 DE_TEST_ASSERT(val == -key);
134 deInt16 key = deTestInt16Array_get(keyArray, ndx); local
137 DE_TEST_ASSERT(val == -key);
138 DE_TEST_ASSERT(*deTestHash_find(hash, key) == val);
  /external/deqp/framework/egl/
egluGLFunctionLoader.cpp 63 const deUint32 key = apiType.getPacked(); local
64 LibraryMap::iterator iter = m_libraries.find(key);
71 m_libraries.insert(std::make_pair(key, library));
  /external/dhcpcd-6.8.2/test/
test_hmac_md5.c 52 uint8_t key[16]; local
57 key[i] = 0x0b;
58 hmac_md5(text, 8, key, 16, hmac);
68 const uint8_t key[] = "Jefe"; local
71 hmac_md5(text, 28, key, 4, hmac);
81 uint8_t key[16]; local
88 key[i] = 0xaa;
89 hmac_md5(text, 50, key, 16, hmac);
99 uint8_t key[25]; local
106 key[i] = (uint8_t)(i + 1)
117 uint8_t key[16]; local
133 uint8_t key[80]; local
149 uint8_t key[80]; local
    [all...]
  /external/e2fsprogs/contrib/android/
hashmap.h 9 uint32_t(*hash)(const void *key);
15 const void *key; member in struct:hashmap::hashmap_entry
24 void hashmap_add(struct hashmap *h, void *data, const void *key);
25 void *hashmap_lookup(struct hashmap *h, const void *key);
  /external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.build.tools/src/org/eclipse/releng/
SystemProperty.java 17 private String key; field in class:SystemProperty
25 System.setProperty(key, value);
26 if (System.getProperty(key).equals(value))
27 System.out.println("System property "+key+" set to "+System.getProperty(key));
29 System.out.println("System property "+key+" could not be set. Currently set to "+System.getProperty(key));
34 return key;
37 public void setKey(String key) {
38 this.key = key
    [all...]
  /external/guava/guava/src/com/google/common/collect/
ImmutableEntry.java 31 final K key; field in class:ImmutableEntry
34 ImmutableEntry(@Nullable K key, @Nullable V value) {
35 this.key = key;
40 return key;
  /external/guava/guava-gwt/src/com/google/common/collect/
ImmutableEntry_CustomFieldSerializer.java 37 Object key = reader.readObject(); local
39 return new ImmutableEntry<Object, Object>(key, value);
  /external/guava/guava-tests/benchmark/com/google/common/cache/
ChainBenchmark.java 46 Object key = new Object(); local
47 chain = segment.newEntry(key, cache.hash(key), chain);
  /external/guice/core/src/com/google/inject/internal/
ExposedKeyFactory.java 19 import com.google.inject.Key;
28 private final Key<T> key; field in class:ExposedKeyFactory
32 ExposedKeyFactory(Key<T> key, PrivateElements privateElements) {
33 this.key = key;
39 BindingImpl<T> explicitBinding = privateInjector.state.getExplicitBinding(key);
45 errors.withSource(explicitBinding.getSource()).exposedButNotBound(key);
ExposureBuilder.java 21 import com.google.inject.Key;
32 private Key<T> key; field in class:ExposureBuilder
34 public ExposureBuilder(Binder binder, Object source, Key<T> key) {
37 this.key = key;
41 if (key.getAnnotationType() != null) {
49 key = Key.get(key.getTypeLiteral(), annotationType)
    [all...]
  /external/icu/icu4c/source/i18n/
rbt_rule.h 37 * exactly (the key) and optional context. Context must match if it
38 * is specified. Context may be specified before the key, after the
39 * key, or both. The key, preceding context, and following context
68 * The match that must occur before the key, or null if there is no
74 * The matcher object for the key. If null, then the key is empty.
76 StringMatcher *key; member in class:TransliterationRule
79 * The match that must occur after the key, or null if there is no
85 * The object that performs the replacement if the key,
    [all...]
  /external/icu/icu4c/source/test/intltest/
sfwdchit.cpp 22 // and for any key whose computed hash code is kInvalidHashCode.
97 UHashTok key; local
98 key.pointer = fStart;
99 ((SimpleFwdCharIterator *)this)->fHashCode = uhash_hashUChars(key);
  /external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/text/
CollationKey.java 35 * the key is created, binary comparisons are fast. This approach is
90 final java.text.CollationKey key; field in class:CollationKey
96 this.key = delegate;
154 // * @param key array of bytes that represent the collation order of argument
159 // public CollationKey(String source, byte key[])
165 // * CollationKey constructor that forces key to release its internal byte
166 // * array for adoption. key will have a null byte array after this
169 // * @param key RawCollationKey object that represents the collation order of
175 // public CollationKey(String source, RawCollationKey key)
189 return key.getSourceString()
    [all...]

Completed in 533 milliseconds

1 2 3 4 56 7 8 91011>>