Searched refs:ImportKey (Results 1 - 25 of 32) sorted by relevance

12

/system/keymaster/include/keymaster/legacy_support/
H A Dkeymaster1_legacy_support.h81 keymaster_error_t ImportKey(const AuthorizationSet& key_description, function in class:keymaster::Keymaster1ArbitrationFactory
87 return software_digest_factory_.ImportKey(key_description, input_key_material_format,
91 return passthrough_factory_.ImportKey(key_description, input_key_material_format,
H A Dkeymaster_passthrough_key.h49 keymaster_error_t ImportKey(const AuthorizationSet& key_description,
54 return engine_->ImportKey(key_description, input_key_material_format, input_key_material,
H A Dec_keymaster0_key.h44 keymaster_error_t ImportKey(const AuthorizationSet& key_description,
H A Dec_keymaster1_key.h48 keymaster_error_t ImportKey(const AuthorizationSet& key_description,
H A Dkeymaster_passthrough_engine.h47 virtual keymaster_error_t ImportKey(const AuthorizationSet& key_description,
H A Drsa_keymaster0_key.h44 keymaster_error_t ImportKey(const AuthorizationSet& key_description,
H A Drsa_keymaster1_key.h49 keymaster_error_t ImportKey(const AuthorizationSet& key_description,
H A Dkeymaster0_engine.h52 bool ImportKey(keymaster_key_format_t key_format, const KeymasterKeyBlob& to_import,
H A Dkeymaster1_engine.h50 keymaster_error_t ImportKey(const AuthorizationSet& key_description,
/system/keymaster/legacy_support/
H A Dec_keymaster0_key.cpp68 keymaster_error_t EcdsaKeymaster0KeyFactory::ImportKey( function in class:keymaster::EcdsaKeymaster0KeyFactory
76 return super::ImportKey(key_description, input_key_material_format, input_key_material,
87 if (!engine_->ImportKey(input_key_material_format, input_key_material, &imported_hw_key))
H A Dec_keymaster1_key.cpp82 keymaster_error_t EcdsaKeymaster1KeyFactory::ImportKey( function in class:keymaster::EcdsaKeymaster1KeyFactory
88 return engine_->ImportKey(key_params_copy, input_key_material_format, input_key_material,
H A Drsa_keymaster0_key.cpp70 keymaster_error_t RsaKeymaster0KeyFactory::ImportKey( function in class:keymaster::RsaKeymaster0KeyFactory
87 if (!engine_->ImportKey(input_key_material_format, input_key_material, &imported_hw_key))
H A Drsa_keymaster1_key.cpp91 keymaster_error_t RsaKeymaster1KeyFactory::ImportKey( function in class:keymaster::RsaKeymaster1KeyFactory
97 return engine_->ImportKey(key_params_copy, input_key_material_format, input_key_material,
H A Dkeymaster_passthrough_engine.cpp89 keymaster_error_t ImportKey(const AuthorizationSet& key_description,
258 TKeymasterPassthroughEngine<keymaster1_device_t>::ImportKey(const AuthorizationSet& key_description, function in class:keymaster::TKeymasterPassthroughEngine
287 TKeymasterPassthroughEngine<keymaster2_device_t>::ImportKey(const AuthorizationSet& key_description, function in class:keymaster::TKeymasterPassthroughEngine
/system/keymaster/include/keymaster/
H A Dkey_factory.h44 virtual keymaster_error_t ImportKey(const AuthorizationSet& key_description,
H A Dandroid_keymaster.h77 void ImportKey(const ImportKeyRequest& request, ImportKeyResponse* response);
/system/keymaster/include/keymaster/km_openssl/
H A Dec_key_factory.h40 keymaster_error_t ImportKey(const AuthorizationSet& key_description,
H A Drsa_key_factory.h37 keymaster_error_t ImportKey(const AuthorizationSet& key_description,
H A Dsymmetric_key.h40 keymaster_error_t ImportKey(const AuthorizationSet& key_description,
/system/keymaster/km_openssl/
H A Dsymmetric_key.cpp64 keymaster_error_t SymmetricKeyFactory::ImportKey(const AuthorizationSet& key_description, function in class:keymaster::SymmetricKeyFactory
H A Dec_key_factory.cpp127 keymaster_error_t EcKeyFactory::ImportKey(const AuthorizationSet& key_description, function in class:keymaster::EcKeyFactory
H A Drsa_key_factory.cpp103 keymaster_error_t RsaKeyFactory::ImportKey(const AuthorizationSet& key_description, function in class:keymaster::RsaKeyFactory
/system/keymaster/android_keymaster/
H A Dandroid_keymaster.cpp430 void AndroidKeymaster::ImportKey(const ImportKeyRequest& request, ImportKeyResponse* response) { function in class:keymaster::AndroidKeymaster
443 response->error = factory->ImportKey(request.key_description, request.key_format,
524 factory->ImportKey(key_description, key_format, KeymasterKeyBlob(secret_key), &key_blob,
/system/keymaster/tests/
H A Dandroid_keymaster_test_utils.cpp208 keymaster_error_t Keymaster2Test::ImportKey(const AuthorizationSetBuilder& builder, function in class:keymaster::test::Keymaster2Test
630 ASSERT_EQ(KM_ERROR_OK, ImportKey(AuthorizationSetBuilder()
643 ASSERT_EQ(KM_ERROR_OK, ImportKey(AuthorizationSetBuilder()
670 ASSERT_EQ(KM_ERROR_OK, ImportKey(authset, KM_KEY_FORMAT_RAW, key));
H A Dandroid_keymaster_test.cpp1641 ASSERT_EQ(KM_ERROR_OK, ImportKey(AuthorizationSetBuilder()
1678 ImportKey(AuthorizationSetBuilder()
1691 ImportKey(AuthorizationSetBuilder()
1705 ImportKey(AuthorizationSetBuilder().EcdsaSigningKey(256).Digest(KM_DIGEST_NONE),
1737 ImportKey(AuthorizationSetBuilder().EcdsaSigningKey(256).Digest(KM_DIGEST_NONE),
1768 ImportKey(AuthorizationSetBuilder()
1780 ImportKey(AuthorizationSetBuilder().AesEncryptionKey(128).EcbMode().Authorization(
1798 ASSERT_EQ(KM_ERROR_OK, ImportKey(AuthorizationSetBuilder()
1939 keymaster_.ImportKey(import_request, &import_response);
1985 keymaster_.ImportKey(import_reques
[all...]

Completed in 154 milliseconds

12