Home
last modified time | relevance | path

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

123

/system/core/libcutils/
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()
112 int property_set(const char *key, const char *value) in property_set()
117 int property_get(const char *key, char *value, const char *default_value) in property_get()
153 void (*propfn)(const char *key, const char *value, void *cookie), in property_list()
227 int property_get(const char *key, char *value, const char *default_value) in property_get()
294 int property_set(const char *key, const char *value) in property_set()
331 int property_list(void (*propfn)(const char *key, const char *value, void *cookie), in property_list()
[all …]
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 …]
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/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/keymaster/
Drsa_operation.h31 keymaster_padding_t padding, RSA* key) in RsaOperation()
51 keymaster_padding_t padding, RSA* key) in RsaSignOperation()
59 keymaster_padding_t padding, RSA* key) in RsaVerifyOperation()
Decdsa_operation.h33 keymaster_padding_t padding, EC_KEY* key) in EcdsaOperation()
53 keymaster_padding_t padding, EC_KEY* key) in EcdsaSignOperation()
61 keymaster_digest_t digest, keymaster_padding_t padding, EC_KEY* key) in EcdsaVerifyOperation()
Ddsa_operation.h33 keymaster_padding_t padding, DSA* key) in DsaOperation()
53 keymaster_padding_t padding, DSA* key) in DsaSignOperation()
61 keymaster_padding_t padding, DSA* key) in DsaVerifyOperation()
Dgoogle_keymaster.cpp166 UniquePtr<Key> key(Key::GenerateKey(request.key_description, logger(), &response->error)); in GenerateKey() local
196 UniquePtr<Key> key(LoadKey(request.key_blob, request.additional_params, &response->error)); in BeginOperation() local
290 UniquePtr<Key> key(Key::ImportKey(request.key_description, request.key_format, request.key_data, in ImportKey() local
299 keymaster_error_t GoogleKeymaster::SerializeKey(const Key* key, keymaster_key_origin_t origin, in SerializeKey()
343 Key* GoogleKeymaster::LoadKey(const keymaster_key_blob_t& key, in LoadKey()
351 KeyBlob* GoogleKeymaster::LoadKeyBlob(const keymaster_key_blob_t& key, in LoadKeyBlob()
Docb.c348 static inline void AES_ecb_encrypt_blks(block* blks, unsigned nblks, AES_KEY* key) { in AES_ecb_encrypt_blks()
355 static inline void AES_ecb_decrypt_blks(block* blks, unsigned nblks, AES_KEY* key) { in AES_ecb_decrypt_blks()
394 static void AES_ecb_encrypt_blks(block* blks, unsigned nblks, AES_KEY* key) { in AES_ecb_encrypt_blks()
401 void AES_ecb_decrypt_blks(block* blks, unsigned nblks, AES_KEY* key) { in AES_ecb_decrypt_blks()
449 static void AES_128_Key_Expansion(const unsigned char* userkey, void* key) { in AES_128_Key_Expansion()
476 static void AES_192_Key_Expansion(const unsigned char* userkey, void* key) { in AES_192_Key_Expansion()
487 static void AES_256_Key_Expansion(const unsigned char* userkey, void* key) { in AES_256_Key_Expansion()
520 static int AES_set_encrypt_key(const unsigned char* userKey, const int bits, AES_KEY* key) { in AES_set_encrypt_key()
546 static int AES_set_decrypt_key(const unsigned char* userKey, const int bits, AES_KEY* key) { in AES_set_decrypt_key()
553 static inline void AES_encrypt(const unsigned char* in, unsigned char* out, const AES_KEY* key) { in AES_encrypt()
[all …]
/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/toolbox/
Dreadtty.c11 char key; member
26 char next_char(char key, char current) in next_char()
41 char prev_char(char key, char current) in prev_char()
Dwatchprops.c12 static int str_hash(void *key) in str_hash()
36 char *key = strdup(name); in add_to_watchlist() local
Dgetprop.c8 static void record_prop(const char* key, const char* name, void* opaque) in record_prop()
/system/core/adb/
Dadb_auth_client.c35 RSAPublicKey key; member
54 struct adb_public_key *key; in read_keys() local
142 struct adb_public_key *key; in adb_auth_verify() local
191 void adb_auth_confirm_key(unsigned char *key, size_t len, atransport *t) in adb_auth_confirm_key()
/system/extras/verity/
DUtils.java142 Key key = skFactory.generateSecret(new PBEKeySpec(password)); in decryptPrivateKey() local
211 private static String getSignatureAlgorithm(Key key) { in getSignatureAlgorithm()
219 static AlgorithmIdentifier getSignatureAlgorithmIdentifier(Key key) { in getSignatureAlgorithmIdentifier()
229 static boolean verify(PublicKey key, byte[] input, byte[] signature, in verify()
DVerityVerifier.java114 public static boolean verifyMetaData(RandomAccessFile img, PublicKey key) in verifyMetaData()
150 PublicKey key = cert.getPublicKey(); in main() local
/system/security/keystore/
Dkeystore_get.cpp24 ssize_t keystore_get(const char *key, size_t keyLength, uint8_t** value) { in keystore_get()
/system/core/include/cutils/
Dsockets.h49 char key[64] = ANDROID_SOCKET_ENV_PREFIX; in android_get_control_socket() local
Dproperties.h119 int property_get(const char *key, char *value, const char *default_value) { in property_get()
/system/core/fs_mgr/
Dfs_mgr_verity.c53 RSAPublicKey *key; in load_key() local
88 RSAPublicKey *key; in verify_table() local
359 char *key; in set_verified_property() local
/system/core/logd/
Dmain.cpp110 static bool property_get_bool(const char *key, bool def) { in property_get_bool()
/system/core/fastbootd/
Dconfig.c48 char *key; in config_parse_line() local
/system/core/libutils/tests/
DBasicHashtable_test.cpp123 const TKey& key, const TValue& value) { in add()
129 ssize_t index, const TKey& key) { in find()
135 const TKey& key) { in remove()
147 template <> void getKeyValue(const SimpleEntry& entry, int* key, int* value) { in getKeyValue()
152 template <> void getKeyValue(const ComplexEntry& entry, int* key, int* value) { in getKeyValue()
166 int key, value; in dump() local

123