Home
last modified time | relevance | path

Searched defs:tlv (Results 1 – 7 of 7) sorted by relevance

/base/security/device_auth/common_lib/impl/src/
Dhc_tlv_parser.c21 HcBool ParseTlvHead(TlvBase *tlv, HcParcel *parcel) in ParseTlvHead()
51 int32_t ParseTlvNode(TlvBase *tlv, HcParcel *parcel, HcBool strict) in ParseTlvNode()
69 int32_t GetlenTlvNode(TlvBase *tlv) in GetlenTlvNode()
80 void DeinitTlvNode(TlvBase *tlv) in DeinitTlvNode()
87 int32_t EncodeTlvNode(TlvBase *tlv, HcParcel *parcel, HcBool isRoot) in EncodeTlvNode()
126 TlvBase* GetEmptyStructNode(TlvBase *tlv, unsigned short tag) in GetEmptyStructNode()
145 int32_t CheckStructNodeAllHasValue(TlvBase *tlv) in CheckStructNodeAllHasValue()
164 void SetStructNodeHasValue(TlvBase *tlv) in SetStructNodeHasValue()
193 int32_t ParseTlvStruct(TlvBase *tlv, HcParcel *parcel, HcBool strict) in ParseTlvStruct()
239 int32_t EncodeTlvStruct(TlvBase *tlv, HcParcel *parcel) in EncodeTlvStruct()
[all …]
/base/security/device_security_level/baselib/utils/src/
Dutils_tlv.c31 static uint8_t *ParseTlv(const uint8_t *buffer, TlvCommon *tlv, const uint8_t *boundary, uint32_t *… in ParseTlv()
48 static uint8_t *AppendTlv(uint8_t *buffer, const TlvCommon *tlv, const uint8_t *boundary, uint32_t … in AppendTlv()
70 uint32_t Serialize(const TlvCommon *tlv, uint32_t tlvCount, uint8_t *buff, uint32_t maxBuffSize, ui… in Serialize()
90 uint32_t Deserialize(const uint8_t *buff, uint32_t buffSize, TlvCommon *tlv, uint32_t maxTlvCount, … in Deserialize()
/base/security/huks/services/huks_standard/huks_engine/main/device_cert_manager/src/
Ddcm_asn1.c28 static void BuildTlvHeader(struct HksAsn1Blob *header, const struct HksAsn1Blob *tlv) in BuildTlvHeader()
58 …int32_t Asn1InsertValue(struct HksBlob *buf, struct HksAsn1Obj *obj, const struct HksAsn1Blob *tlv) in Asn1InsertValue()
97 …32_t DcmAsn1InsertValue(struct HksBlob *buf, struct HksAsn1Obj *obj, const struct HksAsn1Blob *tlv) in DcmAsn1InsertValue()
117 int32_t DcmAsn1WriteFinal(struct HksBlob *final, const struct HksAsn1Blob *tlv) in DcmAsn1WriteFinal()
/base/security/huks/test/unittest/huks_standard_test/module_test/service_test/huks_engine/core/src/
Dhks_asn1_test.cpp71 struct HksAsn1Blob tlv = { .type = 0, .size = sizeof(tlvData), .data = tlvData }; variable
/base/update/updater/services/package/pkg_package/
Dpkg_upgradefile.cpp34 #define TLV_CHECK_AND_RETURN(tlv, tlvType, len, fileLen) \ argument
638 PkgTlv tlv; in ReadComponents() local
672 void UpgradePkgFile::ParsePkgHeaderToTlv(const PkgBuffer &buffer, size_t &currLen, PkgTlv &tlv) in ParsePkgHeaderToTlv()
716 PkgTlv tlv; in ReadUpgradePkgHeader() local
/base/telephony/core_service/services/sim/src/
Dusim_dialling_numbers_service.cpp269 std::shared_ptr<UsimDiallingNumberFile> file, std::shared_ptr<TagService> tlv, int parentTag) in StorePbrDetailInfo()
Dsim_file.cpp424 unsigned char *tlv = data.get(); in ParsePnn() local