Home
last modified time | relevance | path

Searched defs:key (Results 1 – 25 of 100) sorted by relevance

1234

/system/keymaster/
Drsa_operation.h37 keymaster_padding_t padding, EVP_PKEY* key) in RsaOperation()
90 RsaSignOperation(keymaster_digest_t digest, keymaster_padding_t padding, EVP_PKEY* key) in RsaSignOperation()
111 RsaVerifyOperation(keymaster_digest_t digest, keymaster_padding_t padding, EVP_PKEY* key) in RsaVerifyOperation()
133 EVP_PKEY* key) in RsaCryptOperation()
149 RsaEncryptOperation(keymaster_digest_t digest, keymaster_padding_t padding, EVP_PKEY* key) in RsaEncryptOperation()
160 RsaDecryptOperation(keymaster_digest_t digest, keymaster_padding_t padding, EVP_PKEY* key) in RsaDecryptOperation()
175 Operation* CreateOperation(const Key& key, const AuthorizationSet& begin_params, in CreateOperation()
219 EVP_PKEY* key) override { in InstantiateOperation()
230 EVP_PKEY* key) override { in InstantiateOperation()
241 EVP_PKEY* key) override { in InstantiateOperation()
[all …]
Decdsa_operation.h31 EcdsaOperation(keymaster_purpose_t purpose, keymaster_digest_t digest, EVP_PKEY* key) in EcdsaOperation()
52 EcdsaSignOperation(keymaster_purpose_t purpose, keymaster_digest_t digest, EVP_PKEY* key) in EcdsaSignOperation()
65 EcdsaVerifyOperation(keymaster_purpose_t purpose, keymaster_digest_t digest, EVP_PKEY* key) in EcdsaVerifyOperation()
90 Operation* InstantiateOperation(keymaster_digest_t digest, EVP_PKEY* key) { in InstantiateOperation()
98 Operation* InstantiateOperation(keymaster_digest_t digest, EVP_PKEY* key) { in InstantiateOperation()
Dhmac_test.cpp32 const char* key; member
66 const string key = hex2str(test.key); in TEST() local
Dhmac.cpp34 bool HmacSha256::Init(const Buffer& key) { in Init()
38 bool HmacSha256::Init(const uint8_t* key, size_t key_len) { in Init()
Doperation.cpp87 bool OperationFactory::GetAndValidatePadding(const AuthorizationSet& begin_params, const Key& key, in GetAndValidatePadding()
112 bool OperationFactory::GetAndValidateDigest(const AuthorizationSet& begin_params, const Key& key, in GetAndValidateDigest()
Daes_operation.h108 bool caller_iv, size_t tag_length, const uint8_t* key, size_t key_size) in AesEvpEncryptOperation()
126 size_t tag_length, const uint8_t* key, size_t key_size) in AesEvpDecryptOperation()
/system/bt/osi/src/
Dhash_functions.c23 hash_index_t hash_function_naive(const void *key) { in hash_function_naive()
27 hash_index_t hash_function_integer(const void *key) { in hash_function_integer()
31 hash_index_t hash_function_pointer(const void *key) { in hash_function_pointer()
35 hash_index_t hash_function_string(const void *key) { in hash_function_string()
Dconfig.c35 char *key; member
114 bool config_has_key(const config_t *config, const char *section, const char *key) { in config_has_key()
122 int config_get_int(const config_t *config, const char *section, const char *key, int def_value) { in config_get_int()
136 bool config_get_bool(const config_t *config, const char *section, const char *key, bool def_value) { in config_get_bool()
153 const char *config_get_string(const config_t *config, const char *section, const char *key, const c… in config_get_string()
165 void config_set_int(config_t *config, const char *section, const char *key, int value) { in config_set_int()
175 void config_set_bool(config_t *config, const char *section, const char *key, bool value) { in config_set_bool()
183 void config_set_string(config_t *config, const char *section, const char *key, const char *value) { in config_set_string()
214 bool config_remove_key(config_t *config, const char *section, const char *key) { in config_remove_key()
389 static entry_t *entry_new(const char *key, const char *value) { in entry_new()
[all …]
Dhash_map.c114 bool hash_map_has_key(const hash_map_t *hash_map, const void *key) { in hash_map_has_key()
124 bool hash_map_set(hash_map_t *hash_map, const void *key, void *data) { in hash_map_set()
157 bool hash_map_erase(hash_map_t *hash_map, const void *key) { in hash_map_erase()
173 void *hash_map_get(const hash_map_t *hash_map, const void *key) { in hash_map_get()
227 const void *key) { in find_bucket_entry_()
/system/core/libpixelflinger/codeflinger/tinyutils/
DKeyedVector.h120 ssize_t KeyedVector<KEY,VALUE>::indexOfKey(const KEY& key) const { in indexOfKey()
125 const VALUE& KeyedVector<KEY,VALUE>::valueFor(const KEY& key) const { in valueFor()
142 VALUE& KeyedVector<KEY,VALUE>::editValueFor(const KEY& key) { in editValueFor()
154 ssize_t KeyedVector<KEY,VALUE>::add(const KEY& key, const VALUE& value) { in add()
159 ssize_t KeyedVector<KEY,VALUE>::replaceValueFor(const KEY& key, const VALUE& value) { in replaceValueFor()
175 ssize_t KeyedVector<KEY,VALUE>::removeItem(const KEY& key) { in removeItem()
193 const VALUE& DefaultKeyedVector<KEY,VALUE>::valueFor(const KEY& key) const { in valueFor()
/system/core/libcutils/
Dstr_parms.c76 const char *key; member
79 static bool remove_pair(void *key, void *value, void *context) in remove_pair()
109 void str_parms_del(struct str_parms *str_parms, const char *key) in str_parms_del()
151 char *key; in str_parms_create_str() local
193 int str_parms_add_str(struct str_parms *str_parms, const char *key, in str_parms_add_str()
238 int str_parms_add_int(struct str_parms *str_parms, const char *key, int value) in str_parms_add_int()
251 int str_parms_add_float(struct str_parms *str_parms, const char *key, in str_parms_add_float()
265 int str_parms_has_key(struct str_parms *str_parms, const char *key) { in str_parms_has_key()
269 int str_parms_get_str(struct str_parms *str_parms, const char *key, char *val, in str_parms_get_str()
281 int str_parms_get_int(struct str_parms *str_parms, const char *key, int *val) in str_parms_get_int()
[all …]
Dproperties.c33 int8_t property_get_bool(const char *key, int8_t default_value) { in property_get_bool()
61 static intmax_t property_get_imax(const char *key, intmax_t lower_bound, intmax_t upper_bound, in property_get_imax()
99 int64_t property_get_int64(const char *key, int64_t default_value) { in property_get_int64()
103 int32_t property_get_int32(const char *key, int32_t default_value) { in property_get_int32()
110 int property_set(const char *key, const char *value) in property_set()
115 int property_get(const char *key, char *value, const char *default_value) in property_get()
151 void (*propfn)(const char *key, const char *value, void *cookie), in property_list()
Dhashmap.c28 void* key; member
44 int (*hash)(void* key), bool (*equals)(void* keyA, void* keyB)) { in hashmapCreate()
80 static inline int hashKey(Hashmap* map, void* key) { in hashKey()
155 int hashmapHash(void* key, size_t keySize) { in hashmapHash()
166 static Entry* createEntry(void* key, int hash, void* value) { in createEntry()
189 void* hashmapPut(Hashmap* map, void* key, void* value) { in hashmapPut()
221 void* hashmapGet(Hashmap* map, void* key) { in hashmapGet()
236 bool hashmapContainsKey(Hashmap* map, void* key) { in hashmapContainsKey()
251 void* hashmapMemoize(Hashmap* map, void* key, in hashmapMemoize()
252 void* (*initialValue)(void* key, void* context), void* context) { in hashmapMemoize()
[all …]
/system/core/libmincrypt/tools/
DDumpPublicKey.java48 static int checkRSA(RSAPublicKey key, boolean useSHA256) throws Exception { in checkRSA()
76 static int checkEC(ECPublicKey key) throws Exception { in checkEC()
87 static int check(PublicKey key, boolean useSHA256) throws Exception { in check()
106 static String printRSA(RSAPublicKey key, boolean useSHA256) throws Exception { in printRSA()
171 static String printEC(ECPublicKey key) throws Exception { in printEC()
221 static String print(PublicKey key, boolean useSHA256) throws Exception { in print()
259 PublicKey key = cert.getPublicKey(); in main() local
/system/core/libmincrypt/
Drsa.c33 static void subM(const RSAPublicKey* key, in subM()
45 static int geM(const RSAPublicKey* key, in geM()
57 static void montMulAdd(const RSAPublicKey* key, in montMulAdd()
82 static void montMul(const RSAPublicKey* key, in montMul()
97 static void modpow(const RSAPublicKey* key, in modpow()
249 int RSA_verify(const RSAPublicKey *key, in RSA_verify()
/system/bt/btif/src/
Dbtif_config.c168 bool btif_config_exist(const char *section, const char *key) { in btif_config_exist()
180 bool btif_config_get_int(const char *section, const char *key, int *value) { in btif_config_get_int()
195 bool btif_config_set_int(const char *section, const char *key, int value) { in btif_config_set_int()
207 bool btif_config_get_str(const char *section, const char *key, char *value, int *size_bytes) { in btif_config_get_str()
227 bool btif_config_set_str(const char *section, const char *key, const char *value) { in btif_config_set_str()
240 bool btif_config_get_bin(const char *section, const char *key, uint8_t *value, size_t *length) { in btif_config_get_bin()
268 size_t btif_config_get_bin_length(const char *section, const char *key) { in btif_config_get_bin_length()
284 bool btif_config_set_bin(const char *section, const char *key, const uint8_t *value, size_t length)… in btif_config_set_bin()
333 bool btif_config_remove(const char *section, const char *key) { in btif_config_remove()
/system/media/radio/src/
Dradio_metadata.c48 bool is_valid_metadata_key(const radio_metadata_key_t key) in is_valid_metadata_key()
97 const radio_metadata_key_t key, in add_metadata()
166 radio_metadata_type_t radio_metadata_type_of_key(const radio_metadata_key_t key) in radio_metadata_type_of_key()
200 const radio_metadata_key_t key, in radio_metadata_add_int()
212 const radio_metadata_key_t key, in radio_metadata_add_text()
224 const radio_metadata_key_t key, in radio_metadata_add_raw()
259 radio_metadata_key_t key; in radio_metadata_add_metadata() local
346 radio_metadata_key_t *key, in radio_metadata_get_at_index()
375 const radio_metadata_key_t key, in radio_metadata_get_from_key()
/system/core/libutils/
DPropertyMap.cpp50 void PropertyMap::addProperty(const String8& key, const String8& value) { in addProperty()
58 bool PropertyMap::tryGetProperty(const String8& key, String8& outValue) const { in tryGetProperty() argument
68 bool PropertyMap::tryGetProperty(const String8& key, bool& outValue) const { in tryGetProperty() argument
78 bool PropertyMap::tryGetProperty(const String8& key, int32_t& outValue) const { in tryGetProperty() argument
95 bool PropertyMap::tryGetProperty(const String8& key, float& outValue) const { in tryGetProperty() argument
/system/bt/osi/test/
Dhash_map_test.cpp30 hash_index_t hash_map_fn00(const void *key) { in hash_map_fn00()
56 const char *key; in TEST_F() member
89 const char *key; in TEST_F() member
120 const char *key; in TEST_F() member
156 const char *key; member
169 const char *key = (const char *)hash_map_entry->key; in hash_test_iter_ro_cb() local
/system/core/include/utils/
DLruCache.h71 const TKey& key() const { in key() function
83 TKey key; member
127 const TValue& LruCache<TKey, TValue>::get(const TKey& key) { in get()
140 bool LruCache<TKey, TValue>::put(const TKey& key, const TValue& value) { in put()
163 bool LruCache<TKey, TValue>::remove(const TKey& key) { in remove()
/system/core/adb/
Dadb_auth_client.cpp37 RSAPublicKey key; member
69 auto key = reinterpret_cast<adb_public_key*>( in read_keys() local
153 adb_public_key* key = node_to_item(item, struct adb_public_key, node); in adb_auth_verify() local
192 void adb_auth_confirm_key(unsigned char *key, size_t len, atransport *t) in adb_auth_confirm_key()
/system/bt/stack/smp/
Dsmp_keys.c137 BOOLEAN smp_encrypt_data (UINT8 *key, UINT8 key_len, in smp_encrypt_data()
228 tSMP_KEY key; in smp_proc_passkey() local
750 tSMP_KEY key; in smp_process_confirm() local
777 tSMP_KEY key; in smp_process_compare() local
802 tSMP_KEY key; in smp_process_stk() local
918 tSMP_KEY key; in smp_process_ediv() local
1265 UINT8 key[BT_OCTET16_LEN]; in smp_calculate_f4() local
1381 UINT8 key[BT_OCTET16_LEN]; in smp_calculate_g2() local
1610 UINT8 key[BT_OCTET16_LEN]; in smp_calculate_f5_mackey_or_long_term_key() local
1717 BT_OCTET16 key; in smp_calculate_f5_key() local
[all …]
Dsmp_cmac.c135 static BOOLEAN cmac_aes_k_calculate(BT_OCTET16 key, UINT8 *p_signature, UINT16 tlen) in cmac_aes_k_calculate()
263 static BOOLEAN cmac_generate_subkey(BT_OCTET16 key) in cmac_generate_subkey()
294 BOOLEAN aes_cipher_msg_auth_code(BT_OCTET16 key, UINT8 *input, UINT16 length, in aes_cipher_msg_auth_code()
/system/extras/verity/
DUtils.java151 Key key = skFactory.generateSecret(new PBEKeySpec(password)); in decryptPrivateKey() local
220 private static String getSignatureAlgorithm(Key key) throws Exception { in getSignatureAlgorithm()
249 static AlgorithmIdentifier getSignatureAlgorithmIdentifier(Key key) throws Exception { in getSignatureAlgorithmIdentifier()
259 static boolean verify(PublicKey key, byte[] input, byte[] signature, in verify()
/system/core/toolbox/
Dwatchprops.c13 static int str_hash(void *key) in str_hash()
37 char *key = strdup(name); in add_to_watchlist() local

1234