/base/security/huks/test/unittest/huks_standard_test/three_stage_test/include/ |
H A D | hks_sm4_cipher_test_common.h | 25 static const uint32_t AAD_SIZE = 16;
member 31 static uint8_t AAD[AAD_SIZE] = {0};
|
H A D | hks_import_wrapped_test_common.h | 47 static const uint32_t AAD_SIZE = 16; member 48 static uint8_t AAD[AAD_SIZE] = "abababababababa";
|
H A D | hks_access_control_test_common.h | 63 static const uint32_t AAD_SIZE = 16; member 87 static uint8_t AAD_FOR_AES_GCM[AAD_SIZE] = {0};
|
/base/security/huks/test/unittest/huks_standard_test/three_stage_test/include/symmetric_alg_test/ |
H A D | hks_aes_cipher_test_common.h | 25 static const uint32_t AAD_SIZE = 16; member 30 static uint8_t AAD[AAD_SIZE] = {0};
|
/base/security/huks/test/unittest/huks_standard_test/three_stage_test/src/ |
H A D | hks_batch_test.cpp | 109 .size = AesCipher::AAD_SIZE, 142 .size = AesCipher::AAD_SIZE, 221 .size = AesCipher::AAD_SIZE, 254 .size = AesCipher::AAD_SIZE, 334 .size = AesCipher::AAD_SIZE, 368 .size = AesCipher::AAD_SIZE, 408 .size = AesCipher::AAD_SIZE, 487 .size = AesCipher::AAD_SIZE, 520 .size = AesCipher::AAD_SIZE, 599 .size = AesCipher::AAD_SIZE, [all...] |
H A D | hks_import_wrapped_test_common.cpp | 36 {.tag = HKS_TAG_ASSOCIATED_DATA, .blob = {.size = Unittest::ImportWrappedKey::AAD_SIZE, 187 struct HksBlob commonAad = {.size = Unittest::ImportWrappedKey::AAD_SIZE, in ImportWrappedKey()
|
H A D | hks_access_control_cipher_test.cpp | 142 { .tag = HKS_TAG_ASSOCIATED_DATA, .blob = { .size = AAD_SIZE, .data = (uint8_t *)AAD_FOR_AES_GCM }},
|
H A D | hks_import_wrapped_x25519_suite_test.cpp | 120 {.tag = HKS_TAG_ASSOCIATED_DATA, .blob = {.size = Unittest::ImportWrappedKey::AAD_SIZE,
|
H A D | hks_sm4_cipher_part_test.cpp | 126 .size = AAD_SIZE, \
|
/base/security/huks/test/unittest/huks_standard_test/interface_inner_test/alg_module_test/include/ |
H A D | openssl_aes_helper.h | 25 #define AAD_SIZE 16 macro
|
/base/security/asset/test/unittest/module_test/src/crypto_manager/ |
H A D | lib.rs | 23 pub const AAD_SIZE: u32 = 8; consts 87 let aad = vec![0; AAD_SIZE as usize]; in encrypt_and_decrypt() 121 let aad = vec![0; AAD_SIZE as usize]; in crypto_exec()
|
/base/security/huks/test/unittest/huks_standard_test/three_stage_test/src/symmetric_alg_test/ |
H A D | hks_aes_cipher_part4_test.cpp | 98 .size = AAD_SIZE, 131 .size = AAD_SIZE, 223 .size = AAD_SIZE, 256 .size = AAD_SIZE, 341 .size = AAD_SIZE, 374 .size = AAD_SIZE,
|
H A D | hks_aes_cipher_ccm_test.cpp | 43 static uint8_t CCM_AAD[AAD_SIZE + CCM_COMM_BUFF_SIZE] = {0};
129 .size = AAD_SIZE,
160 .size = AAD_SIZE,
197 .size = AAD_SIZE,
222 .size = AAD_SIZE,
464 (void)HksAesSetAadLen(g_encCcmParams, sizeof(g_encCcmParams) / sizeof(HksParam), AAD_SIZE, CCM_AAD);
in TestAesCcmCaseInit() 467 (void)HksAesSetAadLen(g_decCcmParams, sizeof(g_decCcmParams) / sizeof(HksParam), AAD_SIZE, CCM_AAD);
in TestAesCcmCaseInit() 478 (void)HksAesSetAadLen(g_encCcmParamsNoNonce, sizeof(g_encCcmParamsNoNonce) / sizeof(HksParam), AAD_SIZE,
in TestAesCcmCaseInit() 483 (void)HksAesSetAadLen(g_decCcmParamsNoNonce, sizeof(g_decCcmParamsNoNonce) / sizeof(HksParam), AAD_SIZE,
in TestAesCcmCaseInit()
|
/base/security/huks/test/unittest/huks_common_test/include/ |
H A D | hks_aes_cipher_part_test_c.h | 39 .size = AAD_SIZE, \
|
/base/security/huks/test/unittest/huks_standard_test/interface_inner_test/alg_module_test/src/ |
H A 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()
|
H A D | hks_aes_decrypt_mt.cpp | 44 const uint8_t AAD_DATA[AAD_SIZE] = {0}; 509 HksBlob tagAead = { .size = AAD_SIZE, .data = (uint8_t *)HksMalloc(AAD_SIZE) }; in RunTestCase() 513 cipherText.size += AAD_SIZE; in RunTestCase() 514 EXPECT_EQ(memcpy_s(cipherText.data + AAD_SIZE, AAD_SIZE, tagAead.data, AAD_SIZE), 0); in RunTestCase()
|
H A 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()
|
H A D | hks_aes_cipher_mt.cpp | 47 const uint8_t AAD_DATA[AAD_SIZE] = {0};
|
/base/telephony/core_service/utils/common/src/ |
H A D | tel_aes_crypto_util.cpp | 27 constexpr uint32_t AAD_SIZE = 16; member 30 constexpr uint8_t AAD[AAD_SIZE] = {0}; 65 .size = AAD_SIZE, \
|
/base/security/huks/test/reliability/src/ |
H A D | api_pressure_test.cpp | 50 const uint32_t AAD_SIZE = 16; member 159 uint8_t aadData[AAD_SIZE] = { 'a', 'a', 'd' }; in AESModeRandForCiper()
|