Home
last modified time | relevance | path

Searched refs:IV_SIZE (Results 1 – 25 of 34) sorted by relevance

12

/base/security/huks/test/unittest/huks_standard_test/three_stage_test/include/
Dhks_check_pur_part_test.h29 static const uint32_t IV_SIZE = 16; variable
30 static uint8_t IV[IV_SIZE] = {0};
Dhks_check_auth_part_test.h29 static const uint32_t IV_SIZE = 16; variable
30 static uint8_t IV[IV_SIZE] = {0};
Dhks_sm4_cipher_test_common.h24 static const uint32_t IV_SIZE = 16; variable
30 static uint8_t IV[IV_SIZE] = {0};
Dhks_import_wrapped_test_common.h44 static const uint32_t IV_SIZE = 16; variable
45 static uint8_t IV[IV_SIZE] = "bababababababab";
Dhks_access_control_test_common.h50 static const uint32_t IV_SIZE = 16; variable
70 static uint8_t IV[IV_SIZE] = {0};
Dhks_cross_test_common.h35 static const uint32_t IV_SIZE = 16; variable
37 static uint8_t IV[IV_SIZE] = {0};
Dhks_cross_test.h63 .size = Unittest::CrossTest::IV_SIZE,
90 .size = Unittest::CrossTest::IV_SIZE,
/base/security/huks/test/unittest/huks_standard_test/interface_inner_test/alg_module_test/src/
Dhks_aes_key_mt.cpp43 const uint8_t IV[IV_SIZE] = {0};
58 { .tag = HKS_TAG_IV, .blob = { .size = IV_SIZE, .data = (uint8_t*)IV } },
78 { .tag = HKS_TAG_IV, .blob = { .size = IV_SIZE, .data = (uint8_t*)IV } },
98 { .tag = HKS_TAG_IV, .blob = { .size = IV_SIZE, .data = (uint8_t*)IV } },
119 { .tag = HKS_TAG_IV, .blob = { .size = IV_SIZE, .data = (uint8_t*)IV } },
139 { .tag = HKS_TAG_IV, .blob = { .size = IV_SIZE, .data = (uint8_t*)IV } },
160 { .tag = HKS_TAG_NONCE, .blob = { .size = IV_SIZE, .data = (uint8_t*)IV } },
181 { .tag = HKS_TAG_IV, .blob = { .size = IV_SIZE, .data = (uint8_t*)IV } },
201 { .tag = HKS_TAG_IV, .blob = { .size = IV_SIZE, .data = (uint8_t*)IV } },
221 { .tag = HKS_TAG_IV, .blob = { .size = IV_SIZE, .data = (uint8_t*)IV } },
[all …]
Dhks_aes_cipher_mt.cpp46 const uint8_t IV[IV_SIZE] = {0};
61 { .tag = HKS_TAG_IV, .blob = { .size = IV_SIZE, .data = (uint8_t*)IV } },
81 { .tag = HKS_TAG_IV, .blob = { .size = IV_SIZE, .data = (uint8_t*)IV } },
101 { .tag = HKS_TAG_IV, .blob = { .size = IV_SIZE, .data = (uint8_t*)IV } },
122 { .tag = HKS_TAG_IV, .blob = { .size = IV_SIZE, .data = (uint8_t*)IV } },
142 { .tag = HKS_TAG_IV, .blob = { .size = IV_SIZE, .data = (uint8_t*)IV } },
168 { .tag = HKS_TAG_NONCE, .blob = { .size = IV_SIZE, .data = (uint8_t*)IV } },
189 { .tag = HKS_TAG_IV, .blob = { .size = IV_SIZE, .data = (uint8_t*)IV } },
209 { .tag = HKS_TAG_IV, .blob = { .size = IV_SIZE, .data = (uint8_t*)IV } },
229 { .tag = HKS_TAG_IV, .blob = { .size = IV_SIZE, .data = (uint8_t*)IV } },
[all …]
Dhks_aes_encrypt_mt.cpp43 const uint8_t IV[IV_SIZE] = {0};
57 { .tag = HKS_TAG_IV, .blob = { .size = IV_SIZE, .data = (uint8_t*)IV } },
77 { .tag = HKS_TAG_IV, .blob = { .size = IV_SIZE, .data = (uint8_t*)IV } },
97 { .tag = HKS_TAG_IV, .blob = { .size = IV_SIZE, .data = (uint8_t*)IV } },
118 { .tag = HKS_TAG_IV, .blob = { .size = IV_SIZE, .data = (uint8_t*)IV } },
138 { .tag = HKS_TAG_IV, .blob = { .size = IV_SIZE, .data = (uint8_t*)IV } },
164 { .tag = HKS_TAG_NONCE, .blob = { .size = IV_SIZE, .data = (uint8_t*)IV } },
185 { .tag = HKS_TAG_IV, .blob = { .size = IV_SIZE, .data = (uint8_t*)IV } },
205 { .tag = HKS_TAG_IV, .blob = { .size = IV_SIZE, .data = (uint8_t*)IV } },
225 { .tag = HKS_TAG_IV, .blob = { .size = IV_SIZE, .data = (uint8_t*)IV } },
[all …]
Dhks_aes_decrypt_mt.cpp43 const uint8_t IV[IV_SIZE] = {0};
57 { .tag = HKS_TAG_IV, .blob = { .size = IV_SIZE, .data = (uint8_t*)IV } },
77 { .tag = HKS_TAG_IV, .blob = { .size = IV_SIZE, .data = (uint8_t*)IV } },
97 { .tag = HKS_TAG_IV, .blob = { .size = IV_SIZE, .data = (uint8_t*)IV } },
118 { .tag = HKS_TAG_IV, .blob = { .size = IV_SIZE, .data = (uint8_t*)IV } },
138 { .tag = HKS_TAG_IV, .blob = { .size = IV_SIZE, .data = (uint8_t*)IV } },
165 { .tag = HKS_TAG_NONCE, .blob = { .size = IV_SIZE, .data = (uint8_t*)IV } },
186 { .tag = HKS_TAG_IV, .blob = { .size = IV_SIZE, .data = (uint8_t*)IV } },
206 { .tag = HKS_TAG_IV, .blob = { .size = IV_SIZE, .data = (uint8_t*)IV } },
226 { .tag = HKS_TAG_IV, .blob = { .size = IV_SIZE, .data = (uint8_t*)IV } },
[all …]
/base/security/huks/test/unittest/huks_standard_test/three_stage_test/include/symmetric_alg_test/
Dhks_aes_cipher_test_common.h24 static const uint32_t IV_SIZE = 16; variable
29 static uint8_t IV[IV_SIZE] = {0};
/base/security/huks/test/unittest/huks_standard_test/three_stage_test/src/symmetric_alg_test/
Dhks_aes_cipher_part3_test.cpp101 .size = IV_SIZE,
128 .size = IV_SIZE,
174 .size = IV_SIZE,
201 .size = IV_SIZE,
379 .size = IV_SIZE,
406 .size = IV_SIZE,
453 .size = IV_SIZE,
480 .size = IV_SIZE,
527 .size = IV_SIZE,
554 .size = IV_SIZE,
[all …]
Dhks_aes_cipher_part2_test.cpp101 .size = IV_SIZE,
128 .size = IV_SIZE,
174 .size = IV_SIZE,
201 .size = IV_SIZE,
379 .size = IV_SIZE,
406 .size = IV_SIZE,
453 .size = IV_SIZE,
480 .size = IV_SIZE,
527 .size = IV_SIZE,
554 .size = IV_SIZE,
Dhks_aes_cipher_part1_test.cpp101 .size = IV_SIZE,
128 .size = IV_SIZE,
174 .size = IV_SIZE,
201 .size = IV_SIZE,
378 .size = IV_SIZE,
405 .size = IV_SIZE,
451 .size = IV_SIZE,
478 .size = IV_SIZE,
525 .size = IV_SIZE,
552 .size = IV_SIZE,
/base/web/webview/ohos_adapter/keystore_adapter/src/
Dkeystore_adapter_impl.cpp31 static const uint32_t IV_SIZE = 16; variable
32 static const uint8_t IV[IV_SIZE] = { 0 };
106 .size = IV_SIZE,
131 .size = IV_SIZE,
/base/security/huks/test/unittest/huks_standard_test/module_test/upgrade_key_test/src/
Dhks_upgrade_key_test.cpp65 static const uint32_t IV_SIZE = 16; variable
66 static uint8_t IV[IV_SIZE] = { 0 };
103 .size = IV_SIZE,
137 .size = IV_SIZE,
/base/security/huks/test/unittest/huks_standard_test/interface_inner_test/alg_module_test/include/
Dopenssl_aes_helper.h27 #define IV_SIZE 16 macro
/base/security/huks/test/unittest/huks_standard_test/three_stage_test/src/
Dhks_access_control_cipher_test.cpp84 { .tag = HKS_TAG_IV, .blob = { .size = IV_SIZE, .data = (uint8_t *)IV }},
115 { .tag = HKS_TAG_IV, .blob = { .size = IV_SIZE, .data = (uint8_t *)IV }},
146 { .tag = HKS_TAG_IV, .blob = { .size = IV_SIZE, .data = (uint8_t *)IV }},
205 { .tag = HKS_TAG_IV, .blob = { .size = IV_SIZE, .data = (uint8_t *)IV }},
559 { .tag = HKS_TAG_IV, .blob = { .size = IV_SIZE, .data = (uint8_t *)IV }},
586 { .tag = HKS_TAG_IV, .blob = { .size = IV_SIZE, .data = (uint8_t *)IV }},
/base/security/huks/test/unittest/huks_standard_test/crypto_engine_test/src/
Dhks_crypto_hal_aes_encrypt.cpp41 const uint32_t IV_SIZE = 16; variable
43 uint8_t IV[IV_SIZE] = {0};
44 HksCipherParam TAG_IV = { .iv = { .size = IV_SIZE, .data = IV } };
46 .nonce = { .size = IV_SIZE, .data = IV },
48 .tagLenEnc = IV_SIZE,
Dhks_crypto_hal_aes_cipher.cpp42 const uint32_t IV_SIZE = 16; variable
44 const uint8_t IV[IV_SIZE] = {0};
45 const HksCipherParam TAG_IV = { .iv = { .size = IV_SIZE, .data = (uint8_t *)IV } };
47 .nonce = { .size = IV_SIZE, .data = (uint8_t *)IV },
49 .tagLenEnc = IV_SIZE,
732 aeadParamForGcm.nonce = { .size = IV_SIZE, .data = (uint8_t *)IV }; in RunTestCaseThreeStageGCM()
780 aeadParamForGcm.nonce = { .size = IV_SIZE, .data = (uint8_t *)IV }; in RunTestCase()
Dhks_crypto_hal_aes_decrypt.cpp50 const uint32_t IV_SIZE = 16; variable
51 uint8_t IV[IV_SIZE] = {0};
52 HksCipherParam TAG_IV = { .iv = { .size = IV_SIZE, .data = IV } };
487 .nonce = { .size = IV_SIZE, .data = IV }, in GcmRunTestCase()
/base/security/huks/test/unittest/huks_lite_test/liteos_a_adapter/upgrade_test/version_one/module_test/src/
Dhks_compatibility_module_test.cpp65 static const uint32_t IV_SIZE = 16; variable
66 static uint8_t IV[IV_SIZE] = {0};
109 .size = IV_SIZE,
137 .size = IV_SIZE,
/base/security/huks/test/unittest/huks_lite_test/liteos_a_adapter/upgrade_test/version_one/
Dhks_compatibility_test.cpp66 static const uint32_t IV_SIZE = 16; variable
67 static uint8_t IV[IV_SIZE] = {0};
110 .size = IV_SIZE,
138 .size = IV_SIZE,
/base/security/huks/test/reliability/src/
Dapi_pressure_test.cpp40 const uint32_t IV_SIZE = 16; variable
117 uint8_t iv[IV_SIZE] = {0}; in AESModeRandForCiper()
133 tagIv = { .tag = HKS_TAG_IV, .blob = { .size = IV_SIZE, .data = iv } }; in AESModeRandForCiper()
138 tagIv = { .tag = HKS_TAG_IV, .blob = { .size = IV_SIZE, .data = iv } }; in AESModeRandForCiper()
141 tagIv = { .tag = HKS_TAG_IV, .blob = { .size = IV_SIZE, .data = iv } }; in AESModeRandForCiper()
153 tagIv = { .tag = HKS_TAG_NONCE, .blob = { .size = IV_SIZE, .data = iv } }; in AESModeRandForCiper()
1297 uint8_t iv[IV_SIZE] = {0};
1298 struct HksParam tagIv = { .tag = HKS_TAG_IV, .blob = { .size = IV_SIZE, .data = iv } };
1338 uint8_t iv[IV_SIZE] = {0};
1339 struct HksParam tagIv = { .tag = HKS_TAG_IV, .blob = { .size = IV_SIZE, .data = iv } };

12