Home
last modified time | relevance | path

Searched refs:authSet (Results 1 – 9 of 9) sorted by relevance

/hardware/interfaces/keymaster/4.0/support/fuzzer/
Dkeymaster4_authSet_fuzzer.cpp95 AuthorizationSet authSet = createAuthorizationSet(mFdp); in invokeAuthSetAPIs() local
100 authSet.Sort(); in invokeAuthSetAPIs()
103 authSet.Deduplicate(); in invokeAuthSetAPIs()
106 authSet.Union(createAuthorizationSet(mFdp)); in invokeAuthSetAPIs()
109 authSet.Subtract(createAuthorizationSet(mFdp)); in invokeAuthSetAPIs()
115 authSet.Serialize(&out); in invokeAuthSetAPIs()
121 authSet.Deserialize(&in); in invokeAuthSetAPIs()
125 for (const KeyParameter& tag : authSet) { in invokeAuthSetAPIs()
129 authSet.push_back(params); in invokeAuthSetAPIs()
132 auto params = AuthorizationSetBuilder().Authorizations(authSet); in invokeAuthSetAPIs()
[all …]
Dkeymaster4_common.h63 uint32_t authSet = dataProvider->ConsumeEnum<AuthSet>(); in createAuthorizationSet() local
64 switch (authSet) { in createAuthorizationSet()
/hardware/interfaces/security/keymint/support/fuzzer/
Dkeymint_authSet_fuzzer.cpp103 AuthorizationSet authSet = createAuthorizationSet(&mFdp); in process() local
106 [&]() { authSet.Sort(); }, in process()
107 [&]() { authSet.Deduplicate(); }, in process()
108 [&]() { authSet.Union(createAuthorizationSet(&mFdp)); }, in process()
109 [&]() { authSet.Subtract(createAuthorizationSet(&mFdp)); }, in process()
112 for (const KeyParameter& tag : authSet) { in process()
116 authSet.push_back(params); in process()
119 auto params = AuthorizationSetBuilder().Authorizations(authSet); in process()
120 authSet = params; in process()
123 auto params = AuthorizationSetBuilder().Authorizations(authSet); in process()
[all …]
DREADME.md22 5. AuthSet(parameter name: "authSet")
37 |`authSet`| `uint32_t` |Value obtained from FuzzedDataProvider|
58 1. AuthorizationSet(parameter name: "authSet")
65 |`authSet`| `AuthorizationSet` |Value obtained from FuzzedDataProvider|
Dkeymint_common.h125 uint32_t authSet = in createAuthorizationSet() local
132 switch (authSet) { in createAuthorizationSet()
/hardware/interfaces/security/keymint/aidl/vts/performance/
DKeyMintBenchmark.cpp228 AuthorizationSetBuilder authSet = AuthorizationSetBuilder() in GenerateKey() local
240 authSet.BlockMode(blockMode.value()); in GenerateKey()
242 authSet.Authorization(TAG_MIN_MAC_LENGTH, 128); in GenerateKey()
246 authSet.Authorization(TAG_MIN_MAC_LENGTH, 128); in GenerateKey()
249 authSet.Authorization(TAG_RSA_PUBLIC_EXPONENT, 65537U); in GenerateKey()
250 authSet.SetDefaultValidity(); in GenerateKey()
253 authSet.SetDefaultValidity(); in GenerateKey()
259 authSet.Authorization(TAG_EC_CURVE, curve.value()); in GenerateKey()
261 error_ = GenerateKey(authSet); in GenerateKey()
/hardware/interfaces/keymaster/4.0/vts/performance/
DBenchmark.cpp124 bool GenerateKey(const AuthorizationSet& authSet) { in GenerateKey() argument
127 authSet.hidl_data(), in GenerateKey()
140 AuthorizationSetBuilder authSet = AuthorizationSetBuilder() local
152 authSet.BlockMode(*blockMode);
155 authSet.Authorization(TAG_RSA_PUBLIC_EXPONENT, 65537U);
157 return GenerateKey(authSet);
/hardware/nxp/keymint/KM200/
DJavacardKeyMintDevice.cpp420 AuthorizationSet authSet; in parseWrappedKey() local
429 &authSet, &kmKeyFormat, &kmWrappedKeyDescription); in parseWrappedKey()
438 authList = km_utils::kmParamSet2Aidl(authSet); in parseWrappedKey()
/hardware/nxp/keymint/KM300/
DJavacardKeyMintDevice.cpp441 AuthorizationSet authSet; in parseWrappedKey() local
450 &authSet, &kmKeyFormat, &kmWrappedKeyDescription); in parseWrappedKey()
459 authList = km_utils::kmParamSet2Aidl(authSet); in parseWrappedKey()