Searched refs:keyBlob (Results 1 – 3 of 3) sorted by relevance
/test/xts/acts/security/cryptoFramework/js_api_test_oh41/src/main/ets/test/ |
D | HmacOptParameter.test.ets | 189 let keyBlob = { 193 let retData = await digCallback.HmacAnyLengthKeyDigestProcess("SHA512", keyBlob); 218 let keyBlob = { 222 await digCallback.HmacAnyLengthKeyDigestProcess("SM3", keyBlob); 238 let keyBlob = { 242 await digCallback.HmacAnyLengthKeyDigestProcess("SM3", keyBlob); 396 let keyBlob = { 400 let retData = await digPromise.HmacAnyLengthKeyDigestProcess("SHA384", keyBlob); 425 let keyBlob = { 429 await digPromise.HmacAnyLengthKeyDigestProcess("SHA256", keyBlob); [all …]
|
/test/xts/acts/security_lite/huks/common/ |
D | hks_test_aes.c | 531 struct HksBlob keyBlob; in TestAes256ByLocal() local 537 keyBlob.data = (uint8_t *)(testKey); in TestAes256ByLocal() 538 keyBlob.size = sizeof(testKey); in TestAes256ByLocal() 560 HKS_TEST_ASSERT(HksEncrypt(&keyBlob, paramSet, &plainText1, &cipherText1) == 0); in TestAes256ByLocal() 580 ret = HksDecrypt(&keyBlob, paramSet, &cipherText, &plainText); in TestAes256ByLocal()
|
/test/xts/acts/security_lite/huks/liteos_m_adapter/ |
D | hks_mac_test.c | 155 struct HksBlob keyBlob = { 32, mainKeyByte }; in BaseTestMacAnswer() local 175 ret = HksMac(&keyBlob, paramSet, &srcBlob, &hmacBlob); in BaseTestMacAnswer()
|