From 649acd7269e70ff89dc440f5ffdf0b8f8b8518e0 Mon Sep 17 00:00:00 2001 From: maoyongxing Date: Fri, 16 Sep 2022 11:03:01 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A1=A5=E5=85=85=E4=B9=8B=E5=89=8D=E5=A4=9A?= =?UTF-8?q?=E4=BD=99=E5=9B=9E=E9=80=80=E7=9A=84=E9=83=A8=E5=88=86=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- cert_mgr_service/services/core/utils/cert_utils.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cert_mgr_service/services/core/utils/cert_utils.c b/cert_mgr_service/services/core/utils/cert_utils.c index 8ed6eaf..ab83732 100644 --- a/cert_mgr_service/services/core/utils/cert_utils.c +++ b/cert_mgr_service/services/core/utils/cert_utils.c @@ -22,6 +22,9 @@ #include "cert_utils_memleak.h" #include "cert_utils.h" +#define DEV_BUF_LENGTH 3 +#define HASH_LENGTH 32 + int32_t GetRandomNum(void) { mbedtls_ctr_drbg_context randomContext; -- Gitee