Searched refs:handleDecrypt (Results 1 – 4 of 4) sorted by relevance
/test/xts/acts/security/huks_napi_BasicTest/src/ |
D | huks_cipher_aes_test_common.cpp | 53 struct OH_Huks_Blob handleDecrypt = {sizeof(uint64_t), handleD}; in HksAesCipherTestDecrypt() local 54 … OH_Huks_Result ret = OH_Huks_InitSession(keyAlias, decryptParamSet, &handleDecrypt, nullptr); in HksAesCipherTestDecrypt() 61 ret = TestUpdateLoopFinish(&handleDecrypt, decryptParamSet, cipherText, plainText); in HksAesCipherTestDecrypt() 153 struct OH_Huks_Blob handleDecrypt = {sizeof(uint64_t), handleD}; in HksAesCipherTestCaseGcm2() local 154 ret = OH_Huks_InitSession(keyAlias, decryptParamSet, &handleDecrypt, nullptr); in HksAesCipherTestCaseGcm2() 160 ret = TestUpdateLoopFinish(&handleDecrypt, decryptParamSet, &cipherText, &plainText); in HksAesCipherTestCaseGcm2()
|
D | huks_cipher_sm4_test_common.cpp | 47 struct OH_Huks_Blob handleDecrypt = { sizeof(uint64_t), handleD }; in HksSm4CipherTestDecrypt() local 48 OH_Huks_Result ret = OH_Huks_InitSession(keyAlias, decryptParamSet, &handleDecrypt, nullptr); in HksSm4CipherTestDecrypt() 54 ret = TestUpdateLoopFinish(&handleDecrypt, decryptParamSet, cipherText, plainText); in HksSm4CipherTestDecrypt()
|
D | huks_cipher_aes_test.cpp | 267 struct OH_Huks_Blob handleDecrypt = { sizeof(uint64_t), handleD }; variable 268 ret = OH_Huks_InitSession(&keyAlias, decryptParamSet, &handleDecrypt, nullptr); 271 ret = HksTestUpdate(&handleDecrypt, decryptParamSet, &cipherText); 274 ret = OH_Huks_AbortSession(&handleDecrypt, decryptParamSet);
|
D | huks_cipher_rsa_test_common.cpp | 70 struct OH_Huks_Blob handleDecrypt = { sizeof(uint64_t), handleD }; in HksRsaCipherTestDecrypt() local 71 OH_Huks_Result ret = OH_Huks_InitSession(keyAlias, decryptParamSet, &handleDecrypt, nullptr); in HksRsaCipherTestDecrypt() 77 …ret = TestUpdateFinish(&handleDecrypt, decryptParamSet, OH_HUKS_KEY_PURPOSE_DECRYPT, cipherText, p… in HksRsaCipherTestDecrypt()
|