Home
last modified time | relevance | path

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

/system/keymaster/android_keymaster/
Dkeymaster_tags.cpp197 DEFINE_KEYMASTER_TAG(KM_BYTES, TAG_APPLICATION_ID);
198 DEFINE_KEYMASTER_TAG(KM_BYTES, TAG_APPLICATION_DATA);
202 DEFINE_KEYMASTER_TAG(KM_BYTES, TAG_ROOT_OF_TRUST);
203 DEFINE_KEYMASTER_TAG(KM_BYTES, TAG_ASSOCIATED_DATA);
204 DEFINE_KEYMASTER_TAG(KM_BYTES, TAG_NONCE);
205 DEFINE_KEYMASTER_TAG(KM_BYTES, TAG_AUTH_TOKEN);
209 DEFINE_KEYMASTER_TAG(KM_BYTES, TAG_UNIQUE_ID);
210 DEFINE_KEYMASTER_TAG(KM_BYTES, TAG_ATTESTATION_CHALLENGE);
211 DEFINE_KEYMASTER_TAG(KM_BYTES, TAG_ATTESTATION_APPLICATION_ID);
212 DEFINE_KEYMASTER_TAG(KM_BYTES, TAG_ATTESTATION_ID_BRAND);
[all …]
Dauthorization_set.cpp30 return (keymaster_tag_get_type(tag) == KM_BYTES || keymaster_tag_get_type(tag) == KM_BIGNUM); in is_blob_tag()
211 if (type == KM_BIGNUM || type == KM_BYTES) { in CopyToParamSet()
308 case KM_BYTES: in serialized_size()
341 case KM_BYTES: in serialize()
382 case KM_BYTES: { in deserialize()
/system/keymaster/include/keymaster/
Dkeymaster_tags.h88 template <> struct TagValueType<KM_BYTES> { typedef keymaster_blob_t value_type; };
162 DECLARE_KEYMASTER_TAG(KM_BYTES, TAG_APPLICATION_ID);
163 DECLARE_KEYMASTER_TAG(KM_BYTES, TAG_APPLICATION_DATA);
167 DECLARE_KEYMASTER_TAG(KM_BYTES, TAG_ROOT_OF_TRUST);
168 DECLARE_KEYMASTER_TAG(KM_BYTES, TAG_ASSOCIATED_DATA);
169 DECLARE_KEYMASTER_TAG(KM_BYTES, TAG_NONCE);
170 DECLARE_KEYMASTER_TAG(KM_BYTES, TAG_AUTH_TOKEN);
174 DECLARE_KEYMASTER_TAG(KM_BYTES, TAG_UNIQUE_ID);
175 DECLARE_KEYMASTER_TAG(KM_BYTES, TAG_ATTESTATION_CHALLENGE);
176 DECLARE_KEYMASTER_TAG(KM_BYTES, TAG_ATTESTATION_APPLICATION_ID);
[all …]
Dauthorization_set.h342 bool GetTagValue(TypedTag<KM_BYTES, Tag> tag, keymaster_blob_t* val) const { in GetTagValue() argument
407 bool push_back(TypedTag<KM_BYTES, Tag> tag, const void* bytes, size_t bytes_len) { in push_back() argument
416 bool push_back(TypedTag<KM_BYTES, Tag> tag, const keymaster_blob_t& blob) { in push_back() argument
507 AuthorizationSetBuilder& Authorization(TypedTag<KM_BYTES, Tag> tag, const uint8_t* data, in Authorization() argument
514 AuthorizationSetBuilder& Authorization(TypedTag<KM_BYTES, Tag> tag, const char* data, in Authorization() argument
/system/keymaster/ng/
DKeyMintAidlUtils.cpp82 case KM_BYTES: in kmParamSet2Aidl()
129 case KM_BYTES: in aidlKeyParams2Km()
DKeyMintUtils.cpp155 case KM_BYTES: in kmParam2Aidl()
224 case KM_BYTES: in aidlKeyParams2Km()
DAndroidKeymaster3Device.cpp115 case KM_BYTES: in KmParamSet()
195 case KM_BYTES: in kmParamSet2Hidl()
DAndroidKeymaster4Device.cpp148 case KM_BYTES: in kmParamSet2Hidl()
206 case KM_BYTES: in hidlKeyParams2Km()
/system/core/trusty/keymaster/3.0/
DTrustyKeymaster3Device.cpp103 case KM_BYTES: in KmParamSet()
184 case KM_BYTES: in kmParamSet2Hidl()
/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.h93 bool contains(const AuthorizationSet& set, TypedTag<KM_BYTES, Tag> tag, const std::string& val) { in contains() argument
Dandroid_keymaster_test_utils.cpp78 case KM_BYTES: in operator <<()
112 case KM_BYTES: in operator ==()
/system/keymaster/km_openssl/
Dattestation_record.cpp173 case KM_BYTES: in insert_unknown_tag()
774 case KM_BYTES: in build_auth_list()