mirror of
https://gitee.com/openharmony/security_huks
synced 2024-11-30 10:21:22 +00:00
commit
63f4941b8b
@ -32,10 +32,10 @@
|
||||
#define S_TO_MS 1000
|
||||
#define MAX_RETRY_CHECK_UNIQUE_HANDLE_TIME 10
|
||||
#define INVALID_TOKEN_ID 0U
|
||||
#define MAX_KEY_NODES_COUNT 32
|
||||
#define MAX_KEY_NODES_COUNT 96
|
||||
|
||||
#ifdef HKS_SUPPORT_ACCESS_TOKEN
|
||||
#define MAX_KEY_NODES_EACH_TOKEN_ID 10
|
||||
#define MAX_KEY_NODES_EACH_TOKEN_ID 32
|
||||
#else
|
||||
#define MAX_KEY_NODES_EACH_TOKEN_ID MAX_KEY_NODES_COUNT
|
||||
#endif
|
||||
|
@ -30,10 +30,10 @@
|
||||
#include "securec.h"
|
||||
#include "hks_util.h"
|
||||
|
||||
#define MAX_OPERATIONS_COUNT 32
|
||||
#define MAX_OPERATIONS_COUNT 96
|
||||
|
||||
#ifdef HKS_SUPPORT_ACCESS_TOKEN
|
||||
#define MAX_OPERATIONS_EACH_TOKEN_ID 10
|
||||
#define MAX_OPERATIONS_EACH_TOKEN_ID 32
|
||||
#else
|
||||
#define MAX_OPERATIONS_EACH_TOKEN_ID MAX_OPERATIONS_COUNT
|
||||
#endif
|
||||
|
@ -25,7 +25,7 @@
|
||||
using namespace testing::ext;
|
||||
namespace {
|
||||
static const uint32_t MAX_SESSION_NUM_TEST = 40;
|
||||
static const uint32_t MAX_SESSION_NUM_SA = 10;
|
||||
static const uint32_t MAX_SESSION_NUM_SA = 32;
|
||||
static const uint32_t HMAC_OUTPUT_SIZE = 32;
|
||||
class HksSessionMaxTest : public testing::Test {
|
||||
public:
|
||||
|
Loading…
Reference in New Issue
Block a user