Home
last modified time | relevance | path

Searched refs:HKS_MODE_CTR (Results 1 – 24 of 24) sorted by relevance

/base/security/huks/frameworks/huks_standard/main/crypto_engine/openssl/src/
Dhks_openssl_sm4.c99 case HKS_MODE_CTR: in HksOpensslSm4EncryptInit()
127 case HKS_MODE_CTR: in HksOpensslSm4EncryptUpdate()
155 case HKS_MODE_CTR: in HksOpensslSm4EncryptFinal()
176 case HKS_MODE_CTR: in HksOpensslSm4DecryptInit()
198 case HKS_MODE_CTR: in HksOpensslSm4DecryptUpdate()
224 case HKS_MODE_CTR: in HksOpensslSm4DecryptFinal()
252 case HKS_MODE_CTR: in HksOpensslSm4HalFreeCtx()
Dhks_openssl_aes.c48 } else if (mode == HKS_MODE_CTR) { in GetBlockCipherType()
794 case HKS_MODE_CTR: in HksOpensslAesEncryptInit()
827 case HKS_MODE_CTR: in HksOpensslAesEncryptUpdate()
861 case HKS_MODE_CTR: in HksOpensslAesEncryptFinal()
887 case HKS_MODE_CTR: in HksOpensslAesDecryptInit()
914 case HKS_MODE_CTR: in HksOpensslAesDecryptUpdate()
947 case HKS_MODE_CTR: in HksOpensslAesDecryptFinal()
983 case HKS_MODE_CTR: in HksOpensslAesHalFreeCtx()
1022 case HKS_MODE_CTR: in HksOpensslAesEncrypt()
1060 case HKS_MODE_CTR: in HksOpensslAesDecrypt()
/base/security/huks/test/unittest/huks_standard_test/crypto_engine_test/src/
Dhks_crypto_hal_aes_encrypt.cpp84 .mode = HKS_MODE_CTR,
178 .mode = HKS_MODE_CTR,
272 .mode = HKS_MODE_CTR,
Dhks_crypto_hal_aes_decrypt.cpp86 .mode = HKS_MODE_CTR,
173 .mode = HKS_MODE_CTR,
260 .mode = HKS_MODE_CTR,
Dhks_crypto_hal_aes_cipher.cpp111 .mode = HKS_MODE_CTR,
257 .mode = HKS_MODE_CTR,
394 .mode = HKS_MODE_CTR,
Dhks_crypto_hal_api_openssl.cpp229 spec.mode = HKS_MODE_CTR;
/base/security/huks/test/unittest/huks_standard_test/three_stage_test/src/
Dhks_import_key_test.cpp134 { .tag = HKS_TAG_BLOCK_MODE, .uint32Param = HKS_MODE_CTR },
308 { .tag = HKS_TAG_BLOCK_MODE, .uint32Param = HKS_MODE_CTR },
322 { .tag = HKS_TAG_BLOCK_MODE, .uint32Param = HKS_MODE_CTR },
431 { .tag = HKS_TAG_BLOCK_MODE, .uint32Param = HKS_MODE_CTR },
445 { .tag = HKS_TAG_BLOCK_MODE, .uint32Param = HKS_MODE_CTR },
Dhks_aes_cipher_part2_test.cpp344 .uint32Param = HKS_MODE_CTR
362 .uint32Param = HKS_MODE_CTR
389 .uint32Param = HKS_MODE_CTR
Dhks_aes_cipher_part1_test.cpp343 .uint32Param = HKS_MODE_CTR
361 .uint32Param = HKS_MODE_CTR
388 .uint32Param = HKS_MODE_CTR
Dhks_sm4_cipher_part_test.cpp106 .uint32Param = HKS_MODE_CTR
228 .uint32Param = HKS_MODE_CTR
378 .uint32Param = HKS_MODE_CTR
Dhks_aes_cipher_part3_test.cpp344 .uint32Param = HKS_MODE_CTR
362 .uint32Param = HKS_MODE_CTR
389 .uint32Param = HKS_MODE_CTR
/base/security/huks/frameworks/huks_standard/main/crypto_engine/mbedtls/src/
Dhks_mbedtls_aes.c1398 case HKS_MODE_CTR: in HksMbedtlsAesEncrypt()
1432 case HKS_MODE_CTR: in HksMbedtlsAesEncryptInit()
1465 case HKS_MODE_CTR: in HksMbedtlsAesEncryptUpdate()
1497 case HKS_MODE_CTR: in HksMbedtlsAesEncryptFinal()
1530 case HKS_MODE_CTR: in HksMbedtlsAesDecrypt()
1562 case HKS_MODE_CTR: in HksMbedtlsAesDecryptInit()
1592 case HKS_MODE_CTR: in HksMbedtlsAesDecryptUpdate()
1624 case HKS_MODE_CTR: in HksMbedtlsAesDecryptFinal()
1763 case HKS_MODE_CTR: in HksMbedtlsAesHalFreeCtx()
/base/security/huks/test/unittest/huks_standard_test/interface_inner_test/alg_module_test/src/
Dhks_aes_key_mt.cpp97 { .tag = HKS_TAG_BLOCK_MODE, .uint32Param = HKS_MODE_CTR },
218 { .tag = HKS_TAG_BLOCK_MODE, .uint32Param = HKS_MODE_CTR },
339 { .tag = HKS_TAG_BLOCK_MODE, .uint32Param = HKS_MODE_CTR },
Dhks_aes_decrypt_mt.cpp96 { .tag = HKS_TAG_BLOCK_MODE, .uint32Param = HKS_MODE_CTR },
223 { .tag = HKS_TAG_BLOCK_MODE, .uint32Param = HKS_MODE_CTR },
350 { .tag = HKS_TAG_BLOCK_MODE, .uint32Param = HKS_MODE_CTR },
Dhks_aes_cipher_mt.cpp96 { .tag = HKS_TAG_BLOCK_MODE, .uint32Param = HKS_MODE_CTR },
222 { .tag = HKS_TAG_BLOCK_MODE, .uint32Param = HKS_MODE_CTR },
348 { .tag = HKS_TAG_BLOCK_MODE, .uint32Param = HKS_MODE_CTR },
Dhks_aes_encrypt_mt.cpp96 { .tag = HKS_TAG_BLOCK_MODE, .uint32Param = HKS_MODE_CTR },
222 { .tag = HKS_TAG_BLOCK_MODE, .uint32Param = HKS_MODE_CTR },
348 { .tag = HKS_TAG_BLOCK_MODE, .uint32Param = HKS_MODE_CTR },
Dopenssl_aes_helper.c114 } else if (mode->uint32Param == HKS_MODE_CTR) { in AesInit()
/base/security/huks/frameworks/huks_standard/main/common/src/
Dhks_base_check.c99 HKS_MODE_CTR,
134 HKS_MODE_CTR,
1227 ((mode == HKS_MODE_CBC) || (mode == HKS_MODE_CTR) || (mode == HKS_MODE_ECB))) { in CheckBlockCipherData()
1269 if (mode == HKS_MODE_CTR) { in CheckAesPadding()
1384 if (mode == HKS_MODE_CTR) { in CheckSm4Padding()
/base/security/huks/interfaces/innerkits/huks_standard/main/include/
Dhks_type.h133 HKS_MODE_CTR = 3, enumerator
/base/security/huks/test/unittest/huks_standard_test/interface_inner_test/sdk_test/src/
Dhks_inner_test.cpp83 {.needCheck = true, .value = HKS_MODE_CTR},
/base/security/huks/interfaces/kits/napi/src/
Dhuks_napi.cpp292 AddInt32Property(env, keyCipherMode, "HUKS_MODE_CTR", HKS_MODE_CTR); in CreateHuksCipherMode()
/base/security/huks/test/reliability/src/
Dapi_pressure_test.cpp96 const struct HksParam g_PARAM_MODE_CTR = { .tag = HKS_TAG_BLOCK_MODE, .uint32Param = HKS_MODE_CTR };
136 } else if (paramMode[indexOfMode]->uint32Param == HKS_MODE_CTR) { in AESModeRandForCiper()
/base/security/huks/test/unittest/huks_standard_test/module_test/interface_test/src/
Dhks_native_api_compatibility_test.cpp134 ASSERT_EQ((uint32_t)OH_HUKS_MODE_CTR == (uint32_t)HKS_MODE_CTR, true);
/base/security/huks/services/huks_standard/huks_engine/main/core/src/
Dhks_core_service_three_stage.c164 ((mode == HKS_MODE_CBC) || (mode == HKS_MODE_CTR) || (mode == HKS_MODE_ECB))) { in CheckBlockCipherData()