Home
last modified time | relevance | path

Searched refs:MAX_LOG_BUFF_LEN (Results 1 – 6 of 6) sorted by relevance

/base/security/huks/frameworks/crypto_lite/cipher/src/
Dcipher_log.c22 #define MAX_LOG_BUFF_LEN 4096 macro
26 char *buf = (char *)malloc(MAX_LOG_BUFF_LEN); in CipherLog()
31 (void)memset_s(buf, MAX_LOG_BUFF_LEN, 0, MAX_LOG_BUFF_LEN); in CipherLog()
35 int32_t ret = vsnprintf_s(buf, MAX_LOG_BUFF_LEN, MAX_LOG_BUFF_LEN - 1, format, ap); in CipherLog()
Dcipher_log_lite.c23 #define MAX_LOG_BUFF_LEN 512 macro
27 char *buf = (char *)malloc(MAX_LOG_BUFF_LEN); in CipherLog()
32 (void)memset_s(buf, MAX_LOG_BUFF_LEN, 0, MAX_LOG_BUFF_LEN); in CipherLog()
36 int32_t ret = vsnprintf_s(buf, MAX_LOG_BUFF_LEN, MAX_LOG_BUFF_LEN - 1, format, ap); in CipherLog()
/base/security/certificate_manager/frameworks/cert_manager_standard/main/os_dependency/log/
Dcm_log.c28 #define MAX_LOG_BUFF_LEN 512 macro
32 char *buf = (char *)CmMalloc(MAX_LOG_BUFF_LEN); in CmLog()
37 (void)memset_s(buf, MAX_LOG_BUFF_LEN, 0, MAX_LOG_BUFF_LEN); in CmLog()
41 int32_t ret = vsnprintf_s(buf, MAX_LOG_BUFF_LEN, MAX_LOG_BUFF_LEN - 1, format, ap); in CmLog()
/base/security/selinux_adapter/interfaces/policycoreutils/src/
Dselinux_log.c26 #define MAX_LOG_BUFF_LEN 1024 macro
41 char *buf = (char *)malloc(MAX_LOG_BUFF_LEN); in SelinuxHilog()
46 (void)memset_s(buf, MAX_LOG_BUFF_LEN, 0, MAX_LOG_BUFF_LEN); in SelinuxHilog()
50 if (vsnprintf_s(buf, MAX_LOG_BUFF_LEN, MAX_LOG_BUFF_LEN - 1, fmt, ap) < 0) { in SelinuxHilog()
/base/security/huks/test/unittest/huks_lite_test/common/
Dhks_test_log.c22 #define MAX_LOG_BUFF_LEN 512 macro
27 char buf[MAX_LOG_BUFF_LEN] = { 0 }; in HksTestLog()
31 int32_t ret = vsnprintf_s(buf, MAX_LOG_BUFF_LEN, MAX_LOG_BUFF_LEN - 1, format, ap); in HksTestLog()
/base/security/certificate_framework/frameworks/common/v1.0/src/
Dcf_log.c25 #define MAX_LOG_BUFF_LEN 512 macro
29 char buf[MAX_LOG_BUFF_LEN] = {0}; in CfLog()
33 int32_t ret = vsnprintf_s(buf, MAX_LOG_BUFF_LEN, MAX_LOG_BUFF_LEN - 1, format, ap); in CfLog()