Searched refs:AAD_SIZE (Results 1 – 14 of 14) sorted by relevance
/base/security/huks/test/unittest/huks_standard_test/three_stage_test/include/ |
D | hks_sm4_cipher_test_common.h | 25 static const uint32_t AAD_SIZE = 16; variable 31 static uint8_t AAD[AAD_SIZE] = {0};
|
D | hks_import_wrapped_test_common.h | 47 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/ |
D | hks_aes_cipher_test_common.h | 25 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/ |
D | openssl_aes_helper.h | 25 #define AAD_SIZE 16 macro
|
/base/security/huks/test/unittest/huks_standard_test/interface_inner_test/alg_module_test/src/ |
D | hks_aes_encrypt_mt.cpp | 44 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()
|
D | hks_aes_decrypt_mt.cpp | 44 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()
|
D | hks_aes_key_mt.cpp | 44 const uint8_t AAD_DATA[AAD_SIZE] = {0}; 469 HksBlob tagAead = { .size = AAD_SIZE, .data = (uint8_t *)HksMalloc(AAD_SIZE) }; in RunTestCase()
|
D | hks_aes_cipher_mt.cpp | 47 const uint8_t AAD_DATA[AAD_SIZE] = {0};
|
/base/security/huks/test/unittest/huks_standard_test/three_stage_test/src/ |
D | hks_import_wrapped_test_common.cpp | 35 {.tag = HKS_TAG_ASSOCIATED_DATA, .blob = {.size = Unittest::ImportWrappedKey::AAD_SIZE, 186 struct HksBlob commonAad = {.size = Unittest::ImportWrappedKey::AAD_SIZE, in ImportWrappedKey()
|
D | hks_import_wrapped_x25519_suite_test.cpp | 126 {.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/ |
D | hks_aes_cipher_part2_test.cpp | 247 .size = AAD_SIZE, 286 .size = AAD_SIZE, 327 .size = AAD_SIZE,
|
D | hks_aes_cipher_part1_test.cpp | 247 .size = AAD_SIZE, 286 .size = AAD_SIZE, 326 .size = AAD_SIZE,
|
D | hks_aes_cipher_part3_test.cpp | 247 .size = AAD_SIZE, 286 .size = AAD_SIZE, 327 .size = AAD_SIZE,
|
/base/security/huks/test/reliability/src/ |
D | api_pressure_test.cpp | 41 const uint32_t AAD_SIZE = 16; variable 150 uint8_t aadData[AAD_SIZE] = { 'a', 'a', 'd' }; in AESModeRandForCiper()
|