/system/keymaster/ |
D | rsa_operation.h | 37 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 …]
|
D | ecdsa_operation.h | 31 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()
|
D | hmac_test.cpp | 32 const char* key; member 66 const string key = hex2str(test.key); in TEST() local
|
D | hmac.cpp | 34 bool HmacSha256::Init(const Buffer& key) { in Init() 38 bool HmacSha256::Init(const uint8_t* key, size_t key_len) { in Init()
|
D | operation.cpp | 87 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()
|
D | aes_operation.h | 108 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/ |
D | hash_functions.c | 23 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()
|
D | config.c | 35 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 …]
|
D | hash_map.c | 114 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/ |
D | KeyedVector.h | 120 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/ |
D | str_parms.c | 76 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 …]
|
D | properties.c | 33 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()
|
D | hashmap.c | 28 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/ |
D | DumpPublicKey.java | 48 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/ |
D | rsa.c | 33 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/ |
D | btif_config.c | 168 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/ |
D | radio_metadata.c | 48 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/ |
D | PropertyMap.cpp | 50 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/ |
D | hash_map_test.cpp | 30 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/ |
D | LruCache.h | 71 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/ |
D | adb_auth_client.cpp | 37 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/ |
D | smp_keys.c | 137 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 …]
|
D | smp_cmac.c | 135 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/ |
D | Utils.java | 151 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/ |
D | watchprops.c | 13 static int str_hash(void *key) in str_hash() 37 char *key = strdup(name); in add_to_watchlist() local
|