Home
last modified time | relevance | path

Searched refs:AAD_SIZE (Results 1 – 14 of 14) sorted by relevance

/base/security/huks/test/unittest/huks_standard_test/three_stage_test/include/
Dhks_sm4_cipher_test_common.h25 static const uint32_t AAD_SIZE = 16; variable
31 static uint8_t AAD[AAD_SIZE] = {0};
Dhks_import_wrapped_test_common.h47 static const uint32_t AAD_SIZE = 16; variable
48 static uint8_t AAD[AAD_SIZE] = "abababababababa";
/base/security/huks/test/unittest/huks_standard_test/three_stage_test/include/symmetric_alg_test/
Dhks_aes_cipher_test_common.h25 static const uint32_t AAD_SIZE = 16; variable
30 static uint8_t AAD[AAD_SIZE] = {0};
/base/security/huks/test/unittest/huks_standard_test/interface_inner_test/alg_module_test/include/
Dopenssl_aes_helper.h25 #define AAD_SIZE 16 macro
/base/security/huks/test/unittest/huks_standard_test/interface_inner_test/alg_module_test/src/
Dhks_aes_encrypt_mt.cpp44 const uint8_t AAD_DATA[AAD_SIZE] = {0};
472 HksBlob tagAead = { .size = AAD_SIZE, .data = (uint8_t *)HksMalloc(AAD_SIZE) }; in RunTestCase()
474 (void)memcpy_s(tagAead.data, AAD_SIZE, cipherText.data + AAD_SIZE, AAD_SIZE); in RunTestCase()
475 cipherText.size = AAD_SIZE; in RunTestCase()
Dhks_aes_decrypt_mt.cpp44 const uint8_t AAD_DATA[AAD_SIZE] = {0};
473 HksBlob tagAead = { .size = AAD_SIZE, .data = (uint8_t *)HksMalloc(AAD_SIZE) }; in RunTestCase()
477 cipherText.size += AAD_SIZE; in RunTestCase()
478 EXPECT_EQ(memcpy_s(cipherText.data + AAD_SIZE, AAD_SIZE, tagAead.data, AAD_SIZE), 0); in RunTestCase()
Dhks_aes_key_mt.cpp44 const uint8_t AAD_DATA[AAD_SIZE] = {0};
469 HksBlob tagAead = { .size = AAD_SIZE, .data = (uint8_t *)HksMalloc(AAD_SIZE) }; in RunTestCase()
Dhks_aes_cipher_mt.cpp47 const uint8_t AAD_DATA[AAD_SIZE] = {0};
/base/security/huks/test/unittest/huks_standard_test/three_stage_test/src/
Dhks_import_wrapped_test_common.cpp35 {.tag = HKS_TAG_ASSOCIATED_DATA, .blob = {.size = Unittest::ImportWrappedKey::AAD_SIZE,
186 struct HksBlob commonAad = {.size = Unittest::ImportWrappedKey::AAD_SIZE, in ImportWrappedKey()
Dhks_import_wrapped_x25519_suite_test.cpp126 {.tag = HKS_TAG_ASSOCIATED_DATA, .blob = {.size = Unittest::ImportWrappedKey::AAD_SIZE,
/base/security/huks/test/unittest/huks_standard_test/three_stage_test/src/symmetric_alg_test/
Dhks_aes_cipher_part2_test.cpp247 .size = AAD_SIZE,
286 .size = AAD_SIZE,
327 .size = AAD_SIZE,
Dhks_aes_cipher_part1_test.cpp247 .size = AAD_SIZE,
286 .size = AAD_SIZE,
326 .size = AAD_SIZE,
Dhks_aes_cipher_part3_test.cpp247 .size = AAD_SIZE,
286 .size = AAD_SIZE,
327 .size = AAD_SIZE,
/base/security/huks/test/reliability/src/
Dapi_pressure_test.cpp41 const uint32_t AAD_SIZE = 16; variable
150 uint8_t aadData[AAD_SIZE] = { 'a', 'a', 'd' }; in AESModeRandForCiper()