Home
last modified time | relevance | path

Searched refs:nonceParam (Results 1 – 2 of 2) sorted by relevance

/test/xts/acts/security_lite/huks/common/
Dhks_test_aes.c114 struct HksParam nonceParam = {0}; in ConstructParamSetEncryptDecryptAesPost() local
115 nonceParam.tag = HKS_TAG_NONCE; in ConstructParamSetEncryptDecryptAesPost()
116 nonceParam.blob.data = g_nonce; in ConstructParamSetEncryptDecryptAesPost()
117 nonceParam.blob.size = sizeof(g_nonce); in ConstructParamSetEncryptDecryptAesPost()
118 ret = HksAddParams(*paramSet, (const struct HksParam *)&nonceParam, 1); in ConstructParamSetEncryptDecryptAesPost()
Dhks_test_common.c283 struct HksParam nonceParam = {0}; in TestAesCipherParamSetPost() local
284 nonceParam.tag = HKS_TAG_NONCE; in TestAesCipherParamSetPost()
285 nonceParam.blob = *(paramStruct->nonceBlob); in TestAesCipherParamSetPost()
286 ret = HksAddParams(paramSet, (const struct HksParam *)&nonceParam, 1); in TestAesCipherParamSetPost()