Home
last modified time | relevance | path

Searched refs:HKS_AES_KEY_SIZE_128 (Results 1 – 25 of 37) sorted by relevance

12

/base/security/huks/test/unittest/huks_standard_test/three_stage_test/src/symmetric_alg_test/
Dhks_aes_cipher_part1_test.cpp70 .uint32Param = HKS_AES_KEY_SIZE_128
88 .uint32Param = HKS_AES_KEY_SIZE_128
115 .uint32Param = HKS_AES_KEY_SIZE_128
143 .uint32Param = HKS_AES_KEY_SIZE_128
161 .uint32Param = HKS_AES_KEY_SIZE_128
188 .uint32Param = HKS_AES_KEY_SIZE_128
216 .uint32Param = HKS_AES_KEY_SIZE_128
234 .uint32Param = HKS_AES_KEY_SIZE_128
273 .uint32Param = HKS_AES_KEY_SIZE_128
313 .uint32Param = HKS_AES_KEY_SIZE_128
[all …]
/base/security/huks/test/unittest/huks_standard_test/three_stage_test/src/
Dhks_import_key_test.cpp71 { .tag = HKS_TAG_KEY_SIZE, .uint32Param = HKS_AES_KEY_SIZE_128 },
75 .keySize = HKS_AES_KEY_SIZE_128 / HKS_BITS_PER_BYTE,
224 { .tag = HKS_TAG_KEY_SIZE, .uint32Param = HKS_AES_KEY_SIZE_128 },
227 .keySize = HKS_AES_KEY_SIZE_128 / HKS_BITS_PER_BYTE,
237 { .tag = HKS_TAG_KEY_SIZE, .uint32Param = HKS_AES_KEY_SIZE_128 },
240 .keySize = HKS_AES_KEY_SIZE_128 / HKS_BITS_PER_BYTE,
363 { .tag = HKS_TAG_KEY_SIZE, .uint32Param = HKS_AES_KEY_SIZE_128 },
376 { .tag = HKS_TAG_KEY_SIZE, .uint32Param = HKS_AES_KEY_SIZE_128 },
403 { .tag = HKS_TAG_KEY_SIZE, .uint32Param = HKS_AES_KEY_SIZE_128 },
406 .keySize = HKS_AES_KEY_SIZE_128 / HKS_BITS_PER_BYTE,
[all …]
Dhks_access_control_cipher_test.cpp69 { .tag = HKS_TAG_KEY_SIZE, .uint32Param = HKS_AES_KEY_SIZE_128 },
80 { .tag = HKS_TAG_KEY_SIZE, .uint32Param = HKS_AES_KEY_SIZE_128 },
131 { .tag = HKS_TAG_KEY_SIZE, .uint32Param = HKS_AES_KEY_SIZE_128 },
142 { .tag = HKS_TAG_KEY_SIZE, .uint32Param = HKS_AES_KEY_SIZE_128 },
190 { .tag = HKS_TAG_KEY_SIZE, .uint32Param = HKS_AES_KEY_SIZE_128 },
201 { .tag = HKS_TAG_KEY_SIZE, .uint32Param = HKS_AES_KEY_SIZE_128 },
556 { .tag = HKS_TAG_KEY_SIZE, .uint32Param = HKS_AES_KEY_SIZE_128 },
583 { .tag = HKS_TAG_KEY_SIZE, .uint32Param = HKS_AES_KEY_SIZE_128 },
Dhks_check_pur_part_test.cpp112 { .tag = HKS_TAG_KEY_SIZE, .uint32Param = HKS_AES_KEY_SIZE_128 },
121 { .tag = HKS_TAG_KEY_SIZE, .uint32Param = HKS_AES_KEY_SIZE_128 },
Dhks_check_auth_part_test.cpp68 { .tag = HKS_TAG_KEY_SIZE, .uint32Param = HKS_AES_KEY_SIZE_128 },
80 { .tag = HKS_TAG_KEY_SIZE, .uint32Param = HKS_AES_KEY_SIZE_128 },
268 { .tag = HKS_TAG_KEY_SIZE, .uint32Param = HKS_AES_KEY_SIZE_128 },
Dhks_hkdf_derive_part2_test.cpp88 .uint32Param = HKS_AES_KEY_SIZE_128
118 .uint32Param = HKS_AES_KEY_SIZE_128
148 .uint32Param = HKS_AES_KEY_SIZE_128
516 .uint32Param = HKS_AES_KEY_SIZE_128
Dhks_hkdf_derive_part1_test.cpp74 .uint32Param = HKS_AES_KEY_SIZE_128
128 .uint32Param = HKS_AES_KEY_SIZE_128
182 .uint32Param = HKS_AES_KEY_SIZE_128
/base/security/huks/frameworks/huks_standard/main/crypto_engine/openssl/src/
Dhks_openssl_sm4.c59 case HKS_KEY_BYTES(HKS_AES_KEY_SIZE_128): in GetSm4CbcCipherType()
69 case HKS_KEY_BYTES(HKS_AES_KEY_SIZE_128): in GetSm4CtrCipherType()
79 case HKS_KEY_BYTES(HKS_AES_KEY_SIZE_128): in GetSm4EcbCipherType()
Dhks_openssl_aes.c240 if ((spec->keyLen != HKS_AES_KEY_SIZE_128) && (spec->keyLen != HKS_AES_KEY_SIZE_192) && in AesGenKeyCheckParam()
260 case HKS_KEY_BYTES(HKS_AES_KEY_SIZE_128): in GetAesCbcCipherType()
274 case HKS_KEY_BYTES(HKS_AES_KEY_SIZE_128): in GetAesCtrCipherType()
288 case HKS_KEY_BYTES(HKS_AES_KEY_SIZE_128): in GetAesEcbCipherType()
302 case (HKS_AES_KEY_SIZE_128 / HKS_BITS_PER_BYTE): in GetGcmCipherType()
/base/security/huks/test/unittest/huks_standard_test/module_test/upgrade_key_test/src/
Dhks_upgrade_key_test.cpp74 .uint32Param = HKS_AES_KEY_SIZE_128
108 .uint32Param = HKS_AES_KEY_SIZE_128
133 .uint32Param = HKS_AES_KEY_SIZE_128
/base/security/huks/test/unittest/huks_standard_test/interface_inner_test/alg_module_test/src/
Dopenssl_aes_helper.c56 if (keyLen == HKS_AES_KEY_SIZE_128) { in AesCbcCrypt()
68 if (keyLen == HKS_AES_KEY_SIZE_128) { in AesEcbCrypt()
80 if (keyLen == HKS_AES_KEY_SIZE_128) { in AesCtrCrypt()
92 if (keyLen == HKS_AES_KEY_SIZE_128) { in AesGcmCrypt()
Dhks_aes_encrypt_mt.cpp50 { .tag = HKS_TAG_KEY_SIZE, .uint32Param = HKS_AES_KEY_SIZE_128 },
70 { .tag = HKS_TAG_KEY_SIZE, .uint32Param = HKS_AES_KEY_SIZE_128 },
90 { .tag = HKS_TAG_KEY_SIZE, .uint32Param = HKS_AES_KEY_SIZE_128 },
111 { .tag = HKS_TAG_KEY_SIZE, .uint32Param = HKS_AES_KEY_SIZE_128 },
131 { .tag = HKS_TAG_KEY_SIZE, .uint32Param = HKS_AES_KEY_SIZE_128 },
157 { .tag = HKS_TAG_KEY_SIZE, .uint32Param = HKS_AES_KEY_SIZE_128 },
Dhks_aes_cipher_mt.cpp54 { .tag = HKS_TAG_KEY_SIZE, .uint32Param = HKS_AES_KEY_SIZE_128 },
74 { .tag = HKS_TAG_KEY_SIZE, .uint32Param = HKS_AES_KEY_SIZE_128 },
94 { .tag = HKS_TAG_KEY_SIZE, .uint32Param = HKS_AES_KEY_SIZE_128 },
115 { .tag = HKS_TAG_KEY_SIZE, .uint32Param = HKS_AES_KEY_SIZE_128 },
135 { .tag = HKS_TAG_KEY_SIZE, .uint32Param = HKS_AES_KEY_SIZE_128 },
161 { .tag = HKS_TAG_KEY_SIZE, .uint32Param = HKS_AES_KEY_SIZE_128 },
Dhks_aes_decrypt_mt.cpp50 { .tag = HKS_TAG_KEY_SIZE, .uint32Param = HKS_AES_KEY_SIZE_128 },
70 { .tag = HKS_TAG_KEY_SIZE, .uint32Param = HKS_AES_KEY_SIZE_128 },
90 { .tag = HKS_TAG_KEY_SIZE, .uint32Param = HKS_AES_KEY_SIZE_128 },
111 { .tag = HKS_TAG_KEY_SIZE, .uint32Param = HKS_AES_KEY_SIZE_128 },
131 { .tag = HKS_TAG_KEY_SIZE, .uint32Param = HKS_AES_KEY_SIZE_128 },
158 { .tag = HKS_TAG_KEY_SIZE, .uint32Param = HKS_AES_KEY_SIZE_128 },
Dhks_aes_key_mt.cpp51 { .tag = HKS_TAG_KEY_SIZE, .uint32Param = HKS_AES_KEY_SIZE_128 },
71 { .tag = HKS_TAG_KEY_SIZE, .uint32Param = HKS_AES_KEY_SIZE_128 },
91 { .tag = HKS_TAG_KEY_SIZE, .uint32Param = HKS_AES_KEY_SIZE_128 },
112 { .tag = HKS_TAG_KEY_SIZE, .uint32Param = HKS_AES_KEY_SIZE_128 },
132 { .tag = HKS_TAG_KEY_SIZE, .uint32Param = HKS_AES_KEY_SIZE_128 },
153 { .tag = HKS_TAG_KEY_SIZE, .uint32Param = HKS_AES_KEY_SIZE_128 },
/base/security/huks/test/unittest/huks_standard_test/three_stage_test/include/
Dhks_cross_test.h32 .uint32Param = HKS_AES_KEY_SIZE_128
50 .uint32Param = HKS_AES_KEY_SIZE_128
77 .uint32Param = HKS_AES_KEY_SIZE_128
/base/security/huks/test/unittest/huks_standard_test/crypto_engine_test/src/
Dhks_crypto_hal_api_mbedtls.cpp71 .keyLen = HKS_AES_KEY_SIZE_128,
199 uint8_t buff[HKS_KEY_BYTES(HKS_AES_KEY_SIZE_128)] = {0};
223 uint8_t buff[HKS_KEY_BYTES(HKS_AES_KEY_SIZE_128)] = {0};
246 uint8_t buff[HKS_KEY_BYTES(HKS_AES_KEY_SIZE_128)] = {0};
269 uint8_t buff[HKS_KEY_BYTES(HKS_AES_KEY_SIZE_128)] = {0};
291 uint8_t buff[HKS_KEY_BYTES(HKS_AES_KEY_SIZE_128)] = {0};
Dhks_crypto_hal_aes_key.cpp41 .keyLen = HKS_AES_KEY_SIZE_128,
Dhks_crypto_hal_api_openssl.cpp72 .keyLen = HKS_AES_KEY_SIZE_128,
219 uint8_t buff[HKS_KEY_BYTES(HKS_AES_KEY_SIZE_128)] = {0};
255 uint8_t buff[HKS_KEY_BYTES(HKS_AES_KEY_SIZE_128)] = {0};
283 uint8_t buff[HKS_KEY_BYTES(HKS_AES_KEY_SIZE_128)] = {0};
698 uint8_t buff[HKS_KEY_BYTES(HKS_AES_KEY_SIZE_128)] = {0};
736 uint8_t buff[HKS_KEY_BYTES(HKS_AES_KEY_SIZE_128)] = {0};
809 uint8_t buff[HKS_KEY_BYTES(HKS_AES_KEY_SIZE_128)] = {0};
847 uint8_t buff[HKS_KEY_BYTES(HKS_AES_KEY_SIZE_128)] = {0};
Dhks_crypto_hal_aes_cipher.cpp56 .keyLen = HKS_AES_KEY_SIZE_128,
84 .keyLen = HKS_AES_KEY_SIZE_128,
107 .keyLen = HKS_AES_KEY_SIZE_128,
131 .keyLen = HKS_AES_KEY_SIZE_128,
152 .keyLen = HKS_AES_KEY_SIZE_128,
181 .keyLen = HKS_AES_KEY_SIZE_128,
/base/security/huks/utils/crypto_adapter/
Dhks_client_service_adapter_common.c93 if ((key->size != HKS_KEY_BYTES(HKS_AES_KEY_SIZE_128)) && in GetHksPubKeyInnerFormat()
/base/security/huks/test/unittest/huks_lite_test/liteos_a_adapter/upgrade_test/version_one/module_test/src/
Dhks_compatibility_module_test.cpp77 .uint32Param = HKS_AES_KEY_SIZE_128
96 .uint32Param = HKS_AES_KEY_SIZE_128
124 .uint32Param = HKS_AES_KEY_SIZE_128
/base/security/huks/test/reliability/src/
Dpressure_test.cpp43 { .tag = HKS_TAG_KEY_SIZE, .uint32Param = HKS_AES_KEY_SIZE_128 },
55 { .tag = HKS_TAG_KEY_SIZE, .uint32Param = HKS_AES_KEY_SIZE_128 },
579 { .tag = HKS_TAG_KEY_SIZE, .uint32Param = HKS_AES_KEY_SIZE_128 },
635 { .tag = HKS_TAG_KEY_SIZE, .uint32Param = HKS_AES_KEY_SIZE_128 },
757 { .tag = HKS_TAG_KEY_SIZE, .uint32Param = HKS_AES_KEY_SIZE_128 },
1063 … .blob = { .size = HKS_AES_KEY_SIZE_128, .data = (uint8_t *)HksMalloc(HKS_AES_KEY_SIZE_128) } };
1123 … .blob = { .size = HKS_AES_KEY_SIZE_128, .data = (uint8_t *)HksMalloc(HKS_AES_KEY_SIZE_128) } };
1299 … .blob = { .size = HKS_AES_KEY_SIZE_128, .data = (uint8_t *)HksMalloc(HKS_AES_KEY_SIZE_128) } };
/base/security/huks/test/unittest/huks_lite_test/liteos_a_adapter/upgrade_test/version_one/
Dhks_compatibility_test.cpp78 .uint32Param = HKS_AES_KEY_SIZE_128
97 .uint32Param = HKS_AES_KEY_SIZE_128
125 .uint32Param = HKS_AES_KEY_SIZE_128
/base/security/huks/interfaces/kits/liteapi/src/
Dhks_lite_api.cpp96 AddInt32PropertyInLite(keySize, "HUKS_AES_KEY_SIZE_128", HKS_AES_KEY_SIZE_128); in CreateHuksKeySize()

12