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/ |
D | hks_base_check_test.cpp | 290 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/ |
D | hks_mbedtls_aes.c | 1435 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/ |
D | hks_base_check.c | 98 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()
|
D | hks_common_check.c | 146 … *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/ |
D | hks_access_control_agree_test.cpp | 447 { .tag = HKS_TAG_BLOCK_MODE, .uint32Param = HKS_MODE_CCM },
|
/base/security/huks/interfaces/inner_api/huks_standard/main/include/ |
D | hks_type.h | 163 HKS_MODE_CCM = 31, enumerator
|
/base/security/huks/interfaces/kits/napi/src/ |
D | huks_napi.cpp | 301 AddInt32Property(env, keyCipherMode, "HUKS_MODE_CCM", HKS_MODE_CCM); in CreateHuksCipherMode()
|
/base/security/device_auth/frameworks/deviceauth_lite/source/huks_adapter/ |
D | huks_adapter.c | 1680 .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/ |
D | hks_native_api_compatibility_test.cpp | 139 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/ |
D | hks_core_service_three_stage.c | 163 } else if ((alg == HKS_ALG_AES) && ((mode == HKS_MODE_GCM) || (mode == HKS_MODE_CCM))) { in CheckBlockCipherData()
|