Home
last modified time | relevance | path

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

/system/keymaster/android_keymaster/
Dkeymaster_tags.cpp164 DEFINE_KEYMASTER_TAG(KM_BYTES, TAG_APPLICATION_ID);
165 DEFINE_KEYMASTER_TAG(KM_BYTES, TAG_APPLICATION_DATA);
168 DEFINE_KEYMASTER_TAG(KM_BYTES, TAG_ROOT_OF_TRUST);
169 DEFINE_KEYMASTER_TAG(KM_BYTES, TAG_ASSOCIATED_DATA);
170 DEFINE_KEYMASTER_TAG(KM_BYTES, TAG_NONCE);
171 DEFINE_KEYMASTER_TAG(KM_BYTES, TAG_AUTH_TOKEN);
175 DEFINE_KEYMASTER_TAG(KM_BYTES, TAG_UNIQUE_ID);
176 DEFINE_KEYMASTER_TAG(KM_BYTES, TAG_ATTESTATION_APPLICATION_ID);
177 DEFINE_KEYMASTER_TAG(KM_BYTES, TAG_ATTESTATION_ID_BRAND);
178 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);
163 DECLARE_KEYMASTER_TAG(KM_BYTES, TAG_ROOT_OF_TRUST);
164 DECLARE_KEYMASTER_TAG(KM_BYTES, TAG_ASSOCIATED_DATA);
165 DECLARE_KEYMASTER_TAG(KM_BYTES, TAG_NONCE);
166 DECLARE_KEYMASTER_TAG(KM_BYTES, TAG_AUTH_TOKEN);
170 DECLARE_KEYMASTER_TAG(KM_BYTES, TAG_UNIQUE_ID);
171 DECLARE_KEYMASTER_TAG(KM_BYTES, TAG_ATTESTATION_CHALLENGE);
172 DECLARE_KEYMASTER_TAG(KM_BYTES, TAG_ATTESTATION_APPLICATION_ID);
[all …]
Dauthorization_set.h338 bool GetTagValue(TypedTag<KM_BYTES, Tag> tag, keymaster_blob_t* val) const { in GetTagValue() argument
403 bool push_back(TypedTag<KM_BYTES, Tag> tag, const void* bytes, size_t bytes_len) { in push_back() argument
412 bool push_back(TypedTag<KM_BYTES, Tag> tag, const keymaster_blob_t& blob) { in push_back() argument
503 AuthorizationSetBuilder& Authorization(TypedTag<KM_BYTES, Tag> tag, const uint8_t* data, in Authorization() argument
510 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.cpp103 case KM_BYTES: in KmParamSet()
185 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.cpp326 case KM_BYTES: in build_auth_list()