Home
last modified time | relevance | path

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

/test/xts/acts/security/huks_napi_BasicTest/src/
Dhuks_cipher_rsa_test_common.cpp24 struct OH_Huks_Blob handleEncrypt = { sizeof(uint64_t), handleE }; in HksRsaCipherTestEncryptAbnormal() local
25 OH_Huks_Result ret = OH_Huks_InitSession(keyAlias, encryptParamSet, &handleEncrypt, nullptr); in HksRsaCipherTestEncryptAbnormal()
31 …ret = TestUpdateFinish(&handleEncrypt, encryptParamSet, OH_HUKS_KEY_PURPOSE_ENCRYPT, inData, ciphe… in HksRsaCipherTestEncryptAbnormal()
34 OH_Huks_Result abortRet = OH_Huks_AbortSession(&handleEncrypt, encryptParamSet); in HksRsaCipherTestEncryptAbnormal()
48 struct OH_Huks_Blob handleEncrypt = { sizeof(uint64_t), handleE }; in HksRsaCipherTestEncrypt() local
49 OH_Huks_Result ret = OH_Huks_InitSession(keyAlias, encryptParamSet, &handleEncrypt, nullptr); in HksRsaCipherTestEncrypt()
55 …ret = TestUpdateFinish(&handleEncrypt, encryptParamSet, OH_HUKS_KEY_PURPOSE_ENCRYPT, inData, ciphe… in HksRsaCipherTestEncrypt()
Dhuks_cipher_sm4_test_common.cpp25 struct OH_Huks_Blob handleEncrypt = { sizeof(uint64_t), handleE }; in HksSm4CipherTestEncrypt() local
26 OH_Huks_Result ret = OH_Huks_InitSession(keyAlias, encryptParamSet, &handleEncrypt, nullptr); in HksSm4CipherTestEncrypt()
32 ret = TestUpdateLoopFinish(&handleEncrypt, encryptParamSet, inData, cipherText); in HksSm4CipherTestEncrypt()
Dhuks_cipher_aes_test_common.cpp28 struct OH_Huks_Blob handleEncrypt = {sizeof(uint64_t), handleE}; in HksAesCipherTestEncrypt() local
29 … OH_Huks_Result ret = OH_Huks_InitSession(keyAlias, encryptParamSet, &handleEncrypt, nullptr); in HksAesCipherTestEncrypt()
36 ret = TestUpdateLoopFinish(&handleEncrypt, encryptParamSet, inData, cipherText); in HksAesCipherTestEncrypt()
Dhuks_cipher_aes_test.cpp252 struct OH_Huks_Blob handleEncrypt = { sizeof(uint64_t), handleE }; variable
253 ret = OH_Huks_InitSession(&keyAlias, encryptParamSet, &handleEncrypt, nullptr);
258 ret = TestUpdateLoopFinish(&handleEncrypt, encryptParamSet, &inData, &cipherText);