Home
last modified time | relevance | path

Searched refs:HKS_MODE_CCM (Results 1 – 10 of 10) sorted by relevance

/base/security/huks/test/unittest/huks_standard_test/module_test/framework_test/common_test/src/
Dhks_base_check_test.cpp290 struct Params modeParam = { true, HKS_MODE_CCM };
316 struct Params modeParam = { true, HKS_MODE_CCM };
/base/security/huks/frameworks/huks_standard/main/crypto_engine/mbedtls/src/
Dhks_mbedtls_aes.c1435 case HKS_MODE_CCM: in HksMbedtlsAesEncrypt()
1469 case HKS_MODE_CCM: in HksMbedtlsAesEncryptInit()
1502 case HKS_MODE_CCM: in HksMbedtlsAesEncryptUpdate()
1534 case HKS_MODE_CCM: in HksMbedtlsAesEncryptFinal()
1567 case HKS_MODE_CCM: in HksMbedtlsAesDecrypt()
1599 case HKS_MODE_CCM: in HksMbedtlsAesDecryptInit()
1629 case HKS_MODE_CCM: in HksMbedtlsAesDecryptUpdate()
1661 case HKS_MODE_CCM: in HksMbedtlsAesDecryptFinal()
1800 case HKS_MODE_CCM: in HksMbedtlsAesHalFreeCtx()
/base/security/huks/frameworks/huks_standard/main/common/src/
Dhks_base_check.c98 HKS_MODE_CCM,
1319 } else if ((alg == HKS_ALG_AES) && ((mode == HKS_MODE_GCM) || (mode == HKS_MODE_CCM))) { in CheckBlockCipherData()
1364 if ((mode == HKS_MODE_GCM) || (mode == HKS_MODE_CCM)) { in CheckAesPadding()
1413 if (mode == HKS_MODE_CCM) { in CheckCipherAeAadMaterial()
1436 } else if (mode == HKS_MODE_CCM) { in CheckCipherAeNonceMaterial()
1915 } else if ((mode == HKS_MODE_CCM) || (mode == HKS_MODE_GCM)) { in HksCheckCipherMaterialParams()
Dhks_common_check.c146 … *isAeMode = (modeParam->uint32Param == HKS_MODE_CCM) || (modeParam->uint32Param == HKS_MODE_GCM); in HksCheckAesAeMode()
/base/security/huks/test/unittest/huks_standard_test/three_stage_test/src/
Dhks_access_control_agree_test.cpp447 { .tag = HKS_TAG_BLOCK_MODE, .uint32Param = HKS_MODE_CCM },
/base/security/huks/interfaces/inner_api/huks_standard/main/include/
Dhks_type.h163 HKS_MODE_CCM = 31, enumerator
/base/security/huks/interfaces/kits/napi/src/
Dhuks_napi.cpp301 AddInt32Property(env, keyCipherMode, "HUKS_MODE_CCM", HKS_MODE_CCM); in CreateHuksCipherMode()
/base/security/device_auth/frameworks/deviceauth_lite/source/huks_adapter/
Dhuks_adapter.c1680 .uint32Param = HKS_MODE_CCM in init_aes_ccm_decrypt_key_params()
2094 .uint32Param = HKS_MODE_CCM in gen_derived_key_param_set()
/base/security/huks/test/unittest/huks_standard_test/module_test/interface_test/src/
Dhks_native_api_compatibility_test.cpp139 ASSERT_EQ((uint32_t)OH_HUKS_MODE_CCM == (uint32_t)HKS_MODE_CCM, true);
/base/security/huks/services/huks_standard/huks_engine/main/core/src/
Dhks_core_service_three_stage.c163 } else if ((alg == HKS_ALG_AES) && ((mode == HKS_MODE_GCM) || (mode == HKS_MODE_CCM))) { in CheckBlockCipherData()