!1331 放开sessionLimit

Merge pull request !1331 from wkyrong/master
This commit is contained in:
openharmony_ci 2024-09-30 02:54:49 +00:00 committed by Gitee
commit 63f4941b8b
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
3 changed files with 5 additions and 5 deletions

View File

@ -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

View File

@ -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

View File

@ -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: