diff options
author | thead_admin <occ_thead@service.alibaba.com> | 2023-01-04 13:12:02 +0800 |
---|---|---|
committer | thead_admin <occ_thead@service.alibaba.com> | 2023-01-04 13:12:02 +0800 |
commit | 02deb8b059118cd2b0fb3c8bbb6d73fd1f87115a (patch) | |
tree | 0392294a5f997b777b05c8373dd2fe062a751296 /lib/sec_library/include/sec_crypto_rng.h | |
parent | 0c8e009c3a52c6a29b00cf70d368d5c082639197 (diff) |
Linux_SDK_V1.0.3Linux_SDK_V1.0.3
Diffstat (limited to 'lib/sec_library/include/sec_crypto_rng.h')
-rwxr-xr-x | lib/sec_library/include/sec_crypto_rng.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/sec_library/include/sec_crypto_rng.h b/lib/sec_library/include/sec_crypto_rng.h index 4832c882..c133b0dc 100755 --- a/lib/sec_library/include/sec_crypto_rng.h +++ b/lib/sec_library/include/sec_crypto_rng.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 2017-2021 Alibaba Group Holding Limited + * Copyright (C) 2017-2020 Alibaba Group Holding Limited */ /****************************************************************************** * @file seccrypt_rng.h @@ -13,7 +13,7 @@ #include <stdint.h> -#include <sec_crypto_errcode.h> +#include "sec_crypto_errcode.h" #ifdef __cplusplus @@ -23,10 +23,10 @@ extern "C" { /** \brief Get data from the TRNG engine \param[out] data Pointer to buffer with data get from TRNG - \param[in] num Number of data items,uinit in uint32 + \param[in] num Number of data items in bytes \return error code */ -uint32_t sc_rng_get_multi_word(uint32_t *data, uint32_t num); +uint32_t sc_rng_get_multi_byte(uint8_t *data, uint32_t num); /** \brief Get data from the TRNG engine |