Searched defs:key (Results 176 - 200 of 3799) sorted by relevance

1234567891011>>

/external/wpa_supplicant_8/wpa_supplicant/src/crypto/
H A Dcrypto_none.c21 void des_encrypt(const u8 *clear, const u8 *key, u8 *cypher) argument
/external/wpa_supplicant_8/wpa_supplicant/src/tls/
H A Dtlsv1_cred.h15 struct crypto_private_key *key; member in struct:tlsv1_credentials
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.JavaExtensions/
H A DDictionaryExtensions.cs45 public static bool containsKey(IDictionary map, object key) { argument
46 return map.Contains(key);
50 public static object get(IDictionary map, object key) { argument
51 return map[key];
55 public static TValue get<TKey, TValue>(IDictionary<TKey, TValue> map, TKey key) { argument
57 if (map.TryGetValue(key, out value))
67 public static TValue get<TKey, TValue>(Dictionary<TKey, TValue> map, TKey key) { argument
69 if (map.TryGetValue(key, out value))
78 public static TValue get<TKey, TValue>(SortedList<TKey, TValue> map, TKey key) { argument
80 if (map.TryGetValue(key, ou
91 put(IDictionary map, object key, object value) argument
96 put(IDictionary<TKey, TValue> map, TKey key, TValue value) argument
101 put(Dictionary<TKey, TValue> map, TKey key, TValue value) argument
[all...]
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.JavaExtensions/
H A DDictionaryExtensions.cs44 public static bool containsKey( this IDictionary map, object key )
46 return map.Contains( key );
50 public static object get( this IDictionary map, object key )
52 return map[key];
55 public static TValue get<TKey, TValue>( this IDictionary<TKey, TValue> map, TKey key )
58 if ( map.TryGetValue( key, out value ) )
68 public static TValue get<TKey, TValue>( this Dictionary<TKey, TValue> map, TKey key )
71 if ( map.TryGetValue( key, out value ) )
80 public static TValue get<TKey, TValue>( this SortedList<TKey, TValue> map, TKey key )
83 if ( map.TryGetValue( key, ou
93 put( this IDictionary map, object key, object value ) argument
99 put( this IDictionary<TKey, TValue> map, TKey key, TValue value ) argument
105 put( this Dictionary<TKey, TValue> map, TKey key, TValue value ) argument
[all...]
/external/apache-harmony/crypto/src/test/support/common/java/org/apache/harmony/crypto/tests/support/
H A DMySecretKeyFactorySpi.java45 protected KeySpec engineGetKeySpec(SecretKey key, Class keySpec) argument
51 protected SecretKey engineTranslateKey(SecretKey key) argument
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/support/
H A DP.java29 public String findProp(String key) { argument
30 return findProp(this.c, key);
33 private String findProp(Class cls, String key) { argument
37 ret = (String) b.getObject(key);
41 ret = findProp(cls.getSuperclass(), key);
/external/apache-harmony/security/src/test/support/common/java/org/apache/harmony/security/tests/support/
H A DMDGoldenData.java189 * @param key MD algorithm name or MD algorithm name + "_NU" if
193 public static byte[] getDigest(String key) { argument
194 return ((byte[]) goldenData.get(key)).clone();
H A DSpiEngUtils.java62 public MyProvider(String name, String info, String key, String clName) { argument
64 put(key, clName);
H A DTestUtils.java67 * @param key - the name of the system property.
70 public static void setSystemProperty(String key, String value) { argument
73 properties.remove(key);
75 properties.setProperty(key, value);
/external/apache-harmony/security/src/test/support/common/java/org/apache/harmony/security/tests/support/cert/
H A DMyCertificate.java64 public void verify(PublicKey key) throws CertificateException, argument
72 public void verify(PublicKey key, String sigProvider) argument
86 * Returns public key (stub) from <code>MyCertificate</code> object
/external/apache-harmony/support/src/test/java/tests/support/
H A DSupport_HttpConnector.java40 public void setRequestProperty(String key, String value) throws IOException; argument
/external/apache-harmony/x-net/src/test/impl/java.injected/org/apache/harmony/xnet/provider/jsse/
H A DDigitalSignatureTest.java32 private PrivateKey key; field in class:DigitalSignatureTest
43 key = entry.getPrivateKey();
59 ds_sign.init(key);
61 byte[] pivateKeyEncoding = key.getEncoded();
87 ds_sign.init(key);
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/sec/
H A DECPrivateKeyStructure.java21 * the elliptic curve private key object from SEC 1
36 BigInteger key)
38 byte[] bytes = BigIntegers.asUnsignedByteArray(key);
49 BigInteger key,
52 this(key, null, parameters);
56 BigInteger key,
60 byte[] bytes = BigIntegers.asUnsignedByteArray(key);
35 ECPrivateKeyStructure( BigInteger key) argument
48 ECPrivateKeyStructure( BigInteger key, ASN1Encodable parameters) argument
55 ECPrivateKeyStructure( BigInteger key, DERBitString publicKey, ASN1Encodable parameters) argument
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/agreement/
H A DDHBasicAgreement.java14 * a Diffie-Hellman key agreement class.
23 private DHPrivateKeyParameters key; field in class:DHBasicAgreement
46 this.key = (DHPrivateKeyParameters)kParam;
47 this.dhParams = key.getParameters();
52 return (key.getParameters().getP().bitLength() + 7) / 8;
56 * given a short term public key from a given party calculate the next
66 throw new IllegalArgumentException("Diffie-Hellman public key has wrong parameters.");
69 return pub.getY().modPow(key.getX(), dhParams.getP());
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/params/
H A DAEADParameters.java10 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) argument
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) argument
35 this.key = key;
[all...]
H A DDESParameters.java7 byte[] key)
9 super(key);
11 if (isWeakKey(key, 0))
13 throw new IllegalArgumentException("attempt to create weak DES key");
52 * if the given DES key material is weak or semi-weak.
58 * @return true if the given DES key material is weak or semi-weak,
62 byte[] key,
65 if (key.length - offset < DES_KEY_LENGTH)
67 throw new IllegalArgumentException("key material too short.");
74 if (key[
6 DESParameters( byte[] key) argument
61 isWeakKey( byte[] key, int offset) argument
[all...]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/dsa/
H A DDSAUtil.java44 PublicKey key)
47 if (key instanceof DSAPublicKey)
49 DSAPublicKey k = (DSAPublicKey)key;
55 throw new InvalidKeyException("can't identify DSA public key: " + key.getClass().getName());
59 PrivateKey key)
62 if (key instanceof DSAPrivateKey)
64 DSAPrivateKey k = (DSAPrivateKey)key;
70 throw new InvalidKeyException("can't identify DSA private key.");
43 generatePublicKeyParameter( PublicKey key) argument
58 generatePrivateKeyParameter( PrivateKey key) argument
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/rsa/
H A DRSAUtil.java42 RSAPublicKey key)
44 return new RSAKeyParameters(false, key.getModulus(), key.getPublicExponent());
49 RSAPrivateKey key)
51 if (key instanceof RSAPrivateCrtKey)
53 RSAPrivateCrtKey k = (RSAPrivateCrtKey)key;
61 RSAPrivateKey k = key;
41 generatePublicKeyParameter( RSAPublicKey key) argument
48 generatePrivateKeyParameter( RSAPrivateKey key) argument
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/util/
H A DBaseKeyFactorySpi.java32 throw new InvalidKeySpecException("encoded key spec not recognised");
37 throw new InvalidKeySpecException("key spec not recognised");
53 throw new InvalidKeySpecException("encoded key spec not recognised");
58 throw new InvalidKeySpecException("key spec not recognised");
63 Key key,
67 if (spec.isAssignableFrom(PKCS8EncodedKeySpec.class) && key.getFormat().equals("PKCS#8"))
69 return new PKCS8EncodedKeySpec(key.getEncoded());
71 else if (spec.isAssignableFrom(X509EncodedKeySpec.class) && key.getFormat().equals("X.509"))
73 return new X509EncodedKeySpec(key.getEncoded());
76 throw new InvalidKeySpecException("not implemented yet " + key
62 engineGetKeySpec( Key key, Class spec) argument
[all...]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/x509/
H A DKeyFactory.java30 PrivateKey key = BouncyCastleProvider.getPrivateKey(info);
32 if (key != null)
34 return key;
57 PublicKey key = BouncyCastleProvider.getPublicKey(info);
59 if (key != null)
61 return key;
75 protected KeySpec engineGetKeySpec(Key key, Class keySpec) argument
78 if (keySpec.isAssignableFrom(PKCS8EncodedKeySpec.class) && key.getFormat().equals("PKCS#8"))
80 return new PKCS8EncodedKeySpec(key.getEncoded());
82 else if (keySpec.isAssignableFrom(X509EncodedKeySpec.class) && key
90 engineTranslateKey(Key key) argument
[all...]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/symmetric/util/
H A DBaseSecretKeyFactory.java42 SecretKey key,
50 if (key == null)
52 throw new InvalidKeySpecException("key parameter is null");
57 return new SecretKeySpec(key.getEncoded(), algName);
67 p[0] = key.getEncoded();
78 SecretKey key)
81 if (key == null)
83 throw new InvalidKeyException("key parameter is null");
86 if (!key.getAlgorithm().equalsIgnoreCase(algName))
91 return new SecretKeySpec(key
41 engineGetKeySpec( SecretKey key, Class keySpec) argument
77 engineTranslateKey( SecretKey key) argument
[all...]
/external/ceres-solver/internal/ceres/
H A Dmap_util.h42 // Perform a lookup in a map or hash_map, assuming that the key exists.
46 // when the key is guaranteed to exist.
55 // This version assumes the key is printable, and includes it in the fatal log
60 const typename Collection::value_type::first_type& key) {
61 typename Collection::const_iterator it = collection.find(key);
62 CHECK(it != collection.end()) << "Map key not found: " << key;
67 // If the key is present in the map then the value associated with that
68 // key is returned, otherwise the value passed as a default is returned.
72 const typename Collection::value_type::first_type& key,
59 FindOrDie(const Collection& collection, const typename Collection::value_type::first_type& key) argument
71 FindWithDefault(const Collection& collection, const typename Collection::value_type::first_type& key, const typename Collection::value_type::second_type& value) argument
86 InsertIfNotPresent( Collection * const collection, const typename Collection::value_type::first_type& key, const typename Collection::value_type::second_type& value) argument
100 FindOrNull(Collection& collection, const typename Collection::value_type::first_type& key) argument
112 ContainsKey(const Collection& collection, const Key& key) argument
120 InsertOrDie(Collection* const collection, const typename Collection::value_type::first_type& key, const typename Collection::value_type::second_type& data) argument
[all...]
/external/chromium_org/android_webview/browser/
H A Dgl_view_renderer_manager.cc43 void GLViewRendererManager::DidDrawGL(Key key) { argument
45 DCHECK(mru_list_.end() != key);
46 mru_list_.splice(mru_list_.begin(), mru_list_, key);
49 void GLViewRendererManager::Remove(Key key) { argument
51 DCHECK(mru_list_.end() != key);
52 mru_list_.erase(key);
/external/chromium_org/base/posix/
H A Dglobal_descriptors.cc22 int GlobalDescriptors::Get(Key key) const {
23 const int ret = MaybeGet(key);
26 DLOG(FATAL) << "Unknown global descriptor: " << key;
30 int GlobalDescriptors::MaybeGet(Key key) const {
33 if (i->first == key)
40 void GlobalDescriptors::Set(Key key, int fd) { argument
43 if (i->first == key) {
49 descriptors_.push_back(std::make_pair(key, fd));
/external/chromium_org/base/prefs/
H A Ddefault_pref_store_unittest.cc23 virtual void OnPrefValueChanged(const std::string& key) OVERRIDE;
43 void MockPrefStoreObserver::OnPrefValueChanged(const std::string& key) { argument

Completed in 695 milliseconds

1234567891011>>