/system/security/keystore/include/keystore/ |
D | keystore_client_impl.h | 39 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 …]
|
D | keystore_client_mock.h | 33 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));
|
D | keystore_client.h | 66 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/security/keystore/ |
D | keystore_client_impl.cpp | 68 bool KeystoreClientImpl::encryptWithAuthentication(const std::string& key_name, in encryptWithAuthentication() argument 75 std::string encryption_key_name = key_name + kEncryptSuffix; in encryptWithAuthentication() 79 std::string authentication_key_name = key_name + kAuthenticateSuffix; in encryptWithAuthentication() 122 bool KeystoreClientImpl::decryptWithAuthentication(const std::string& key_name, in decryptWithAuthentication() argument 130 std::string authentication_key_name = key_name + kAuthenticateSuffix; in decryptWithAuthentication() 141 std::string encryption_key_name = key_name + kEncryptSuffix; in decryptWithAuthentication() 156 bool KeystoreClientImpl::oneShotOperation(KeyPurpose purpose, const std::string& key_name, in oneShotOperation() argument 163 auto result = beginOperation(purpose, key_name, input_parameters, output_parameters, &handle); in oneShotOperation() 199 KeystoreClientImpl::generateKey(const std::string& key_name, const AuthorizationSet& key_parameters, in generateKey() argument 202 String16 key_name16(key_name.data(), key_name.size()); in generateKey() [all …]
|
D | keystore_cli_v2.cpp | 371 for (const auto& key_name : key_list) { in List() local 372 printf(" %s\n", key_name.c_str()); in List() 447 int Encrypt(const std::string& key_name, const std::string& input_filename, in Encrypt() argument 452 if (!keystore->encryptWithAuthentication(key_name, input, flags, &output)) { in Encrypt() 460 int Decrypt(const std::string& key_name, const std::string& input_filename, in Decrypt() argument 465 if (!keystore->decryptWithAuthentication(key_name, input, &output)) { in Decrypt()
|
/system/bt/stack/smp/ |
D | smp_int.h | 494 const char* key_name, 498 const char* key_name, in smp_debug_print_nbyte_little_endian() argument 500 smp_debug_print_nbyte_little_endian(const_cast<uint8_t*>(p.data()), key_name, in smp_debug_print_nbyte_little_endian() 505 extern void print128(const Octet16& x, const uint8_t* key_name);
|
D | smp_keys.cc | 57 void smp_debug_print_nbyte_little_endian(uint8_t* p, const char* key_name, in smp_debug_print_nbyte_little_endian() argument 65 SMP_TRACE_DEBUG("%s(LSB ~ MSB):", key_name); in smp_debug_print_nbyte_little_endian() 81 const char* key_name, in smp_debug_print_nbyte_little_endian() argument 83 smp_debug_print_nbyte_little_endian(const_cast<uint8_t*>(p.data()), key_name, in smp_debug_print_nbyte_little_endian() 87 void smp_debug_print_nbyte_big_endian(uint8_t* p, const char* key_name, in smp_debug_print_nbyte_big_endian() argument 92 SMP_TRACE_DEBUG("%s(MSB ~ LSB):", key_name); in smp_debug_print_nbyte_big_endian()
|
D | smp_utils.cc | 1559 void print128(const Octet16& x, const uint8_t* key_name) { in print128() argument 1563 DVLOG(2) << key_name << " (MSB ~ LSB) = "; in print128()
|
/system/apex/apexer/ |
D | apexer.py | 472 key_name = manifest_apex.name 474 key_name = os.path.basename(os.path.splitext(args.key)[0]) 476 if manifest_apex.name != key_name: 478 "' does not match with key name '" + key_name + "'") 551 cmd.extend(['--prop', 'apex.key:' + key_name])
|