Home
last modified time | relevance | path

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

/base/security/huks/test/reliability/src/
Dapi_pressure_test.cpp795 HksBlob shaMessage = { .size = MESSAGE_SIZE, .data = (uint8_t *)HksMalloc(MESSAGE_SIZE) }; in HashTest() local
796 ASSERT_NE(shaMessage.data, nullptr); in HashTest()
797 EXPECT_EQ(HksHash(paramInSet, &message, &shaMessage), HKS_SUCCESS); in HashTest()
798 HksFree(shaMessage.data); in HashTest()
Dpressure_test.cpp868 HksBlob shaMessage = { .size = MESSAGE_SIZE, .data = (uint8_t *)HksMalloc(MESSAGE_SIZE) }; variable
869 ASSERT_NE(shaMessage.data, nullptr);
871 int32_t ret = HksHash(paramInSet, &message, &shaMessage);
876 HksFree(shaMessage.data);