Home
last modified time | relevance | path

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

/test/xts/acts/security/huks/huks_napi_BasicTest/src/
Dhuks_warpped_test.cpp126 …d InitCommonTestParamsAndDoImport(struct HksImportWrappedKeyTestParams *importWrappedKeyTestParams, in InitCommonTestParamsAndDoImport() argument
129 importWrappedKeyTestParams->agreeKeyAlgName = &g_agreeKeyAlgNameBlob; in InitCommonTestParamsAndDoImport()
135 importWrappedKeyTestParams->genWrappingKeyParamSet = genX25519KeyParamSet; in InitCommonTestParamsAndDoImport()
136 importWrappedKeyTestParams->publicKeySize = g_x25519PubKeySize; in InitCommonTestParamsAndDoImport()
142 importWrappedKeyTestParams->genCallerKeyParamSet = genCallerKeyParamSet; in InitCommonTestParamsAndDoImport()
148 importWrappedKeyTestParams->importCallerKekParamSet = callerImportParamsKek; in InitCommonTestParamsAndDoImport()
153 importWrappedKeyTestParams->agreeParamSet = agreeParamSet; in InitCommonTestParamsAndDoImport()
158 importWrappedKeyTestParams->importWrappedKeyParamSet = importPlainKeyParams; in InitCommonTestParamsAndDoImport()
160 HksImportWrappedKeyTestCommonCase(importWrappedKeyTestParams); in InitCommonTestParamsAndDoImport()
161 HksClearKeysForWrappedKeyTest(importWrappedKeyTestParams); in InitCommonTestParamsAndDoImport()
/test/xts/acts/security/huks/huks_ndk_Test/entry/src/main/cpp/
Dutils.cpp468 …t InitCommonTestParamsAndDoImport(struct HksImportWrappedKeyTestParams* importWrappedKeyTestParams, in InitCommonTestParamsAndDoImport() argument
484 importWrappedKeyTestParams->genWrappingKeyParamSet = genX25519KeyParamSet; in InitCommonTestParamsAndDoImport()
485 importWrappedKeyTestParams->publicKeySize = g_x25519PubKeySize; in InitCommonTestParamsAndDoImport()
491 importWrappedKeyTestParams->genCallerKeyParamSet = genCallerKeyParamSet; in InitCommonTestParamsAndDoImport()
497 importWrappedKeyTestParams->importCallerKekParamSet = callerImportParamsKek; in InitCommonTestParamsAndDoImport()
502 importWrappedKeyTestParams->agreeParamSet = agreeParamSet; in InitCommonTestParamsAndDoImport()
507 importWrappedKeyTestParams->importWrappedKeyParamSet = importPlainKeyParams; in InitCommonTestParamsAndDoImport()
508 ret = HksImportWrappedKeyTestCommonCase(importWrappedKeyTestParams); in InitCommonTestParamsAndDoImport()
510 HksClearKeysForWrappedKeyTest(importWrappedKeyTestParams); in InitCommonTestParamsAndDoImport()