Home
last modified time | relevance | path

Searched refs:asn1_int (Results 1 – 5 of 5) sorted by relevance

/aosp12/hardware/interfaces/keymaster/3.0/vts/functional/
H A Dattestation_record.cpp153 void copyAuthTag(const ASN1_INTEGER* asn1_int, TypedTag<TagType::ENUM, tag> ttag, in copyAuthTag() argument
156 if (!asn1_int) return; in copyAuthTag()
157 auth_list->push_back(ttag, static_cast<ValueT>(ASN1_INTEGER_get(asn1_int))); in copyAuthTag()
161 void copyAuthTag(const ASN1_INTEGER* asn1_int, TypedTag<TagType::UINT, tag> ttag, in copyAuthTag() argument
163 if (!asn1_int) return; in copyAuthTag()
164 auth_list->push_back(ttag, ASN1_INTEGER_get(asn1_int)); in copyAuthTag()
194 if (!asn1_int) return; in copyAuthTag()
195 BIGNUM_Ptr num(ASN1_INTEGER_to_BN(asn1_int, nullptr)); in copyAuthTag()
200 void copyAuthTag(const ASN1_INTEGER* asn1_int, TypedTag<TagType::DATE, tag> ttag, in copyAuthTag() argument
202 if (!asn1_int) return; in copyAuthTag()
[all …]
/aosp12/hardware/interfaces/keymaster/4.0/support/
H A Dattestation_record.cpp197 void copyAuthTag(const ASN1_INTEGER* asn1_int, TypedTag<TagType::ENUM, tag> ttag, in copyAuthTag() argument
200 if (!asn1_int) return; in copyAuthTag()
201 auth_list->push_back(ttag, static_cast<ValueT>(ASN1_INTEGER_get(asn1_int))); in copyAuthTag()
205 void copyAuthTag(const ASN1_INTEGER* asn1_int, TypedTag<TagType::UINT, tag> ttag, in copyAuthTag() argument
207 if (!asn1_int) return; in copyAuthTag()
208 auth_list->push_back(ttag, ASN1_INTEGER_get(asn1_int)); in copyAuthTag()
238 if (!asn1_int) return; in copyAuthTag()
239 BIGNUM_Ptr num(ASN1_INTEGER_to_BN(asn1_int, nullptr)); in copyAuthTag()
244 void copyAuthTag(const ASN1_INTEGER* asn1_int, TypedTag<TagType::DATE, tag> ttag, in copyAuthTag() argument
246 if (!asn1_int) return; in copyAuthTag()
[all …]
/aosp12/hardware/interfaces/security/keymint/support/
H A Dattestation_record.cpp210 void copyAuthTag(const ASN1_INTEGER* asn1_int, TypedTag<TagType::ENUM, tag> ttag, in copyAuthTag() argument
213 if (!asn1_int) return; in copyAuthTag()
214 auth_list->push_back(ttag, static_cast<ValueT>(ASN1_INTEGER_get(asn1_int))); in copyAuthTag()
218 void copyAuthTag(const ASN1_INTEGER* asn1_int, TypedTag<TagType::UINT, tag> ttag, in copyAuthTag() argument
220 if (!asn1_int) return; in copyAuthTag()
221 auth_list->push_back(ttag, ASN1_INTEGER_get(asn1_int)); in copyAuthTag()
251 if (!asn1_int) return; in copyAuthTag()
252 BIGNUM_Ptr num(ASN1_INTEGER_to_BN(asn1_int, nullptr)); in copyAuthTag()
257 void copyAuthTag(const ASN1_INTEGER* asn1_int, TypedTag<TagType::DATE, tag> ttag, in copyAuthTag() argument
259 if (!asn1_int) return; in copyAuthTag()
[all …]
/aosp12/hardware/interfaces/keymaster/4.1/support/
H A Dattestation_record.cpp212 void copyAuthTag(const ASN1_INTEGER* asn1_int, TypedTag<TagType::ENUM, tag> ttag, in copyAuthTag() argument
215 if (!asn1_int) return; in copyAuthTag()
216 auth_list->push_back(ttag, static_cast<ValueT>(ASN1_INTEGER_get(asn1_int))); in copyAuthTag()
220 void copyAuthTag(const ASN1_INTEGER* asn1_int, TypedTag<TagType::UINT, tag> ttag, in copyAuthTag() argument
222 if (!asn1_int) return; in copyAuthTag()
223 auth_list->push_back(ttag, ASN1_INTEGER_get(asn1_int)); in copyAuthTag()
253 if (!asn1_int) return; in copyAuthTag()
254 BIGNUM_Ptr num(ASN1_INTEGER_to_BN(asn1_int, nullptr)); in copyAuthTag()
259 void copyAuthTag(const ASN1_INTEGER* asn1_int, TypedTag<TagType::DATE, tag> ttag, in copyAuthTag() argument
261 if (!asn1_int) return; in copyAuthTag()
[all …]
/aosp12/system/keymaster/km_openssl/
H A Dattestation_record.cpp1109 static bool get_enum(const ASN1_INTEGER* asn1_int, TypedEnumTag<Type, Tag, KeymasterEnum> tag, in get_enum() argument
1111 if (!asn1_int) return true; in get_enum()
1112 return auth_list->push_back(tag, static_cast<KeymasterEnum>(ASN1_INTEGER_get(asn1_int))); in get_enum()
1116 static bool get_ulong(const ASN1_INTEGER* asn1_int, keymaster_tag_t tag, in get_ulong() argument
1118 if (!asn1_int) return true; in get_ulong()
1119 UniquePtr<BIGNUM, BIGNUM_Delete> bn(ASN1_INTEGER_to_BN(asn1_int, nullptr)); in get_ulong()