Home
last modified time | relevance | path

Searched refs:IV_SIZE (Results 1 - 25 of 43) sorted by relevance

12

/base/security/huks/test/unittest/huks_standard_test/three_stage_test/include/
H A Dhks_check_pur_part_test.h29 static const uint32_t IV_SIZE = 16; member
30 static uint8_t IV[IV_SIZE] = {0};
H A Dhks_check_auth_part_test.h29 static const uint32_t IV_SIZE = 16; member
30 static uint8_t IV[IV_SIZE] = {0};
H A Dhks_sm4_cipher_test_common.h24 static const uint32_t IV_SIZE = 16; member
30 static uint8_t IV[IV_SIZE] = {0};
H A Dhks_import_wrapped_test_common.h44 static const uint32_t IV_SIZE = 16; member
45 static uint8_t IV[IV_SIZE] = "bababababababab";
H A Dhks_access_control_test_common.h61 static const uint32_t IV_SIZE = 16; member
85 static uint8_t IV[IV_SIZE] = {0};
H A Dhks_cross_test_common.h35 static const uint32_t IV_SIZE = 16; member
37 static uint8_t IV[IV_SIZE] = {0};
H A 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/
H A 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,
[all...]
H A 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,
[all...]
H A 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,
[all...]
H A Dhks_aes_decrypt_mt.cpp43 const uint8_t IV[IV_SIZE] = {0};
59 .blob = { .size = IV_SIZE, .data = (uint8_t*)IV } },
81 .blob = { .size = IV_SIZE, .data = (uint8_t*)IV } },
103 .blob = { .size = IV_SIZE, .data = (uint8_t*)IV } },
126 .blob = { .size = IV_SIZE, .data = (uint8_t*)IV } },
148 .blob = { .size = IV_SIZE, .data = (uint8_t*)IV } },
176 { .tag = HKS_TAG_NONCE, .blob = { .size = IV_SIZE, .data = (uint8_t*)IV } },
200 .blob = { .size = IV_SIZE, .data = (uint8_t*)IV } },
222 .blob = { .size = IV_SIZE, .data = (uint8_t*)IV } },
244 .blob = { .size = IV_SIZE,
[all...]
/base/security/huks/test/unittest/huks_common_test/include/
H A Dhks_compatibility_test_c.h35 .size = IV_SIZE, \
/base/security/huks/test/unittest/huks_standard_test/three_stage_test/include/symmetric_alg_test/
H A Dhks_aes_cipher_test_common.h24 static const uint32_t IV_SIZE = 16; member
29 static uint8_t IV[IV_SIZE] = {0};
/base/security/huks/test/unittest/huks_standard_test/module_test/upgrade_key_test/src/
H A Dhks_upgrade_key_test.cpp61 static const uint32_t IV_SIZE = 16; member
62 static uint8_t IV[IV_SIZE] = { 0 };
99 .size = IV_SIZE,
133 .size = IV_SIZE,
/base/web/webview/ohos_adapter/keystore_adapter/src/
H A Dkeystore_adapter_impl.cpp31 static const uint32_t IV_SIZE = 16; member
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/three_stage_test/src/symmetric_alg_test/
H A Dhks_aes_cipher_part1_test.cpp96 .size = IV_SIZE,
123 .size = IV_SIZE,
169 .size = IV_SIZE,
196 .size = IV_SIZE,
295 .size = IV_SIZE,
322 .size = IV_SIZE,
368 .size = IV_SIZE,
395 .size = IV_SIZE,
442 .size = IV_SIZE,
469 .size = IV_SIZE,
[all...]
H A Dhks_aes_cipher_part2_test.cpp96 .size = IV_SIZE,
123 .size = IV_SIZE,
169 .size = IV_SIZE,
196 .size = IV_SIZE,
296 .size = IV_SIZE,
323 .size = IV_SIZE,
370 .size = IV_SIZE,
397 .size = IV_SIZE,
444 .size = IV_SIZE,
471 .size = IV_SIZE,
[all...]
H A Dhks_aes_cipher_part3_test.cpp97 .size = IV_SIZE,
124 .size = IV_SIZE,
170 .size = IV_SIZE,
197 .size = IV_SIZE,
297 .size = IV_SIZE,
324 .size = IV_SIZE,
371 .size = IV_SIZE,
398 .size = IV_SIZE,
445 .size = IV_SIZE,
472 .size = IV_SIZE,
[all...]
/base/security/huks/test/unittest/huks_standard_test/interface_inner_test/alg_module_test/include/
H A Dopenssl_aes_helper.h27 #define IV_SIZE 16 macro
/base/security/huks/test/unittest/huks_standard_test/three_stage_test/src/
H A Dhks_access_control_user_mode_test.cpp80 { .tag = HKS_TAG_IV, .blob = { .size = IV_SIZE, .data = (uint8_t *)IV }},
112 { .tag = HKS_TAG_IV, .blob = { .size = IV_SIZE, .data = (uint8_t *)IV }},
144 { .tag = HKS_TAG_IV, .blob = { .size = IV_SIZE, .data = (uint8_t *)IV }},
173 { .tag = HKS_TAG_IV, .blob = { .size = IV_SIZE, .data = (uint8_t *)IV }},
H A Dhks_access_control_cipher_test.cpp79 { .tag = HKS_TAG_IV, .blob = { .size = IV_SIZE, .data = (uint8_t *)IV }},
110 { .tag = HKS_TAG_IV, .blob = { .size = IV_SIZE, .data = (uint8_t *)IV }},
141 { .tag = HKS_TAG_IV, .blob = { .size = IV_SIZE, .data = (uint8_t *)IV }},
202 { .tag = HKS_TAG_IV, .blob = { .size = IV_SIZE, .data = (uint8_t *)IV }},
556 { .tag = HKS_TAG_IV, .blob = { .size = IV_SIZE, .data = (uint8_t *)IV }}, in HWTEST_F()
583 { .tag = HKS_TAG_IV, .blob = { .size = IV_SIZE, .data = (uint8_t *)IV }}, in HWTEST_F()
H A Dhks_batch_test.cpp103 .size = AesCipher::IV_SIZE,
215 .size = AesCipher::IV_SIZE,
328 .size = AesCipher::IV_SIZE,
481 .size = AesCipher::IV_SIZE,
593 .size = AesCipher::IV_SIZE,
705 .size = AesCipher::IV_SIZE,
/base/security/huks/test/unittest/huks_standard_test/crypto_engine_test/src/
H A Dhks_crypto_hal_aes_encrypt.cpp41 const uint32_t IV_SIZE = 16; member
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,
H A Dhks_crypto_hal_aes_decrypt.cpp50 const uint32_t IV_SIZE = 16; member
51 uint8_t IV[IV_SIZE] = {0};
52 HksCipherParam TAG_IV = { .iv = { .size = IV_SIZE, .data = IV } };
486 .nonce = { .size = IV_SIZE, .data = IV }, in GcmRunTestCase()
H A Dhks_crypto_hal_aes_cipher.cpp42 const uint32_t IV_SIZE = 16; member
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()

Completed in 15 milliseconds

12