Home
last modified time | relevance | path

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

/system/keymaster/android_keymaster/
Dkeymaster_tags.cpp172 DEFINE_KEYMASTER_TAG(KM_BYTES, TAG_APPLICATION_ID);
173 DEFINE_KEYMASTER_TAG(KM_BYTES, TAG_APPLICATION_DATA);
177 DEFINE_KEYMASTER_TAG(KM_BYTES, TAG_ROOT_OF_TRUST);
178 DEFINE_KEYMASTER_TAG(KM_BYTES, TAG_ASSOCIATED_DATA);
179 DEFINE_KEYMASTER_TAG(KM_BYTES, TAG_NONCE);
180 DEFINE_KEYMASTER_TAG(KM_BYTES, TAG_AUTH_TOKEN);
184 DEFINE_KEYMASTER_TAG(KM_BYTES, TAG_UNIQUE_ID);
185 DEFINE_KEYMASTER_TAG(KM_BYTES, TAG_ATTESTATION_APPLICATION_ID);
186 DEFINE_KEYMASTER_TAG(KM_BYTES, TAG_ATTESTATION_ID_BRAND);
187 DEFINE_KEYMASTER_TAG(KM_BYTES, TAG_ATTESTATION_ID_DEVICE);
[all …]
Dauthorization_set.cpp32 return (keymaster_tag_get_type(tag) == KM_BYTES || keymaster_tag_get_type(tag) == KM_BIGNUM); in is_blob_tag()
221 if (type == KM_BIGNUM || type == KM_BYTES) { in CopyToParamSet()
324 case KM_BYTES: in serialized_size()
358 case KM_BYTES: in serialize()
400 case KM_BYTES: { in deserialize()
/system/keymaster/include/keymaster/
Dkeymaster_tags.h88 template <> struct TagValueType<KM_BYTES> { typedef keymaster_blob_t value_type; };
159 DECLARE_KEYMASTER_TAG(KM_BYTES, TAG_APPLICATION_ID);
160 DECLARE_KEYMASTER_TAG(KM_BYTES, TAG_APPLICATION_DATA);
164 DECLARE_KEYMASTER_TAG(KM_BYTES, TAG_ROOT_OF_TRUST);
165 DECLARE_KEYMASTER_TAG(KM_BYTES, TAG_ASSOCIATED_DATA);
166 DECLARE_KEYMASTER_TAG(KM_BYTES, TAG_NONCE);
167 DECLARE_KEYMASTER_TAG(KM_BYTES, TAG_AUTH_TOKEN);
171 DECLARE_KEYMASTER_TAG(KM_BYTES, TAG_UNIQUE_ID);
172 DECLARE_KEYMASTER_TAG(KM_BYTES, TAG_ATTESTATION_CHALLENGE);
173 DECLARE_KEYMASTER_TAG(KM_BYTES, TAG_ATTESTATION_APPLICATION_ID);
[all …]
Dauthorization_set.h348 bool GetTagValue(TypedTag<KM_BYTES, Tag> tag, keymaster_blob_t* val) const { in GetTagValue() argument
413 bool push_back(TypedTag<KM_BYTES, Tag> tag, const void* bytes, size_t bytes_len) { in push_back() argument
422 bool push_back(TypedTag<KM_BYTES, Tag> tag, const keymaster_blob_t& blob) { in push_back() argument
513 AuthorizationSetBuilder& Authorization(TypedTag<KM_BYTES, Tag> tag, const uint8_t* data, in Authorization() argument
520 AuthorizationSetBuilder& Authorization(TypedTag<KM_BYTES, Tag> tag, const char* data, in Authorization() argument
/system/security/keystore/
Dlegacy_keymaster_device_wrapper.cpp97 case KM_BYTES: in KmParamSet()
192 case KM_BYTES: in kmParamSet2Hidl()
/system/core/trusty/keymaster/3.0/
DTrustyKeymaster3Device.cpp103 case KM_BYTES: in KmParamSet()
184 case KM_BYTES: in kmParamSet2Hidl()
/system/keymaster/ng/
DAndroidKeymaster3Device.cpp116 case KM_BYTES: in KmParamSet()
196 case KM_BYTES: in kmParamSet2Hidl()
DAndroidKeymaster4Device.cpp150 case KM_BYTES: in kmParamSet2Hidl()
208 case KM_BYTES: in hidlKeyParams2Km()
/system/core/trusty/keymaster/4.0/
DTrustyKeymaster4Device.cpp155 case KM_BYTES: in KmParamSet()
236 case KM_BYTES: in kmParamSet2Hidl()
/system/keymaster/tests/
Dandroid_keymaster_test_utils.cpp75 case KM_BYTES: in operator <<()
109 case KM_BYTES: in operator ==()
Dandroid_keymaster_test_utils.h96 bool contains(const AuthorizationSet& set, TypedTag<KM_BYTES, Tag> tag, const std::string& val) { in contains() argument
/system/keymaster/km_openssl/
Dattestation_record.cpp341 case KM_BYTES: in build_auth_list()