From bebb915043fdb11be6c1cd536abbfe6214a834ef Mon Sep 17 00:00:00 2001 From: Zhi Guan Date: Tue, 17 Oct 2023 23:19:33 +0800 Subject: [PATCH] Update rand.h --- include/gmssl/rand.h | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/include/gmssl/rand.h b/include/gmssl/rand.h index 2f433e43..86f5b05a 100644 --- a/include/gmssl/rand.h +++ b/include/gmssl/rand.h @@ -1,5 +1,5 @@ /* - * Copyright 2014-2022 The GmSSL Project. All Rights Reserved. + * Copyright 2014-2023 The GmSSL Project. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the License); you may * not use this file except in compliance with the License. @@ -19,12 +19,8 @@ extern "C" { #endif -/* -Rand Public API - rand_bytes - -*/ +#define RAND_BYTES_MAX_SIZE (256) _gmssl_export int rand_bytes(uint8_t *buf, size_t buflen);