Home
last modified time | relevance | path

Searched refs:auths (Results 1 – 3 of 3) sorted by relevance

/system/keymaster/
Doperation.h98 void SetAuthorizations(const AuthorizationSet& auths) { in SetAuthorizations() argument
99 key_auths_.Reinitialize(auths.data(), auths.size()); in SetAuthorizations()
Dandroid_keymaster_test.cpp219 AuthorizationSet auths = sw_enforced(); in CheckBaseParams() local
220 EXPECT_GT(auths.SerializedSize(), 12U); in CheckBaseParams()
222 EXPECT_TRUE(contains(auths, TAG_PURPOSE, KM_PURPOSE_SIGN)); in CheckBaseParams()
223 EXPECT_TRUE(contains(auths, TAG_PURPOSE, KM_PURPOSE_VERIFY)); in CheckBaseParams()
224 EXPECT_TRUE(contains(auths, TAG_USER_ID, 7)); in CheckBaseParams()
225 EXPECT_TRUE(contains(auths, TAG_USER_AUTH_TYPE, HW_AUTH_PASSWORD)); in CheckBaseParams()
226 EXPECT_TRUE(contains(auths, TAG_AUTH_TIMEOUT, 300)); in CheckBaseParams()
229 EXPECT_FALSE(contains(auths, TAG_ROOT_OF_TRUST)); in CheckBaseParams()
230 EXPECT_FALSE(contains(auths, TAG_APPLICATION_ID)); in CheckBaseParams()
231 EXPECT_FALSE(contains(auths, TAG_APPLICATION_DATA)); in CheckBaseParams()
[all …]
/system/keymaster/include/keymaster/
Dsoft_keymaster_context.h67 keymaster_error_t CreateKeyBlob(const AuthorizationSet& auths, keymaster_key_origin_t origin,