Home
last modified time | relevance | path

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

/test/xts/acts/security/huks_napi_BasicTest/src/
Dhuks_three_stage_test_common.cpp462 struct OH_Huks_Blob handleBlob = {sizeof(uint64_t), handle}; in HuksEncrypt() local
463 OH_Huks_Result ret = OH_Huks_InitSession(key, paramSet, &handleBlob, nullptr); in HuksEncrypt()
469 ret = HksEncryptLoopUpdate(&handleBlob, paramSet, plainText, cipherText); in HuksEncrypt()
549 struct OH_Huks_Blob handleBlob = {sizeof(uint64_t), handle}; in HuksDecrypt() local
550 struct OH_Huks_Result result = OH_Huks_InitSession(key, paramSet, &handleBlob, nullptr); in HuksDecrypt()
556 OH_Huks_Result ret = HksDecryptLoopUpdate(&handleBlob, paramSet, cipherText, plainText); in HuksDecrypt()