Home
last modified time | relevance | path

Searched refs:myData (Results 1 - 5 of 5) sorted by relevance

/drivers/peripheral/huks/test/fuzztest/initfuzz/
H A Dhuks_hdi_fuzzer.cpp39 uint8_t *myData = static_cast<uint8_t *>(malloc(sizeof(uint8_t) * size)); in DoSomethingInterestingWithMyAPI() local
40 if (myData == nullptr) { in DoSomethingInterestingWithMyAPI()
44 (void)memcpy_s(myData, size, data, size); in DoSomethingInterestingWithMyAPI()
46 struct HksBlob key = { SIZE_KEY, myData }; in DoSomethingInterestingWithMyAPI()
47 struct HksParamSet *paramSet = reinterpret_cast<struct HksParamSet *>(myData + SIZE_KEY); in DoSomethingInterestingWithMyAPI()
55 struct HksBlob inData = { size, myData }; in DoSomethingInterestingWithMyAPI()
56 struct HksParamSet *paramSetUpdate = reinterpret_cast<struct HksParamSet *>(myData + SIZE_KEY + SIZE_PARAMSET_INIT); in DoSomethingInterestingWithMyAPI()
59 struct HksParamSet *paramSetFinish = reinterpret_cast<struct HksParamSet *>(myData + SIZE_KEY + SIZE_PARAMSET_INIT + in DoSomethingInterestingWithMyAPI()
65 free(myData); in DoSomethingInterestingWithMyAPI()
79 free(myData); in DoSomethingInterestingWithMyAPI()
[all...]
/drivers/peripheral/huks/test/fuzztest/agreekeyfuzz/
H A Dhuks_hdi_fuzzer.cpp35 uint8_t *myData = static_cast<uint8_t *>(malloc(sizeof(uint8_t) * size)); in DoSomethingInterestingWithMyAPI() local
36 if (myData == nullptr) { in DoSomethingInterestingWithMyAPI()
39 (void)memcpy_s(myData, size, data, size); in DoSomethingInterestingWithMyAPI()
40 struct HksBlob privatekey = { PRIVATE_KEY_SIZE, myData + PARAMSET_SIZE }; in DoSomethingInterestingWithMyAPI()
41 struct HksParamSet *paramSetIn = reinterpret_cast<struct HksParamSet *>(myData); in DoSomethingInterestingWithMyAPI()
45 free(myData); in DoSomethingInterestingWithMyAPI()
50 .data = myData + PARAMSET_SIZE + PRIVATE_KEY_SIZE, in DoSomethingInterestingWithMyAPI()
59 free(myData); in DoSomethingInterestingWithMyAPI()
/drivers/peripheral/huks/test/fuzztest/importwrappedkeyfuzz/
H A Dhuks_hdi_fuzzer.cpp35 uint8_t *myData = static_cast<uint8_t *>(malloc(sizeof(uint8_t) * size)); in DoSomethingInterestingWithMyAPI() local
36 if (myData == nullptr) { in DoSomethingInterestingWithMyAPI()
39 (void)memcpy_s(myData, size, data, size); in DoSomethingInterestingWithMyAPI()
40 struct HksBlob wrappedKeyData = { WRAPPED_KEY_DATA, myData }; in DoSomethingInterestingWithMyAPI()
41 struct HksParamSet *paramSetIn = reinterpret_cast<struct HksParamSet *>(myData + WRAPPED_KEY_DATA); in DoSomethingInterestingWithMyAPI()
46 free(myData); in DoSomethingInterestingWithMyAPI()
51 .data = myData + WRAPPED_KEY_DATA + PARAMSET_SIZE, in DoSomethingInterestingWithMyAPI()
60 free(myData); in DoSomethingInterestingWithMyAPI()
/drivers/peripheral/huks/test/fuzztest/importkeyfuzz/
H A Dhuks_hdi_fuzzer.cpp35 uint8_t *myData = static_cast<uint8_t *>(malloc(sizeof(uint8_t) * size)); in DoSomethingInterestingWithMyAPI() local
36 if (myData == nullptr) { in DoSomethingInterestingWithMyAPI()
40 (void)memcpy_s(myData, size, data, size); in DoSomethingInterestingWithMyAPI()
42 struct HksBlob keyAlias = { SIZE_ALIAS, myData }; in DoSomethingInterestingWithMyAPI()
43 struct HksBlob aesKey = { SIZE_KEY, static_cast<uint8_t *>(myData + SIZE_ALIAS) }; in DoSomethingInterestingWithMyAPI()
44 struct HksParamSet *paramSet = reinterpret_cast<struct HksParamSet *>(myData + SIZE_ALIAS + SIZE_KEY); in DoSomethingInterestingWithMyAPI()
49 free(myData); in DoSomethingInterestingWithMyAPI()
60 free(myData); in DoSomethingInterestingWithMyAPI()
/drivers/peripheral/huks/test/fuzztest/generatekeyfuzz/
H A Dhuks_hdi_fuzzer.cpp33 uint8_t *myData = static_cast<uint8_t *>(malloc(sizeof(uint8_t) * size)); in DoSomethingInterestingWithMyAPI() local
34 if (myData == nullptr) { in DoSomethingInterestingWithMyAPI()
37 (void)memcpy_s(myData, size, data, size); in DoSomethingInterestingWithMyAPI()
38 struct HksBlob keyAlias = { INIT_KEY_ALIAS_SIZE, myData }; in DoSomethingInterestingWithMyAPI()
39 struct HksParamSet *paramSetIn = reinterpret_cast<struct HksParamSet *>(myData + INIT_KEY_ALIAS_SIZE); in DoSomethingInterestingWithMyAPI()
43 free(myData); in DoSomethingInterestingWithMyAPI()
58 free(myData); in DoSomethingInterestingWithMyAPI()

Completed in 3 milliseconds