Home
last modified time | relevance | path

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

/aosp12/system/security/keystore/include/keystore/
H A Dkeystore_client_impl.h39 bool encryptWithAuthentication(const std::string& key_name, const std::string& data,
43 bool oneShotOperation(KeyPurpose purpose, const std::string& key_name,
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;
84 bool doesKeyExist(const std::string& key_name) override;
100 bool createOrVerifyEncryptionKey(const std::string& key_name, int32_t flags);
104 bool createOrVerifyAuthenticationKey(const std::string& key_name, int32_t flags);
109 bool verifyEncryptionKeyAttributes(const std::string& key_name, bool* verified);
[all …]
H A 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));
H A 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;
/aosp12/frameworks/base/tools/aapt2/tools/consumers/
H A Dduplicates.py125 key_name = "{0}:{1}".format(self._current_resource.name,
128 self.resource_definitions[key_name] += [self._current_resource]
130 self.resource_definitions[key_name] = [self._current_resource]
/aosp12/build/make/tools/releasetools/
H A Dvalidate_target_files.py379 key_name = 'avb_' + partition + '_key_path'
380 if info_dict.get(key_name) is not None:
386 key_file = options.get(key_name, info_dict[key_name])
H A Dapex_utils.py127 key_name = apk_keys.get(os.path.basename(entry))
128 if key_name in common.SPECIAL_CERT_STRINGS:
138 unsigned_apk, apk_path, key_name, self.key_passwords.get(key_name),
H A Dcommon.py792 key_name = part_name + "_base_fs_file"
793 if key_name not in d:
795 basename = os.path.basename(d[key_name])
798 d[key_name] = base_fs_file
802 del d[key_name]
/aosp12/system/core/trusty/keymaster/set_attestation_key/
H A 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()
/aosp12/system/bt/stack/smp/
H A Dsmp_keys.cc75 void smp_debug_print_nbyte_little_endian(uint8_t* p, const char* key_name, in smp_debug_print_nbyte_little_endian() argument
79 const char* key_name, in smp_debug_print_nbyte_little_endian() argument
81 smp_debug_print_nbyte_little_endian(const_cast<uint8_t*>(p.data()), key_name, in smp_debug_print_nbyte_little_endian()
85 void smp_debug_print_nbyte_big_endian(uint8_t* p, const char* key_name, in smp_debug_print_nbyte_big_endian() argument
H A 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()
H A Dsmp_int.h461 extern void print128(const Octet16& x, const uint8_t* key_name);
/aosp12/system/apex/apexer/
H A 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])
/aosp12/system/security/keystore/
H A 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()
/aosp12/system/logging/logd/
H A DLogStatistics.cpp684 const std::string& key_name) const { in format()
705 const char* nameTmp = key_name.data(); in format()
H A DLogStatistics.h433 std::string format(const LogStatistics& stat, log_id_t id, const std::string& key_name) const;