Home
last modified time | relevance | path

Searched refs:ps (Results 1 - 25 of 30) sorted by relevance

12

/base/security/huks/test/fuzz_test/innerapi_fuzzer/
H A Dhks_fuzz_util.cpp42 WrapParamSet ps {}; in ConstructHksParamSetFromFuzz()
43 int32_t ret = HksInitParamSet(&ps.s); in ConstructHksParamSetFromFuzz()
48 ret = HksAddParams(ps.s, params.data(), params.size()); in ConstructHksParamSetFromFuzz()
53 ret = HksBuildParamSet(&ps.s); in ConstructHksParamSetFromFuzz()
57 return ps; in ConstructHksParamSetFromFuzz()
/base/hiviewdfx/hisysevent/frameworks/native/util/include/
H A Dstring_util.h39 template <typename T> void DeletePointers(T*** ps, size_t len) in DeletePointers() argument
41 if (ps == nullptr || *ps == nullptr) { in DeletePointers()
44 auto realPs = *ps; in DeletePointers()
/base/security/huks/test/fuzz_test/innerapi_fuzzer/hksgetkeyinfolist_fuzzer/
H A Dhksgetkeyinfolist_fuzzer.cpp43 WrapParamSet ps = ConstructHksParamSetFromFuzz(data, size); in DoSomethingInterestingWithMyAPI() local
45 keyInfoList[i].paramSet = ps.s; in DoSomethingInterestingWithMyAPI()
48 [[maybe_unused]] int ret = HksGetKeyInfoList(ps.s, keyInfoList, &listCount); in DoSomethingInterestingWithMyAPI()
/base/security/huks/test/fuzz_test/innerapi_fuzzer/hksgeneratekey_fuzzer/
H A Dhksgeneratekey_fuzzer.cpp40 WrapParamSet ps = ConstructHksParamSetFromFuzz(data, size); in DoSomethingInterestingWithMyAPI() local
42 [[maybe_unused]] int ret = HksGenerateKey(&keyAlias, ps.s, nullptr); in DoSomethingInterestingWithMyAPI()
/base/security/huks/test/fuzz_test/innerapi_fuzzer/hksabort_fuzzer/
H A Dhksabort_fuzzer.cpp37 WrapParamSet ps = ConstructHksParamSetFromFuzz(data, size); in DoSomethingInterestingWithMyAPI() local
39 [[maybe_unused]] int ret = HksAbort(&handle, ps.s); in DoSomethingInterestingWithMyAPI()
/base/security/huks/test/fuzz_test/innerapi_fuzzer/hkskeyexist_fuzzer/
H A Dhkskeyexist_fuzzer.cpp39 WrapParamSet ps = ConstructHksParamSetFromFuzz(data, size); in DoSomethingInterestingWithMyAPI() local
41 [[maybe_unused]] int ret = HksKeyExist(&keyAlias, ps.s); in DoSomethingInterestingWithMyAPI()
/base/security/huks/test/fuzz_test/innerapi_fuzzer/hkslistaliases_fuzzer/
H A Dhkslistaliases_fuzzer.cpp37 WrapParamSet ps = ConstructHksParamSetFromFuzz(data, size); in DoSomethingInterestingWithMyAPI() local
39 [[maybe_unused]] int ret = HksListAliases(ps.s, &keyAliasSet); in DoSomethingInterestingWithMyAPI()
/base/security/huks/test/fuzz_test/innerapi_fuzzer/hksdeletekey_fuzzer/
H A Dhksdeletekey_fuzzer.cpp38 WrapParamSet ps = ConstructHksParamSetFromFuzz(data, size); in DoSomethingInterestingWithMyAPI() local
39 [[maybe_unused]] int ret = HksDeleteKey(&keyAlias, ps.s); in DoSomethingInterestingWithMyAPI()
/base/security/huks/test/fuzz_test/innerapi_fuzzer/hksgeneraterandom_fuzzer/
H A Dhksgeneraterandom_fuzzer.cpp38 WrapParamSet ps = ConstructHksParamSetFromFuzz(data, size); in DoSomethingInterestingWithMyAPI() local
40 [[maybe_unused]] int ret = HksGenerateRandom(ps.s, &random); in DoSomethingInterestingWithMyAPI()
/base/security/huks/test/fuzz_test/innerapi_fuzzer/hksimportkey_fuzzer/
H A Dhksimportkey_fuzzer.cpp45 WrapParamSet ps = ConstructHksParamSetFromFuzz(data, size); in DoSomethingInterestingWithMyAPI() local
47 [[maybe_unused]] int ret = HksImportKey(&keyAlias, ps.s, &pubKey); in DoSomethingInterestingWithMyAPI()
/base/security/huks/test/fuzz_test/innerapi_fuzzer/hksmac_fuzzer/
H A Dhksmac_fuzzer.cpp42 WrapParamSet ps = ConstructHksParamSetFromFuzz(data, size); in DoSomethingInterestingWithMyAPI() local
44 [[maybe_unused]] int ret = HksMac(&key, ps.s, &srcData, &mac); in DoSomethingInterestingWithMyAPI()
/base/security/huks/test/fuzz_test/innerapi_fuzzer/hksdecrypt_fuzzer/
H A Dhksdecrypt_fuzzer.cpp42 WrapParamSet ps = ConstructHksParamSetFromFuzz(data, size); in DoSomethingInterestingWithMyAPI() local
44 [[maybe_unused]] int ret = HksDecrypt(&key, ps.s, &cipherText, &plainText); in DoSomethingInterestingWithMyAPI()
/base/security/huks/test/fuzz_test/innerapi_fuzzer/hksverify_fuzzer/
H A Dhksverify_fuzzer.cpp42 WrapParamSet ps = ConstructHksParamSetFromFuzz(data, size); in DoSomethingInterestingWithMyAPI() local
44 [[maybe_unused]] int ret = HksVerify(&key, ps.s, &srcData, &signature); in DoSomethingInterestingWithMyAPI()
/base/security/huks/test/fuzz_test/innerapi_fuzzer/hkshash_fuzzer/
H A Dhkshash_fuzzer.cpp44 WrapParamSet ps = ConstructHksParamSetFromFuzz(data, size); in DoSomethingInterestingWithMyAPI() local
46 [[maybe_unused]] int ret = HksHash(ps.s, &srcData, &hash); in DoSomethingInterestingWithMyAPI()
/base/security/huks/test/fuzz_test/innerapi_fuzzer/hksrename_fuzzer/
H A Dhksrename_fuzzer.cpp41 WrapParamSet ps = ConstructHksParamSetFromFuzz(data, size); in DoSomethingInterestingWithMyAPI() local
43 [[maybe_unused]] int ret = HksRenameKeyAlias(&oldKey, ps.s, &newKey); in DoSomethingInterestingWithMyAPI()
/base/security/huks/test/fuzz_test/innerapi_fuzzer/hksagreekey_fuzzer/
H A Dhksagreekey_fuzzer.cpp42 WrapParamSet ps = ConstructHksParamSetFromFuzz(data, size); in DoSomethingInterestingWithMyAPI() local
44 [[maybe_unused]] int ret = HksAgreeKey(ps.s, &privateKey, &peerPublicKey, &agreedKey); in DoSomethingInterestingWithMyAPI()
/base/security/huks/test/fuzz_test/innerapi_fuzzer/hksexportpublickey_fuzzer/
H A Dhksexportpublickey_fuzzer.cpp42 WrapParamSet ps = ConstructHksParamSetFromFuzz(data, size); in DoSomethingInterestingWithMyAPI() local
44 [[maybe_unused]] int ret = HksExportPublicKey(&keyAlias, ps.s, &pubKey); in DoSomethingInterestingWithMyAPI()
/base/security/huks/test/fuzz_test/innerapi_fuzzer/hksencrypt_fuzzer/
H A Dhksencrypt_fuzzer.cpp42 WrapParamSet ps = ConstructHksParamSetFromFuzz(data, size); in DoSomethingInterestingWithMyAPI() local
44 [[maybe_unused]] int ret = HksEncrypt(&key, ps.s, &plainText, &cipherText); in DoSomethingInterestingWithMyAPI()
/base/security/huks/test/fuzz_test/innerapi_fuzzer/hksinit_fuzzer/
H A Dhksinit_fuzzer.cpp41 WrapParamSet ps = ConstructHksParamSetFromFuzz(data, size); in DoSomethingInterestingWithMyAPI() local
43 [[maybe_unused]] int ret = HksInit(&keyAlias, ps.s, &handle, nullptr); in DoSomethingInterestingWithMyAPI()
/base/security/huks/test/fuzz_test/innerapi_fuzzer/hkssign_fuzzer/
H A Dhkssign_fuzzer.cpp42 WrapParamSet ps = ConstructHksParamSetFromFuzz(data, size); in DoSomethingInterestingWithMyAPI() local
44 [[maybe_unused]] int ret = HksSign(&key, ps.s, &srcData, &signature); in DoSomethingInterestingWithMyAPI()
/base/security/huks/test/fuzz_test/innerapi_fuzzer/hksderivekey_fuzzer/
H A Dhksderivekey_fuzzer.cpp41 WrapParamSet ps = ConstructHksParamSetFromFuzz(data, size); in DoSomethingInterestingWithMyAPI() local
43 [[maybe_unused]] int ret = HksDeriveKey(ps.s, &mainKey, &derivedKey); in DoSomethingInterestingWithMyAPI()
/base/security/huks/test/fuzz_test/innerapi_fuzzer/hksimportwrappedkey_fuzzer/
H A Dhksimportwrappedkey_fuzzer.cpp46 WrapParamSet ps = ConstructHksParamSetFromFuzz(data, size); in DoSomethingInterestingWithMyAPI() local
48 [[maybe_unused]] int ret = HksImportWrappedKey(&keyAlias, &wrappingKeyAlias, ps.s, &wrappedKeyData); in DoSomethingInterestingWithMyAPI()
/base/security/huks/test/fuzz_test/innerapi_fuzzer/hksattestkey_fuzzer/
H A Dhksattestkey_fuzzer.cpp55 WrapParamSet ps = ConstructHksParamSetFromFuzz(data, size); in DoSomethingInterestingWithMyAPI() local
56 [[maybe_unused]] int ret = HksAttestKey(&keyAlias, ps.s, &certChain); in DoSomethingInterestingWithMyAPI()
/base/security/huks/test/fuzz_test/innerapi_fuzzer/hksfinish_fuzzer/
H A Dhksfinish_fuzzer.cpp45 WrapParamSet ps = ConstructHksParamSetFromFuzz(data, size); in DoSomethingInterestingWithMyAPI() local
47 [[maybe_unused]] int ret = HksFinish(&handle, ps.s, &inData, &outData); in DoSomethingInterestingWithMyAPI()
/base/security/huks/test/fuzz_test/innerapi_fuzzer/hksupdate_fuzzer/
H A Dhksupdate_fuzzer.cpp46 WrapParamSet ps = ConstructHksParamSetFromFuzz(data, size); in DoSomethingInterestingWithMyAPI() local
48 [[maybe_unused]] int ret = HksUpdate(&handle, ps.s, &inData, &outData); in DoSomethingInterestingWithMyAPI()

Completed in 5 milliseconds

12