Home
last modified time | relevance | path

Searched refs:key_name (Results 1 – 11 of 11) sorted by relevance

/system/security/keystore/include/keystore/
Dkeystore_client_impl.h39 bool encryptWithAuthentication(const std::string& key_name, const std::string& data,
41 bool decryptWithAuthentication(const std::string& key_name, const std::string& encrypted_data,
43 bool oneShotOperation(KeyPurpose purpose, const std::string& key_name,
51 generateKey(const std::string& key_name, const keystore::AuthorizationSet& key_parameters,
55 getKeyCharacteristics(const std::string& key_name,
59 importKey(const std::string& key_name, const keystore::AuthorizationSet& key_parameters,
63 KeyStoreNativeReturnCode exportKey(KeyFormat export_format, const std::string& key_name,
65 KeyStoreNativeReturnCode deleteKey(const std::string& key_name) override;
67 KeyStoreNativeReturnCode beginOperation(KeyPurpose purpose, const std::string& key_name,
84 bool doesKeyExist(const std::string& key_name) override;
[all …]
Dkeystore_client_mock.h33 bool(const std::string& key_name, const std::string& data,
36 bool(const std::string& key_name, const std::string& encrypted_data,
39 bool(keymaster_purpose_t purpose, const std::string& key_name,
45 int32_t(const std::string& key_name,
50 int32_t(const std::string& key_name,
54 int32_t(const std::string& key_name,
60 const std::string& key_name, std::string* export_data));
61 MOCK_METHOD1(deleteKey, int32_t(const std::string& key_name));
63 MOCK_METHOD5(beginOperation, int32_t(keymaster_purpose_t purpose, const std::string& key_name,
78 MOCK_METHOD1(doesKeyExist, bool(const std::string& key_name));
Dkeystore_client.h66 virtual bool encryptWithAuthentication(const std::string& key_name, const std::string& data,
72 virtual bool decryptWithAuthentication(const std::string& key_name,
81 virtual bool oneShotOperation(KeyPurpose purpose, const std::string& key_name,
99 generateKey(const std::string& key_name, const keystore::AuthorizationSet& key_parameters,
107 getKeyCharacteristics(const std::string& key_name,
117 importKey(const std::string& key_name, const keystore::AuthorizationSet& key_parameters,
125 virtual KeyStoreNativeReturnCode exportKey(KeyFormat export_format, const std::string& key_name,
130 virtual KeyStoreNativeReturnCode deleteKey(const std::string& key_name) = 0;
142 beginOperation(KeyPurpose purpose, const std::string& key_name,
172 virtual bool doesKeyExist(const std::string& key_name) = 0;
/system/core/trusty/keymaster/set_attestation_key/
Dset_attestation_key.cpp149 char* key_name; in set_attestation_key_or_cert_pem() local
153 sslret = PEM_read_bio(bio, &key_name, &key_header, &key, &keylen); in set_attestation_key_or_cert_pem()
165 OPENSSL_free(key_name); in set_attestation_key_or_cert_pem()
/system/bt/stack/smp/
Dsmp_keys.cc73 void smp_debug_print_nbyte_little_endian(uint8_t* p, const char* key_name, in smp_debug_print_nbyte_little_endian() argument
78 const char* key_name, in smp_debug_print_nbyte_little_endian() argument
80 smp_debug_print_nbyte_little_endian(const_cast<uint8_t*>(p.data()), key_name, in smp_debug_print_nbyte_little_endian()
84 void smp_debug_print_nbyte_big_endian(uint8_t* p, const char* key_name, in smp_debug_print_nbyte_big_endian() argument
Dsmp_int.h461 extern void print128(const Octet16& x, const uint8_t* key_name);
Dsmp_utils.cc1552 void print128(const Octet16& x, const uint8_t* key_name) { in print128() argument
1556 DVLOG(2) << key_name << " (MSB ~ LSB) = "; in print128()
/system/apex/apexer/
Dapexer.py482 key_name = manifest_apex.name
484 key_name = os.path.basename(os.path.splitext(args.key)[0])
606 cmd.extend(['--prop', 'apex.key:' + key_name])
/system/security/keystore/
Dkeystore_cli_v2.cpp934 int Encrypt(const std::string& key_name, const std::string& input_filename, in Encrypt() argument
937 auto result = encryptWithAuthentication(key_name, input, securityLevel); in Encrypt()
946 int Decrypt(const std::string& key_name, const std::string& input_filename, in Decrypt() argument
949 auto result = decryptWithAuthentication(key_name, input); in Decrypt()
/system/logging/logd/
DLogStatistics.cpp684 const std::string& key_name) const { in format()
705 const char* nameTmp = key_name.data(); in format()
DLogStatistics.h433 std::string format(const LogStatistics& stat, log_id_t id, const std::string& key_name) const;