mirror of
https://gitee.com/openharmony/security_crypto_framework
synced 2024-11-23 06:49:44 +00:00
算法库增加CFI
Signed-off-by: lcc <lichaochen@huawei.com>
This commit is contained in:
parent
13a0aa31ce
commit
442161305b
@ -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
|
||||
|
@ -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"
|
||||
|
@ -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
|
||||
|
||||
|
@ -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"
|
||||
|
@ -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
|
||||
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user