Home
last modified time | relevance | path

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

/base/security/device_auth/common_lib/impl/src/
Dhc_tlv_parser.c19 #define MAX_TLV_LENGTH (32 * 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()
118 if (encodeLen < 0 || encodeLen > MAX_TLV_LENGTH) { in EncodeTlvNode()
208 if (unknownChildLength < 0 || unknownChildLength > MAX_TLV_LENGTH) { in ParseTlvStruct()
212 if (childTotalLength > MAX_TLV_LENGTH) { in ParseTlvStruct()
217 if (childLength < 0 || childLength > MAX_TLV_LENGTH) { in ParseTlvStruct()
222 if (childTotalLength > MAX_TLV_LENGTH) { in ParseTlvStruct()
[all …]