/base/security/dlp_permission_service/test/fuzztest/dlp_permission/stub_fuzzer/generatecertstub_fuzzer/ |
H A D | generatecertstub_fuzzer.cpp | 35 const uint32_t KEY_LEN = 16; member 39 constexpr int32_t DATA_LENGTH = KEY_LEN * 4; 63 GenerateRandStr(KEY_LEN, data, acount); in InitPolicy() 68 uint8_t* aeskey = const_cast<uint8_t*>(data + KEY_LEN); in InitPolicy() 69 uint8_t* iv = const_cast<uint8_t*>(data + KEY_LEN + KEY_LEN); in InitPolicy() 70 uint8_t* mac = const_cast<uint8_t*>(data + KEY_LEN + KEY_LEN + KEY_LEN); in InitPolicy() 71 encPolicy.SetAeskey(aeskey, KEY_LEN); in InitPolicy() [all...] |
/base/security/dlp_permission_service/test/fuzztest/dlp_permission/fuzzer/generatecert_fuzzer/ |
H A D | generatecert_fuzzer.cpp | 31 const int32_t KEY_LEN = 16; member 32 constexpr int32_t DATA_LENGTH = KEY_LEN * 6; 51 encPolicy.ownerAccount_ = Uint8ArrayToString(data, KEY_LEN); in FuzzTest() 53 uint32_t offset = KEY_LEN; in FuzzTest() 54 encPolicy.SetAeskey(data + offset, KEY_LEN); in FuzzTest() 55 offset += KEY_LEN; in FuzzTest() 56 encPolicy.SetIv(data + offset, KEY_LEN); in FuzzTest() 59 offset += KEY_LEN; in FuzzTest() 60 perminfo.authAccount = Uint8ArrayToString(data + offset, KEY_LEN); in FuzzTest()
|
/base/security/device_auth/frameworks/deviceauth_lite/test/unittest/ |
H A D | hichain_receivedata_test.cpp | 38 const int KEY_LEN = 16; member 95 para->key_length = KEY_LEN; in GetProtocolParams() 153 const struct operation_parameter params = {g_testServerAuthId, g_testClientAuthId, KEY_LEN}; in HWTEST_F() 235 const struct operation_parameter params = {g_testServerAuthId, g_testClientAuthId, KEY_LEN}; in HWTEST_F() 279 const struct operation_parameter params = {g_testServerAuthId, g_testClientAuthId, KEY_LEN}; in HWTEST_F() 319 const struct operation_parameter params = {g_testServerAuthId, g_testClientAuthId, KEY_LEN}; in HWTEST_F() 385 const struct operation_parameter params = {g_testServerAuthId, g_testClientAuthId, KEY_LEN}; in HWTEST_F() 427 const struct operation_parameter params = {g_testServerAuthId, g_testClientAuthId, KEY_LEN}; in HWTEST_F() 507 const struct operation_parameter params = {g_testServerAuthId, g_testClientAuthId, KEY_LEN}; in HWTEST_F() 553 struct operation_parameter params = {g_testServerAuthId, g_testClientAuthId, KEY_LEN}; in HWTEST_F() [all...] |
H A D | hichain_pake_test.cpp | 32 const int KEY_LEN = 16; member 81 para->key_length = KEY_LEN; in GetProtocolParams() 164 const struct operation_parameter params = {g_test_server_auth_id, g_test_client_auth_id, KEY_LEN}; in HWTEST_F()
|
H A D | deviceauth_test.cpp | 38 const int KEY_LEN = 16; member 137 para->key_length = KEY_LEN; in GetProtocolParams() 178 para->key_length = KEY_LEN; in GetProtocolParams001() 206 para->key_length = KEY_LEN; in GetProtocolParams003() 586 const struct operation_parameter params = {g_testServerAuthId, g_testClientAuthId, KEY_LEN}; in HWTEST_F() 606 const struct operation_parameter params = {g_testServerAuthId, g_testClientAuthId, KEY_LEN}; in HWTEST_F() 676 const struct operation_parameter params = {g_testServerAuthId, g_testClientAuthId, KEY_LEN}; in HWTEST_F() 696 const struct operation_parameter params = {g_testServerAuthId003, g_testClientAuthId, KEY_LEN}; in HWTEST_F() 716 const struct operation_parameter params = {g_testServerAuthId003, g_testClientAuthId, KEY_LEN}; in HWTEST_F() 736 const struct operation_parameter params = {g_testServerAuthId, g_testClientAuthId, KEY_LEN}; in HWTEST_F() [all...] |
H A D | huks_adapter_test.cpp | 34 const int KEY_LEN = 16; member 130 para->key_length = KEY_LEN; in GetProtocolParams() 571 struct operation_parameter params = {g_test_server_auth_id, g_test_client_auth_id, KEY_LEN}; in HWTEST_F() 654 struct operation_parameter params = {g_test_server_auth_id, g_test_client_auth_id, KEY_LEN}; in HWTEST_F() 689 struct operation_parameter params = {g_test_server_auth_id, g_test_client_auth_id, KEY_LEN}; in HWTEST_F() 1110 struct operation_parameter params = {g_test_server_auth_id, g_test_client_auth_id, KEY_LEN}; in HWTEST_F()
|
/base/security/crypto_framework/test/fuzztest/crypto_operation/hcfmaccreate_fuzzer/ |
H A D | hcfmaccreate_fuzzer.cpp | 28 static const int KEY_LEN = 16; member 58 uint32_t testKeyLen = KEY_LEN; in TestMac()
|
/base/security/huks/frameworks/crypto_lite/cipher/include/ |
H A D | cipher.h | 33 #define KEY_LEN 32
macro
|
/base/security/huks/frameworks/crypto_lite/cipher/src/ |
H A D | cipher_aes.c | 237 if (keyLen != KEY_LEN) { in InitAesData() 239 keyLen, KEY_LEN); in InitAesData() 245 data->keyLen = KEY_LEN; in InitAesData()
|