mirror of
https://gitee.com/openharmony/security_huks
synced 2025-02-17 08:27:49 +00:00
add filter map
Signed-off-by: zhangwenzhi <zhangwenzhi3@huawei.com>
This commit is contained in:
parent
75875088ec
commit
d639ffb0e4
@ -45,6 +45,8 @@ ohos_shared_library("huks_ndk") {
|
||||
|
||||
branch_protector_ret = "pac_ret"
|
||||
|
||||
version_script = "libhuksndk.map"
|
||||
|
||||
sanitize = {
|
||||
integer_overflow = true
|
||||
cfi = true
|
||||
|
40
interfaces/kits/c/libhuksndk.map
Normal file
40
interfaces/kits/c/libhuksndk.map
Normal file
@ -0,0 +1,40 @@
|
||||
# Copyright (c) 2023 Huawei Device Co., Ltd.
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
1.0 {
|
||||
global:
|
||||
OH_Huks_GetSdkVersion;
|
||||
OH_Huks_GenerateKeyItem;
|
||||
OH_Huks_ImportKeyItem;
|
||||
OH_Huks_ImportWrappedKeyItem;
|
||||
OH_Huks_ExportPublicKeyItem;
|
||||
OH_Huks_DeleteKeyItem;
|
||||
OH_Huks_GetKeyItemParamSet;
|
||||
OH_Huks_IsKeyItemExist;
|
||||
OH_Huks_AttestKeyItem;
|
||||
OH_Huks_InitSession;
|
||||
OH_Huks_UpdateSession;
|
||||
OH_Huks_FinishSession;
|
||||
OH_Huks_AbortSession;
|
||||
OH_Huks_InitParamSet;
|
||||
OH_Huks_AddParams;
|
||||
OH_Huks_BuildParamSet;
|
||||
OH_Huks_FreeParamSet;
|
||||
OH_Huks_CopyParamSet;
|
||||
OH_Huks_GetParam;
|
||||
OH_Huks_FreshParamSet;
|
||||
OH_Huks_IsParamSetTagValid;
|
||||
OH_Huks_IsParamSetValid;
|
||||
OH_Huks_CheckParamMatch;
|
||||
local: *;
|
||||
};
|
@ -39,6 +39,8 @@ ohos_shared_library("huks") {
|
||||
"include/v9",
|
||||
]
|
||||
|
||||
version_script = "libhuksnapi.map"
|
||||
|
||||
sources = [
|
||||
"src/huks_napi.cpp",
|
||||
"src/v8/huks_napi_abort.cpp",
|
||||
|
17
interfaces/kits/napi/libhuksnapi.map
Normal file
17
interfaces/kits/napi/libhuksnapi.map
Normal file
@ -0,0 +1,17 @@
|
||||
# Copyright (c) 2023 Huawei Device Co., Ltd.
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
1.0 {
|
||||
global:
|
||||
local: *;
|
||||
};
|
@ -33,6 +33,7 @@ ohos_shared_library("huks_service") {
|
||||
}
|
||||
subsystem_name = "security"
|
||||
part_name = "huks"
|
||||
version_script = "libhuksservice.map"
|
||||
|
||||
configs = [
|
||||
"//base/security/huks/frameworks/config/build:l2_standard_common_config",
|
||||
|
17
services/huks_standard/libhuksservice.map
Normal file
17
services/huks_standard/libhuksservice.map
Normal file
@ -0,0 +1,17 @@
|
||||
# Copyright (c) 2023 Huawei Device Co., Ltd.
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
1.0 {
|
||||
global:
|
||||
local: *;
|
||||
};
|
Loading…
x
Reference in New Issue
Block a user