Searched refs:outSharedKey (Results 1 – 3 of 3) sorted by relevance
| /test/xts/acts/security/huks/huks_napi_BasicTest/src/ |
| D | huks_wrapped_test_common.cpp | 136 … const struct OH_Huks_Blob *huksPublicKey, struct OH_Huks_Blob *outSharedKey) in ImportKekAndAgreeSharedSecret() argument 141 …EXPECT_EQ(MallocAndCheckBlobData(outSharedKey, outSharedKey->size).errorCode, (int32_t)OH_HUKS_SUC… in ImportKekAndAgreeSharedSecret() 144 ret = HuksAgreeKey(params->agreeParamSet, params->callerKeyAlias, huksPublicKey, outSharedKey); in ImportKekAndAgreeSharedSecret() 153 ret = OH_Huks_ImportKeyItem(params->callerAgreeKeyAlias, importAgreeKeyParams, outSharedKey); in ImportKekAndAgreeSharedSecret() 230 …struct OH_Huks_Blob outSharedKey = {.size = OH_HUKS_KEY_BYTES(OH_HUKS_AES_KEY_SIZE_256), .data = n… in HksImportWrappedKeyTestCommonCase() local 239 ImportKekAndAgreeSharedSecret(params, &huksPublicKey, &outSharedKey); in HksImportWrappedKeyTestCommonCase() 245 HUKS_FREE_BLOB(outSharedKey); in HksImportWrappedKeyTestCommonCase()
|
| /test/xts/acts/security/huks/huks_ndk_Test/entry/src/main/cpp/ |
| D | utils.cpp | 341 struct OH_Huks_Blob* outSharedKey) in ImportKekAndAgreeSharedSecret() argument 348 ret = MallocAndCheckBlobData(outSharedKey, outSharedKey->size); in ImportKekAndAgreeSharedSecret() 352 ret = HuksAgreeKey(params->agreeParamSet, params->callerKeyAlias, huksPublicKey, outSharedKey); in ImportKekAndAgreeSharedSecret() 362 ret = OH_Huks_ImportKeyItem(params->callerAgreeKeyAlias, importAgreeKeyParams, outSharedKey); in ImportKekAndAgreeSharedSecret() 425 …struct OH_Huks_Blob outSharedKey = {.size = OH_HUKS_KEY_BYTES(OH_HUKS_AES_KEY_SIZE_256), .data = n… in HksImportWrappedKeyTestCommonCase() local 440 ret = ImportKekAndAgreeSharedSecret(params, &huksPublicKey, &outSharedKey); in HksImportWrappedKeyTestCommonCase() 452 HUKS_FREE_BLOB(outSharedKey); in HksImportWrappedKeyTestCommonCase()
|
| /test/xts/acts/security/huks/security_huks_reformed_test/huks_hmac_callback_BasicTest/entry/src/ohosTest/js/test/HMAC/ |
| D | SecurityHuksImportJsunit.test.js | 42 let outSharedKey; variable 920 let outSharedKey; 941 outSharedKey = data.outData; 951 return outSharedKey; 956 outSharedKey = await agreeFunction(callerKeyAlias, agreeParams, huksPublicKey); 958 importParamsAgreeKey.inData = outSharedKey;
|