mirror of
https://gitee.com/openharmony/security_huks
synced 2025-02-21 10:41:55 +00:00
split hks_type.h 2
Signed-off-by: wpy88 <2423811583@qq.com>
This commit is contained in:
parent
f1ea84d064
commit
eb706e603b
@ -16,7 +16,7 @@
|
||||
/**
|
||||
* @file hks_struct.h
|
||||
*
|
||||
* @brief Declares huks struct and enum.
|
||||
* @brief Declares huks struct.
|
||||
*
|
||||
* @since 8
|
||||
*/
|
||||
@ -50,7 +50,7 @@ extern "C" {
|
||||
#define HKS_KEY_BYTES(keySize) (((keySize) + HKS_BITS_PER_BYTE - 1) / HKS_BITS_PER_BYTE)
|
||||
#define HKS_SIGNATURE_MIN_SIZE 64
|
||||
#define HKS_ARRAY_SIZE(arr) ((sizeof(arr)) / (sizeof((arr)[0])))
|
||||
|
||||
#define MAX_OUT_BLOB_SIZE (5 * 1024 * 1024)
|
||||
#define HKS_WRAPPED_FORMAT_MAX_SIZE (1024 * 1024)
|
||||
#define HKS_IMPORT_WRAPPED_KEY_TOTAL_BLOBS 10
|
||||
|
||||
|
@ -16,7 +16,7 @@
|
||||
/**
|
||||
* @file hks_type.h
|
||||
*
|
||||
* @brief Declares huks struct and enum.
|
||||
* @brief Declares huks enum.
|
||||
*
|
||||
* @since 8
|
||||
*/
|
||||
@ -46,9 +46,6 @@ extern "C" {
|
||||
|
||||
#define HKS_SDK_VERSION "2.0.0.4"
|
||||
|
||||
|
||||
#define MAX_OUT_BLOB_SIZE (5 * 1024 * 1024)
|
||||
|
||||
/**
|
||||
* @brief hks key type
|
||||
*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user