Searched refs:ivParam (Results 1 – 8 of 8) sorted by relevance
/base/security/huks/services/huks_standard/huks_engine/main/core/src/ |
D | hks_chipset_platform_decrypt.c | 144 struct HksParam *ivParam = NULL; in DoAesDecrypt() local 145 ret = HksGetParam(paramSecureSet, HKS_TAG_IV, &ivParam); in DoAesDecrypt() 157 struct HksBlob iv = ivParam->blob; in DoAesDecrypt()
|
D | hks_sm_import_wrap_key.c | 431 struct HksBlob ivParam = { 0, NULL }; in DecryptImportedSmKey() local 433 HKS_IMPORT_WRAPPED_KEY_TOTAL_BLOBS, &ivParam); in DecryptImportedSmKey() 454 ret = BuildDecryptUsageSpecOfSmUnwrap(&ivParam, decOriginKeyUsageSpec); in DecryptImportedSmKey()
|
/base/security/huks/test/unittest/huks_standard_test/interface_inner_test/sdk_test/src/ |
D | hks_test_aes.c | 103 struct HksParam ivParam = {0}; in ConstructParamSetEncryptDecryptAesPost() local 104 ivParam.tag = HKS_TAG_IV; in ConstructParamSetEncryptDecryptAesPost() 105 ivParam.blob.data = g_iv; in ConstructParamSetEncryptDecryptAesPost() 106 ivParam.blob.size = sizeof(g_iv); in ConstructParamSetEncryptDecryptAesPost() 107 ret = HksAddParams(*paramSet, (const struct HksParam *)&ivParam, 1); in ConstructParamSetEncryptDecryptAesPost()
|
D | hks_test_common.c | 265 struct HksParam ivParam = {0}; in TestAesCipherParamSetPre() local 266 ivParam.tag = HKS_TAG_IV; in TestAesCipherParamSetPre() 267 ivParam.blob = *(paramStruct->ivBlob); in TestAesCipherParamSetPre() 268 ret = HksAddParams(paramSet, (const struct HksParam *)&ivParam, 1); in TestAesCipherParamSetPre()
|
/base/security/huks/test/unittest/huks_lite_test/common/ |
D | hks_test_aes.c | 104 struct HksParam ivParam = {0}; in ConstructParamSetEncryptDecryptAesPost() local 105 ivParam.tag = HKS_TAG_IV; in ConstructParamSetEncryptDecryptAesPost() 106 ivParam.blob.data = g_iv; in ConstructParamSetEncryptDecryptAesPost() 107 ivParam.blob.size = sizeof(g_iv); in ConstructParamSetEncryptDecryptAesPost() 108 ret = HksAddParams(*paramSet, (const struct HksParam *)&ivParam, 1); in ConstructParamSetEncryptDecryptAesPost()
|
D | hks_test_common.c | 268 struct HksParam ivParam = {0}; in TestAesCipherParamSetPre() local 269 ivParam.tag = HKS_TAG_IV; in TestAesCipherParamSetPre() 270 ivParam.blob = *(paramStruct->ivBlob); in TestAesCipherParamSetPre() 271 ret = HksAddParams(paramSet, (const struct HksParam *)&ivParam, 1); in TestAesCipherParamSetPre()
|
/base/security/huks/frameworks/huks_standard/main/common/src/ |
D | hks_crypto_adapter.c | 150 struct HksParam *ivParam = NULL; in HksFillIvParam() local 151 int32_t ret = HksGetParam(paramSet, HKS_TAG_IV, &ivParam); in HksFillIvParam() 157 param->iv = ivParam->blob; in HksFillIvParam()
|
D | hks_base_check.c | 1331 struct HksParam *ivParam = NULL; in CheckBlockCipherIvMaterial() local 1332 int32_t ret = HksGetParam(paramSet, HKS_TAG_IV, &ivParam); in CheckBlockCipherIvMaterial() 1335 if ((ivParam->blob.size != HKS_BLOCK_CIPHER_CBC_IV_LEN) || (ivParam->blob.data == NULL)) { in CheckBlockCipherIvMaterial()
|