Home
last modified time | relevance | path

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

/base/security/crypto_framework/test/unittest/src/
Dcrypto_rand_test.cpp69 struct HcfBlob randomBlob = {0}; variable
71 ret = randObj->generateRandom(randObj, randomLen, &randomBlob);
85 struct HcfBlob randomBlob = {0}; variable
87 ret = randObj->generateRandom(randObj, randomLen, &randomBlob);
90 HcfBlobDataClearAndFree(&randomBlob);
103 struct HcfBlob randomBlob = {0}; variable
105 (void)randObj->generateRandom(randObj, randomLen, &randomBlob);
107 HcfBlobDataClearAndFree(&randomBlob);
200 struct HcfBlob randomBlob = { .data = nullptr, .len = 0 }; variable
201 ret = randObj->generateRandom(&invalidRandObj, randomLen, &randomBlob);
[all …]
/base/security/crypto_framework/test/fuzztest/rand/hcfrandcreate_fuzzer/
Dhcfrandcreate_fuzzer.cpp33 struct HcfBlob randomBlob = { 0 }; in HcfRandCreateFuzzTest() local
34 (void)randObj->generateRandom(randObj, size, &randomBlob); in HcfRandCreateFuzzTest()
38 HcfBlobDataFree(&randomBlob); in HcfRandCreateFuzzTest()