Home
last modified time | relevance | path

Searched refs:GetTagCount (Results 1 – 12 of 12) sorted by relevance

/system/keymaster/android_keymaster/
Doperation.cpp91 LOG_E("%zu padding modes specified in begin params", begin_params.GetTagCount(TAG_PADDING)); in GetAndValidatePadding()
129 begin_params.GetTagCount(TAG_DIGEST)); in GetAndValidateDigest()
Dandroid_keymaster.cpp346 request.key_description.GetTagCount(TAG_PURPOSE) > 1) { in GenerateKey()
854 request.key_description.GetTagCount(TAG_PURPOSE) > 1) { in ImportKey()
Dauthorization_set.cpp546 size_t AuthorizationSet::GetTagCount(keymaster_tag_t tag) const { in GetTagCount() function in keymaster::AuthorizationSet
/system/keymaster/km_openssl/
Dhmac_key.cpp71 LOG_E("%zu digests specified for HMAC key", key_description.GetTagCount(TAG_DIGEST)); in validate_algorithm_specific_new_key_params()
Dhmac_operation.cpp69 begin_params.GetTagCount(TAG_DIGEST)); in CreateOperation()
Dec_key_factory.cpp317 key_description.GetTagCount(TAG_PURPOSE) > 1) { in ImportRawKey()
437 updated_description->GetTagCount(TAG_PURPOSE) > 1) { in UpdateImportKeyDescription()
Drsa_operation.cpp140 if (key.authorizations().GetTagCount(TAG_RSA_OAEP_MGF_DIGEST) > 0) { in GetAndValidateMgfDigest()
145 begin_params.GetTagCount(TAG_RSA_OAEP_MGF_DIGEST)); in GetAndValidateMgfDigest()
Dblock_cipher_operation.cpp86 begin_params.GetTagCount(TAG_BLOCK_MODE)); in CreateOperation()
/system/keymaster/include/keymaster/
Dauthorization_set.h230 size_t GetTagCount(keymaster_tag_t tag) const;
319 if (GetTagCount(tag) != 1) return false; in GetTagValue()
706 template <typename... ARGS> size_t GetTagCount(ARGS&&... args) const { in GetTagCount() function
707 return hw_enforced_.GetTagCount(std::forward<ARGS>(args)...) + in GetTagCount()
708 sw_enforced_.GetTagCount(std::forward<ARGS>(args)...); in GetTagCount()
/system/keymaster/tests/
Dauthorization_set_test.cpp734 TEST(Proxy, GetTagCount) { in TEST() argument
745 EXPECT_EQ((size_t)3, proxy.GetTagCount(TAG_PURPOSE)); in TEST()
746 EXPECT_EQ((size_t)1, proxy.GetTagCount(TAG_ACTIVE_DATETIME)); in TEST()
747 EXPECT_EQ((size_t)1, proxy.GetTagCount(TAG_APPLICATION_DATA)); in TEST()
748 EXPECT_EQ((size_t)0, proxy.GetTagCount(TAG_USER_ID)); in TEST()
/system/keymaster/key_blob_utils/
Dsoftware_keyblobs.cpp292 if (hw_enforced->GetTagCount(entry.tag) != 0) in SetKeyBlobAuthorizations()
370 if (hw_enforced->GetTagCount(entry.tag) == 0) sw_enforced->push_back(entry); in SetKeyBlobAuthorizations()
/system/keymaster/contexts/
Dsoft_keymaster_context.cpp169 if (hw_enforced->GetTagCount(entry.tag) == 0) sw_enforced->push_back(entry); in SetAuthorizations()