/base/security/huks/frameworks/huks_standard/main/crypto_engine/openssl/src/ |
D | hks_openssl_sm4.c | 99 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()
|
D | hks_openssl_aes.c | 48 } 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/ |
D | hks_crypto_hal_aes_encrypt.cpp | 84 .mode = HKS_MODE_CTR, 178 .mode = HKS_MODE_CTR, 272 .mode = HKS_MODE_CTR,
|
D | hks_crypto_hal_aes_decrypt.cpp | 86 .mode = HKS_MODE_CTR, 173 .mode = HKS_MODE_CTR, 260 .mode = HKS_MODE_CTR,
|
D | hks_crypto_hal_aes_cipher.cpp | 111 .mode = HKS_MODE_CTR, 257 .mode = HKS_MODE_CTR, 394 .mode = HKS_MODE_CTR,
|
D | hks_crypto_hal_api_openssl.cpp | 229 spec.mode = HKS_MODE_CTR;
|
/base/security/huks/test/unittest/huks_standard_test/three_stage_test/src/ |
D | hks_import_key_test.cpp | 134 { .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 },
|
D | hks_aes_cipher_part2_test.cpp | 344 .uint32Param = HKS_MODE_CTR 362 .uint32Param = HKS_MODE_CTR 389 .uint32Param = HKS_MODE_CTR
|
D | hks_aes_cipher_part1_test.cpp | 343 .uint32Param = HKS_MODE_CTR 361 .uint32Param = HKS_MODE_CTR 388 .uint32Param = HKS_MODE_CTR
|
D | hks_sm4_cipher_part_test.cpp | 106 .uint32Param = HKS_MODE_CTR 228 .uint32Param = HKS_MODE_CTR 378 .uint32Param = HKS_MODE_CTR
|
D | hks_aes_cipher_part3_test.cpp | 344 .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/ |
D | hks_mbedtls_aes.c | 1398 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/ |
D | hks_aes_key_mt.cpp | 97 { .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 },
|
D | hks_aes_decrypt_mt.cpp | 96 { .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 },
|
D | hks_aes_cipher_mt.cpp | 96 { .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 },
|
D | hks_aes_encrypt_mt.cpp | 96 { .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 },
|
D | openssl_aes_helper.c | 114 } else if (mode->uint32Param == HKS_MODE_CTR) { in AesInit()
|
/base/security/huks/frameworks/huks_standard/main/common/src/ |
D | hks_base_check.c | 99 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/ |
D | hks_type.h | 133 HKS_MODE_CTR = 3, enumerator
|
/base/security/huks/test/unittest/huks_standard_test/interface_inner_test/sdk_test/src/ |
D | hks_inner_test.cpp | 83 {.needCheck = true, .value = HKS_MODE_CTR},
|
/base/security/huks/interfaces/kits/napi/src/ |
D | huks_napi.cpp | 292 AddInt32Property(env, keyCipherMode, "HUKS_MODE_CTR", HKS_MODE_CTR); in CreateHuksCipherMode()
|
/base/security/huks/test/reliability/src/ |
D | api_pressure_test.cpp | 96 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/ |
D | hks_native_api_compatibility_test.cpp | 134 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/ |
D | hks_core_service_three_stage.c | 164 ((mode == HKS_MODE_CBC) || (mode == HKS_MODE_CTR) || (mode == HKS_MODE_ECB))) { in CheckBlockCipherData()
|