/system/keymaster/include/keymaster/legacy_support/ |
H A D | keymaster1_legacy_support.h | 81 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 D | keymaster_passthrough_key.h | 49 keymaster_error_t ImportKey(const AuthorizationSet& key_description, 54 return engine_->ImportKey(key_description, input_key_material_format, input_key_material,
|
H A D | ec_keymaster0_key.h | 44 keymaster_error_t ImportKey(const AuthorizationSet& key_description,
|
H A D | ec_keymaster1_key.h | 48 keymaster_error_t ImportKey(const AuthorizationSet& key_description,
|
H A D | keymaster_passthrough_engine.h | 47 virtual keymaster_error_t ImportKey(const AuthorizationSet& key_description,
|
H A D | rsa_keymaster0_key.h | 44 keymaster_error_t ImportKey(const AuthorizationSet& key_description,
|
H A D | rsa_keymaster1_key.h | 49 keymaster_error_t ImportKey(const AuthorizationSet& key_description,
|
H A D | keymaster0_engine.h | 52 bool ImportKey(keymaster_key_format_t key_format, const KeymasterKeyBlob& to_import,
|
H A D | keymaster1_engine.h | 50 keymaster_error_t ImportKey(const AuthorizationSet& key_description,
|
/system/keymaster/legacy_support/ |
H A D | ec_keymaster0_key.cpp | 68 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 D | ec_keymaster1_key.cpp | 82 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 D | rsa_keymaster0_key.cpp | 70 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 D | rsa_keymaster1_key.cpp | 91 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 D | keymaster_passthrough_engine.cpp | 89 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 D | key_factory.h | 44 virtual keymaster_error_t ImportKey(const AuthorizationSet& key_description,
|
H A D | android_keymaster.h | 77 void ImportKey(const ImportKeyRequest& request, ImportKeyResponse* response);
|
/system/keymaster/include/keymaster/km_openssl/ |
H A D | ec_key_factory.h | 40 keymaster_error_t ImportKey(const AuthorizationSet& key_description,
|
H A D | rsa_key_factory.h | 37 keymaster_error_t ImportKey(const AuthorizationSet& key_description,
|
H A D | symmetric_key.h | 40 keymaster_error_t ImportKey(const AuthorizationSet& key_description,
|
/system/keymaster/km_openssl/ |
H A D | symmetric_key.cpp | 64 keymaster_error_t SymmetricKeyFactory::ImportKey(const AuthorizationSet& key_description, function in class:keymaster::SymmetricKeyFactory
|
H A D | ec_key_factory.cpp | 127 keymaster_error_t EcKeyFactory::ImportKey(const AuthorizationSet& key_description, function in class:keymaster::EcKeyFactory
|
H A D | rsa_key_factory.cpp | 103 keymaster_error_t RsaKeyFactory::ImportKey(const AuthorizationSet& key_description, function in class:keymaster::RsaKeyFactory
|
/system/keymaster/android_keymaster/ |
H A D | android_keymaster.cpp | 430 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 D | android_keymaster_test_utils.cpp | 208 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 D | android_keymaster_test.cpp | 1641 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...] |