Home
last modified time | relevance | path

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

/system/keymaster/
Dkeymaster_tags.cpp142 DEFINE_KEYMASTER_TAG(KM_BYTES, TAG_APPLICATION_ID);
143 DEFINE_KEYMASTER_TAG(KM_BYTES, TAG_APPLICATION_DATA);
146 DEFINE_KEYMASTER_TAG(KM_BYTES, TAG_ROOT_OF_TRUST);
147 DEFINE_KEYMASTER_TAG(KM_BYTES, TAG_ASSOCIATED_DATA);
148 DEFINE_KEYMASTER_TAG(KM_BYTES, TAG_NONCE);
149 DEFINE_KEYMASTER_TAG(KM_BYTES, TAG_AUTH_TOKEN);
153 DEFINE_KEYMASTER_TAG(KM_BYTES, TAG_UNIQUE_ID);
Dauthorization_set.cpp32 return (keymaster_tag_get_type(tag) == KM_BYTES || keymaster_tag_get_type(tag) == KM_BIGNUM); in is_blob_tag()
195 if (type == KM_BIGNUM || type == KM_BYTES) { in CopyToParamSet()
298 case KM_BYTES: in serialized_size()
332 case KM_BYTES: in serialize()
369 case KM_BYTES: { in deserialize()
Dandroid_keymaster_test_utils.cpp75 case KM_BYTES: in operator <<()
109 case KM_BYTES: in operator ==()
Dattestation_record.cpp390 case KM_BYTES: in build_auth_list()
Dandroid_keymaster_test_utils.h96 bool contains(const AuthorizationSet& set, TypedTag<KM_BYTES, Tag> tag, const std::string& val) { in contains() argument
/system/keymaster/include/keymaster/
Dkeymaster_tags.h88 template <> struct TagValueType<KM_BYTES> { typedef keymaster_blob_t value_type; };
155 DECLARE_KEYMASTER_TAG(KM_BYTES, TAG_APPLICATION_ID);
156 DECLARE_KEYMASTER_TAG(KM_BYTES, TAG_APPLICATION_DATA);
159 DECLARE_KEYMASTER_TAG(KM_BYTES, TAG_ROOT_OF_TRUST);
160 DECLARE_KEYMASTER_TAG(KM_BYTES, TAG_ASSOCIATED_DATA);
161 DECLARE_KEYMASTER_TAG(KM_BYTES, TAG_NONCE);
162 DECLARE_KEYMASTER_TAG(KM_BYTES, TAG_AUTH_TOKEN);
166 DECLARE_KEYMASTER_TAG(KM_BYTES, TAG_UNIQUE_ID);
167 DECLARE_KEYMASTER_TAG(KM_BYTES, TAG_ATTESTATION_CHALLENGE);
223 inline keymaster_key_param_t Authorization(TypedTag<KM_BYTES, Tag> tag, const void* bytes,
[all …]
Dauthorization_set.h325 bool GetTagValue(TypedTag<KM_BYTES, Tag> tag, keymaster_blob_t* val) const { in GetTagValue() argument
390 bool push_back(TypedTag<KM_BYTES, Tag> tag, const void* bytes, size_t bytes_len) { in push_back() argument
399 bool push_back(TypedTag<KM_BYTES, Tag> tag, const keymaster_blob_t& blob) { in push_back() argument
490 AuthorizationSetBuilder& Authorization(TypedTag<KM_BYTES, Tag> tag, const uint8_t* data, in Authorization() argument
497 AuthorizationSetBuilder& Authorization(TypedTag<KM_BYTES, Tag> tag, const char* data, in Authorization() argument
/system/vold/
DKeymaster.h96 TypedTag<KM_BYTES, Tag> tag, in addStringParam() argument
102 inline void addStringParam(AuthorizationSetBuilder* params, TypedTag<KM_BYTES, Tag> tag, in addStringParam() argument
/system/security/keystore/
DIKeystoreService.cpp316 case KM_BYTES: { in writeKeymasterArgumentToParcel()
368 case KM_BYTES: { in readKeymasterArgumentFromParcel()