!426 算法库增加CFI

Merge pull request !426 from lichaochen/master
This commit is contained in:
openharmony_ci 2024-08-31 11:08:43 +00:00 committed by Gitee
commit 9beae6b22e
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
6 changed files with 6 additions and 0 deletions

View File

@ -15,6 +15,7 @@ import("//base/security/crypto_framework/common/common.gni")
import("//build/ohos.gni")
ohos_static_library("crypto_plugin_common") {
branch_protector_ret = "pac_ret"
subsystem_name = "security"
part_name = "crypto_framework"
include_dirs = crypto_framwork_common_inc_path

View File

@ -25,6 +25,7 @@ config("framework_config") {
}
ohos_shared_library("crypto_framework_lib") {
branch_protector_ret = "pac_ret"
subsystem_name = "security"
innerapi_tags = [ "platformsdk" ]
part_name = "crypto_framework"

View File

@ -16,6 +16,7 @@ import("//base/security/crypto_framework/frameworks/frameworks.gni")
import("//build/ohos.gni")
ohos_shared_library("cj_cryptoframework_ffi") {
branch_protector_ret = "pac_ret"
include_dirs = [ "include" ]
include_dirs += framework_inc_path

View File

@ -16,6 +16,7 @@ import("//base/security/crypto_framework/frameworks/frameworks.gni")
import("//build/ohos.gni")
ohos_shared_library("cryptoframework_napi") {
branch_protector_ret = "pac_ret"
subsystem_name = "security"
part_name = "crypto_framework"
relative_install_dir = "module/security"

View File

@ -16,6 +16,7 @@ import("//base/security/crypto_framework/frameworks/frameworks.gni")
import("//build/ohos.gni")
ohos_shared_library("ohcrypto") {
branch_protector_ret = "pac_ret"
if (os_level == "standard") {
sanitize = {
cfi = true

View File

@ -26,6 +26,7 @@ config("plugin_config") {
}
ohos_shared_library("crypto_openssl_plugin_lib") {
branch_protector_ret = "pac_ret"
subsystem_name = "security"
innerapi_tags = [ "platformsdk_indirect" ]
part_name = "crypto_framework"