Searched refs:nonceParam (Results 1 – 2 of 2) sorted by relevance
114 struct HksParam nonceParam = {0}; in ConstructParamSetEncryptDecryptAesPost() local115 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()
283 struct HksParam nonceParam = {0}; in TestAesCipherParamSetPost() local284 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()