Home
last modified time | relevance | path

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

/system/keymaster/ng/include/
Dauthorization_set.h158 bool Contains(TypedTag<tag_type, tag> ttag, const ValueT& value) const { in Contains() argument
160 auto entry = authorizationValue(ttag, param); in Contains()
214 AuthorizationSetBuilder& Authorization(TagType ttag, ValueType&&... value) { in Authorization() argument
215 push_back(ttag, std::forward<ValueType>(value)...); in Authorization()
220 AuthorizationSetBuilder& Authorization(TypedTag<TagType::BYTES, tag> ttag, const uint8_t* data, in Authorization() argument
224 push_back(ttag, std::move(new_blob)); in Authorization()
229 AuthorizationSetBuilder& Authorization(TypedTag<TagType::BYTES, tag> ttag, const char* data, in Authorization() argument
231 return Authorization(ttag, reinterpret_cast<const uint8_t*>(data), data_length); in Authorization()
Dkeymaster_tags.h246 inline KeyParameter makeKeyParameter(TypedTag<tag_type, tag> ttag, ValueT&& value) {
250 accessTagValue(ttag, param) = std::forward<ValueT>(value);
271 inline KeyParameter Authorization(TypedTag<tag_type, tag> ttag, Args&&... args) {
282 return makeKeyParameter(ttag, std::forward<Args>(args)...);
346 authorizationValue(TypedTag<tag_type, tag> ttag, const KeyParameter& param) {
348 return accessTagValue(ttag, param);
/system/security/keystore2/src/km_compat/
Dkm_compat.cpp907 static auto getParam(const std::vector<KeyParameter>& keyParams, KMV1::TypedTag<type, tag> ttag) in getParam() argument
908 -> decltype(authorizationValue(ttag, KeyParameter())) { in getParam()
911 if (auto v = authorizationValue(ttag, p)) { in getParam()
919 static bool containsParam(const std::vector<KeyParameter>& keyParams, T ttag) { in containsParam() argument
920 return static_cast<bool>(getParam(keyParams, ttag)); in containsParam()