Home
last modified time | relevance | path

Searched refs:MAX_TLV_LENGTH (Results 1 – 2 of 2) sorted by relevance

/ohos5.0/base/security/device_auth/common_lib/impl/src/
H A Dhc_tlv_parser.c19 #define MAX_TLV_LENGTH (48 * 1024) macro
45 if (tlv->length > MAX_TLV_LENGTH) { in ParseTlvHead()
61 if (ret < 0 || ret > MAX_TLV_LENGTH) { in ParseTlvNode()
72 if (bodyLen < 0 || bodyLen > MAX_TLV_LENGTH) { in GetlenTlvNode()
90 if (bodyLen < 0 || bodyLen > MAX_TLV_LENGTH) { in EncodeTlvNode()
212 if (childTotalLength > MAX_TLV_LENGTH) { in ParseTlvStruct()
254 if (totalLen > MAX_TLV_LENGTH) { in EncodeTlvStruct()
277 if (childTotalLength > MAX_TLV_LENGTH) { in GetLenTlvStruct()
303 if (msgLen > MAX_TLV_LENGTH) { in DecodeTlvMessage()
353 if (len <= 0 || len > MAX_TLV_LENGTH) { in EncodeTlvBuffer()
[all …]
/ohos5.0/base/security/device_auth/test/unittest/deviceauth/unit_test/source/
H A Dcommon_lib_test.cpp33 static const uint32_t MAX_TLV_LENGTH = 32768; variable
533 tlvBase.length = MAX_TLV_LENGTH + 1;