Searched refs:key (Results 51 - 75 of 3578) sorted by relevance

1234567891011>>

/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
21 public AEADParameters(KeyParameter key, int macSize, byte[] nonce, byte[] associatedText) argument
23 this.key = key;
31 return key;
/external/chromium/base/
H A Dpath_service.h29 static bool Get(int key, FilePath* path);
41 static bool Override(int key, const FilePath& path);
45 // returns false if it cannot provide a non-empty path for the given key.
59 static bool GetFromCache(int key, FilePath* path);
60 static bool GetFromOverrides(int key, FilePath* path);
61 static void AddToCache(int key, const FilePath& path);
/external/chromium/chrome/browser/prefs/
H A Ddefault_pref_store.cc11 void DefaultPrefStore::SetDefaultValue(const std::string& key, Value* value) { argument
12 CHECK(GetValue(key, NULL) == READ_NO_VALUE);
13 SetValue(key, value);
16 Value::ValueType DefaultPrefStore::GetType(const std::string& key) const {
18 return GetValue(key, &value) == READ_OK ? value->GetType()
/external/dropbear/libtomcrypt/src/pk/ecc/
H A Decc_ansi_x963_import.c26 /** Import an ANSI X9.63 format public key
29 @param key [out] destination to store imported key \
31 int ecc_ansi_x963_import(const unsigned char *in, unsigned long inlen, ecc_key *key) argument
33 return ecc_ansi_x963_import_ex(in, inlen, key, NULL);
36 int ecc_ansi_x963_import_ex(const unsigned char *in, unsigned long inlen, ecc_key *key, ltc_ecc_set_type *dp) argument
41 LTC_ARGCHK(key != NULL);
48 /* init key */
49 if (mp_init_multi(&key->pubkey.x, &key
[all...]
H A Decc_import.c26 static int is_point(ecc_key *key) argument
36 if ((err = mp_read_radix(prime, key->dp->prime, 16)) != CRYPT_OK) { goto error; }
37 if ((err = mp_read_radix(b, key->dp->B, 16)) != CRYPT_OK) { goto error; }
40 if ((err = mp_sqr(key->pubkey.y, t1)) != CRYPT_OK) { goto error; }
43 if ((err = mp_sqr(key->pubkey.x, t2)) != CRYPT_OK) { goto error; }
45 if ((err = mp_mul(key->pubkey.x, t2, t2)) != CRYPT_OK) { goto error; }
51 if ((err = mp_add(t1, key->pubkey.x, t1)) != CRYPT_OK) { goto error; }
52 if ((err = mp_add(t1, key->pubkey.x, t1)) != CRYPT_OK) { goto error; }
53 if ((err = mp_add(t1, key->pubkey.x, t1)) != CRYPT_OK) { goto error; }
75 Import an ECC key fro
81 ecc_import(const unsigned char *in, unsigned long inlen, ecc_key *key) argument
94 ecc_import_ex(const unsigned char *in, unsigned long inlen, ecc_key *key, const ltc_ecc_set_type *dp) argument
[all...]
/external/qemu/
H A Daes.h14 AES_KEY *key);
16 AES_KEY *key);
19 const AES_KEY *key);
21 const AES_KEY *key);
23 const unsigned long length, const AES_KEY *key,
/external/smali/util/src/main/java/ds/tree/
H A DRadixTree.java46 * Insert a new string key and its value to the tree.
48 * @param key
49 * The string key of the object
52 * key.
55 public void insert(String key, T value); argument
58 * Delete a key and its associated value from the tree.
59 * @param key The key of the node that need to be deleted
62 public boolean delete(String key); argument
65 * Find a value based on its corresponding key
70 find(String key) argument
79 replace(String key, final T value) argument
87 contains(String key) argument
[all...]
/external/guava/guava-gwt/src-super/java/util/super/java/util/concurrent/
H A DConcurrentHashMap.java56 public V putIfAbsent(K key, V value) { argument
57 if (!containsKey(key)) {
58 return put(key, value);
60 return get(key);
64 public boolean remove(Object key, Object value) { argument
65 if (containsKey(key) && get(key).equals(value)) {
66 remove(key);
73 public boolean replace(K key, V oldValue, V newValue) { argument
76 } else if (containsKey(key)
84 replace(K key, V value) argument
94 containsKey(Object key) argument
101 get(Object key) argument
108 put(K key, V value) argument
122 remove(Object key) argument
[all...]
/external/jmonkeyengine/engine/src/core/com/jme3/asset/
H A DAssetCache.java63 public void addToCache(AssetKey key, Object obj){ argument
65 if (obj instanceof Asset && key.useSmartCache()){
71 // use the original key as smart key
72 smartInfo.smartKey = new WeakReference<AssetKey>(key);
73 smartCache.put(key, smartInfo);
76 regularCache.put(key, obj);
86 public boolean deleteFromCache(AssetKey key){ argument
88 if (key.useSmartCache()){
89 return smartCache.remove(key) !
103 getFromCache(AssetKey key) argument
118 getFromSmartCache(AssetKey key) argument
[all...]
/external/apache-xml/src/main/java/org/apache/xalan/templates/
H A DOutputProperties.java43 * its "defaults"; this second property list is searched if the property key
114 * @param key the key to be placed into the property list.
115 * @param value the value corresponding to <tt>key</tt>.
118 public void setProperty(QName key, String value) argument
120 setProperty(key.toNamespacedString(), value);
126 * @param key the key to be placed into the property list.
127 * @param value the value corresponding to <tt>key</tt>.
130 public void setProperty(String key, Strin argument
153 getProperty(QName key) argument
167 getProperty(String key) argument
182 setBooleanProperty(QName key, boolean value) argument
194 setBooleanProperty(String key, boolean value) argument
210 getBooleanProperty(QName key) argument
226 getBooleanProperty(String key) argument
238 setIntProperty(QName key, int value) argument
250 setIntProperty(String key, int value) argument
266 getIntProperty(QName key) argument
282 getIntProperty(String key) argument
296 setQNameProperty(QName key, QName value) argument
339 setQNameProperty(String key, QName value) argument
354 getQNameProperty(QName key) argument
369 getQNameProperty(String key) argument
385 getQNameProperty(String key, Properties props) argument
404 setQNameProperties(QName key, Vector v) argument
417 setQNameProperties(String key, Vector v) argument
449 getQNameProperties(QName key) argument
465 getQNameProperties(String key) argument
482 getQNameProperties(String key, Properties props) argument
646 isLegalPropertyKey(String key) argument
[all...]
/external/openssl/crypto/evp/
H A De_rc4_hmac_md5.c80 void rc4_md5_enc (RC4_KEY *key, const void *in0, void *out,
89 EVP_RC4_HMAC_MD5 *key = data(ctx); local
91 RC4_set_key(&key->ks,EVP_CIPHER_CTX_key_length(ctx),
94 MD5_Init(&key->head); /* handy when benchmarking */
95 key->tail = key->head;
96 key->md = key->head;
98 key->payload_length = NO_PAYLOAD_LENGTH;
119 EVP_RC4_HMAC_MD5 *key local
222 EVP_RC4_HMAC_MD5 *key = data(ctx); local
[all...]
/external/dropbear/
H A Ddss.c34 * operations, such as key reading, signing, verification. Key generation
42 /* Load a dss key from a buffer, initialising the values.
43 * The key will have the same format as buf_put_dss_key.
46 int buf_get_dss_pub_key(buffer* buf, dss_key *key) { argument
49 dropbear_assert(key != NULL);
50 key->p = m_malloc(sizeof(mp_int));
51 key->q = m_malloc(sizeof(mp_int));
52 key->g = m_malloc(sizeof(mp_int));
53 key->y = m_malloc(sizeof(mp_int));
54 m_mp_init_multi(key
79 buf_get_dss_priv_key(buffer* buf, dss_key *key) argument
102 dss_key_free(dss_key *key) argument
141 buf_put_dss_pub_key(buffer* buf, dss_key *key) argument
153 buf_put_dss_priv_key(buffer* buf, dss_key *key) argument
164 buf_dss_verify(buffer* buf, dss_key *key, const unsigned char* data, unsigned int len) argument
295 buf_put_dss_sign(buffer* buf, dss_key *key, const unsigned char* data, unsigned int len) argument
[all...]
H A Dgenrsa.c39 /* mostly taken from libtomcrypt's rsa key generation routine */
42 rsa_key * key; local
47 key = (rsa_key*)m_malloc(sizeof(rsa_key));
49 key->e = (mp_int*)m_malloc(sizeof(mp_int));
50 key->n = (mp_int*)m_malloc(sizeof(mp_int));
51 key->d = (mp_int*)m_malloc(sizeof(mp_int));
52 key->p = (mp_int*)m_malloc(sizeof(mp_int));
53 key->q = (mp_int*)m_malloc(sizeof(mp_int));
55 m_mp_init_multi(key->e, key
[all...]
/external/dropbear/libtomcrypt/src/pk/dsa/
H A Ddsa_verify_key.c15 DSA implementation, verify a key, Tom St Denis
21 Verify a DSA key for validity
22 @param key The key to verify
26 int dsa_verify_key(dsa_key *key, int *stat) argument
31 LTC_ARGCHK(key != NULL);
34 /* default to an invalid key */
37 /* first make sure key->q and key->p are prime */
38 if ((err = mp_prime_is_prime(key
[all...]
H A Ddsa_make_key.c15 DSA implementation, generate a DSA key, Tom St Denis
21 Create a DSA key
26 @param key [out] Where to store the created key
29 int dsa_make_key(prng_state *prng, int wprng, int group_size, int modulus_size, dsa_key *key) argument
35 LTC_ARGCHK(key != NULL);
56 if ((err = mp_init_multi(&tmp, &tmp2, &key->g, &key->q, &key->p, &key
[all...]
/external/dropbear/libtomcrypt/src/pk/rsa/
H A Drsa_import.c15 Import a PKCS RSA key, Tom St Denis
24 @param key [out] Destination for newly imported key
27 int rsa_import(const unsigned char *in, unsigned long inlen, rsa_key *key) argument
37 LTC_ARGCHK(key != NULL);
40 /* init key */
41 if ((err = mp_init_multi(&key->e, &key->d, &key->N, &key
[all...]
/external/v8/benchmarks/spinning-balls/
H A Dsplay-tree.js58 * Inserts a node into the tree with the specified key and value if
59 * the tree does not already contain a node with the specified key. If
62 * @param {number} key Key to insert into the tree.
65 SplayTree.prototype.insert = function(key, value) {
67 this.root_ = new SplayTree.Node(key, value);
70 // Splay on the key to move the last node on the search path for
71 // the key to the root of the tree.
72 this.splay_(key);
73 if (this.root_.key == key) {
[all...]
/external/v8/tools/
H A Dsplaytree.js60 * Inserts a node into the tree with the specified key and value if
61 * the tree does not already contain a node with the specified key. If
64 * @param {number} key Key to insert into the tree.
67 SplayTree.prototype.insert = function(key, value) {
69 this.root_ = new SplayTree.Node(key, value);
72 // Splay on the key to move the last node on the search path for
73 // the key to the root of the tree.
74 this.splay_(key);
75 if (this.root_.key == key) {
[all...]
/external/chromium/chrome/browser/webdata/
H A Dautofill_change.cc10 AutofillChange::AutofillChange(Type type, const AutofillKey& key) argument
11 : GenericAutofillChange<AutofillKey>(type, key) {
18 Type type, std::string key, const AutofillProfile* profile)
19 : GenericAutofillChange<std::string>(type, key),
21 DCHECK(type == ADD ? (profile && profile->guid() == key) : true);
22 DCHECK(type == UPDATE ? (profile && profile->guid() == key) : true);
32 key() == change.key() &&
37 Type type, std::string key, const CreditCard* credit_card)
38 : GenericAutofillChange<std::string>(type, key), credit_card
17 AutofillProfileChange( Type type, std::string key, const AutofillProfile* profile) argument
36 AutofillCreditCardChange( Type type, std::string key, const CreditCard* credit_card) argument
[all...]
/external/qemu/android/utils/
H A Dini.h48 /* returns the number of (key.value) pairs in an IniFile */
51 /* returns the value of a given key from an IniFile.
52 * NULL if the key is not assigned in the corresponding configuration file
54 const char* iniFile_getValue( IniFile* f, const char* key );
56 /* Copies a 'key, value' pair for an entry in the file.
61 * key, value - Receives key, and value strings for the entry. If this routine
66 int iniFile_getEntry(IniFile* f, int index, char** key, char** value);
68 /* returns a copy of the value of a given key, or NULL if defaultValue is NULL.
71 char* iniFile_getString( IniFile* f, const char* key, cons
[all...]
/external/wpa_supplicant_8/hostapd/src/crypto/
H A Dcrypto_internal-rsa.c22 struct crypto_public_key * crypto_public_key_import(const u8 *key, size_t len) argument
25 crypto_rsa_import_public_key(key, len);
29 struct crypto_private_key * crypto_private_key_import(const u8 *key, argument
36 res = pkcs8_key_import(key, len);
42 res = pkcs8_enc_key_import(key, len, passwd);
47 /* Not PKCS#8, so try to import PKCS #1 encoded RSA private key */
49 "key");
51 crypto_rsa_import_private_key(key, len);
63 int crypto_public_key_encrypt_pkcs1_v15(struct crypto_public_key *key, argument
67 return pkcs1_encrypt(2, (struct crypto_rsa_key *) key,
72 crypto_private_key_decrypt_pkcs1_v15(struct crypto_private_key *key, const u8 *in, size_t inlen, u8 *out, size_t *outlen) argument
81 crypto_private_key_sign_pkcs1(struct crypto_private_key *key, const u8 *in, size_t inlen, u8 *out, size_t *outlen) argument
90 crypto_public_key_free(struct crypto_public_key *key) argument
96 crypto_private_key_free(struct crypto_private_key *key) argument
102 crypto_public_key_decrypt_pkcs1(struct crypto_public_key *key, const u8 *crypt, size_t crypt_len, u8 *plain, size_t *plain_len) argument
[all...]
/external/wpa_supplicant_8/src/crypto/
H A Dcrypto_internal-rsa.c22 struct crypto_public_key * crypto_public_key_import(const u8 *key, size_t len) argument
25 crypto_rsa_import_public_key(key, len);
29 struct crypto_private_key * crypto_private_key_import(const u8 *key, argument
36 res = pkcs8_key_import(key, len);
42 res = pkcs8_enc_key_import(key, len, passwd);
47 /* Not PKCS#8, so try to import PKCS #1 encoded RSA private key */
49 "key");
51 crypto_rsa_import_private_key(key, len);
63 int crypto_public_key_encrypt_pkcs1_v15(struct crypto_public_key *key, argument
67 return pkcs1_encrypt(2, (struct crypto_rsa_key *) key,
72 crypto_private_key_decrypt_pkcs1_v15(struct crypto_private_key *key, const u8 *in, size_t inlen, u8 *out, size_t *outlen) argument
81 crypto_private_key_sign_pkcs1(struct crypto_private_key *key, const u8 *in, size_t inlen, u8 *out, size_t *outlen) argument
90 crypto_public_key_free(struct crypto_public_key *key) argument
96 crypto_private_key_free(struct crypto_private_key *key) argument
102 crypto_public_key_decrypt_pkcs1(struct crypto_public_key *key, const u8 *crypt, size_t crypt_len, u8 *plain, size_t *plain_len) argument
[all...]
/external/wpa_supplicant_8/wpa_supplicant/src/crypto/
H A Dcrypto_internal-rsa.c22 struct crypto_public_key * crypto_public_key_import(const u8 *key, size_t len) argument
25 crypto_rsa_import_public_key(key, len);
29 struct crypto_private_key * crypto_private_key_import(const u8 *key, argument
36 res = pkcs8_key_import(key, len);
42 res = pkcs8_enc_key_import(key, len, passwd);
47 /* Not PKCS#8, so try to import PKCS #1 encoded RSA private key */
49 "key");
51 crypto_rsa_import_private_key(key, len);
63 int crypto_public_key_encrypt_pkcs1_v15(struct crypto_public_key *key, argument
67 return pkcs1_encrypt(2, (struct crypto_rsa_key *) key,
72 crypto_private_key_decrypt_pkcs1_v15(struct crypto_private_key *key, const u8 *in, size_t inlen, u8 *out, size_t *outlen) argument
81 crypto_private_key_sign_pkcs1(struct crypto_private_key *key, const u8 *in, size_t inlen, u8 *out, size_t *outlen) argument
90 crypto_public_key_free(struct crypto_public_key *key) argument
96 crypto_private_key_free(struct crypto_private_key *key) argument
102 crypto_public_key_decrypt_pkcs1(struct crypto_public_key *key, const u8 *crypt, size_t crypt_len, u8 *plain, size_t *plain_len) argument
[all...]
/external/mesa3d/src/mesa/program/
H A Dhash_table.h36 typedef unsigned (*hash_func_t)(const void *key);
79 * \param key Key of the desired element
83 * the matching key was added. If no matching key exists in the table,
86 extern void *hash_table_find(struct hash_table *ht, const void *key);
93 const void *key);
98 extern void hash_table_remove(struct hash_table *ht, const void *key);
107 * \param key Pointer to a NUL terminated string to be hashed.
111 extern unsigned hash_table_string_hash(const void *key);
127 * \param key Pointe
[all...]
/external/webkit/Source/WebKit2/Shared/
H A DMutableDictionary.cpp39 bool MutableDictionary::add(const String& key, APIObject* item) argument
41 std::pair<MapType::iterator, bool> result = m_map.add(key, item);
45 bool MutableDictionary::set(const String& key, APIObject* item) argument
47 std::pair<MapType::iterator, bool> result = m_map.set(key, item);
51 void MutableDictionary::remove(const String& key) argument
53 m_map.remove(key);

Completed in 1554 milliseconds

1234567891011>>