[DAPR-74] halapi: Add new HAL_MODULE_DA_ESE module 14/317914/2
authorChanwoo Choi <cw00.choi@samsung.com>
Thu, 9 Jan 2025 12:39:57 +0000 (21:39 +0900)
committerChanwoo Choi <cw00.choi@samsung.com>
Thu, 9 Jan 2025 12:44:33 +0000 (21:44 +0900)
[Role of HAL_MODULE_DA_ESE module]
- Provide APIs to access certificate and key data stored in the eSE,
and to read/write in the hardware secure storage provided by eSE.
Currently a few system services and apps use these APIs
and there are two different hardware vendors whose eSE is used in our products,
so this abstraction is needed to move the hardware specific code and
vendor libraries into HAL layer.
- ESE (Embedded Secure Element)

[Details description of newly added HAL_MODULE_DA_ESE module]
- group                 : HAL_GROUP_SYSTEM,
- module                : HAL_MODULE_DA_ESE,
- license               : HAL_LICENSE_APACHE_2_0,
- gbm_group             : HAL_GBM_GROUP_DA,
- module_name           : "HAL_MODULE_DA_ESE",
- backend_module_name   : "da-ese",
- library_name          : "/hal/lib/libhal-backend-da-ese.so",
- library_name_64bit    : "/hal/lib64/libhal-backend-da-ese.so",
- symbol_name           : "hal_backend_da_ese_data",
- manifest              : "/etc/hal/hal-api-da-ese-manifest.xml",
- hal_api               : true,

Change-Id: I1d7862c4a03caa768d65b9900ee9e37d9d91903d
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
include/hal-common.h
packaging/hal-api-common.spec
src/hal-api-list.h

index a5480b04a39d0aa6bde0bd92118f9de2a5a642ca..5e54d15829d9c773b0d6ce3af810a97be9ba266c 100644 (file)
@@ -79,6 +79,7 @@ enum hal_module {
 
        HAL_MODULE_DA_WOW,              /* HAL_GBM_GROUP_DA & HAL_GROUP_SYSTEM*/
        HAL_MODULE_DA_AB_UPDATE,        /* HAL_GBM_GROUP_DA & HAL_GROUP_SYSTEM*/
+       HAL_MODULE_DA_ESE,              /* HAL_GBM_GROUP_DA & HAL_GROUP_SYSTEM*/
 
        HAL_MODULE_END,
 };
index 36d87ff022d644787cd93f61c0aa96cfc03029f2..fe56db1a94ac7f9436ced6e605312515bc8afaac 100644 (file)
@@ -10,7 +10,7 @@
 ### main package #########
 Name:       %{name}
 Summary:    %{name} interface
-Version:    1.0.4
+Version:    1.0.5
 Release:    2
 Group:      Development/Libraries
 License:    Apache-2.0
index 125a8b193c6e8aacba66f385a842dfa06396bce6..b16520514215d1b730cc2a41aff5cec2a17b76fe 100644 (file)
@@ -515,6 +515,19 @@ static struct __hal_module_info g_hal_module_info[] = {
                .manifest               = "/etc/hal/hal-api-da-ab-update-manifest.xml",
                .hal_api                = true,
        },
+       [HAL_MODULE_DA_ESE] = {
+               .group                  = HAL_GROUP_SYSTEM,
+               .module                 = HAL_MODULE_DA_ESE,
+               .license                = HAL_LICENSE_APACHE_2_0,
+               .gbm_group              = HAL_GBM_GROUP_DA,
+               .module_name            = "HAL_MODULE_DA_ESE",
+               .backend_module_name    = "da-ese",
+               .library_name           = "/hal/lib/libhal-backend-da-ese.so",
+               .library_name_64bit     = "/hal/lib64/libhal-backend-da-ese.so",
+               .symbol_name            = "hal_backend_da_ese_data",
+               .manifest               = "/etc/hal/hal-api-da-ese-manifest.xml",
+               .hal_api                = true,
+       },
 };
 
 #endif /* __HAL_API_LIST_H__ */