Commit Graph

30 Commits

Author SHA1 Message Date
Lev Walkin 9d1b45f8ac Fix UPER string decoding constrained only by lower bound > 0 2017-10-02 00:42:00 -07:00
Lev Walkin a5972bedae Combined constraints and introduced value randomizer. 2017-09-29 23:15:58 -07:00
Lev Walkin afbf2a9828 add const 2017-09-12 23:30:27 -07:00
Lev Walkin 154519a3a7 removed superfluous constraints duplication 2017-09-06 23:34:40 -07:00
Bi-Ruei, Chiu 1f87ac0058 Move type operations to another structure
Every type has free, print, check_constraints, ber_decoder, der_encoder,
xer_decoder, xer_encoder, uper_decoder, uper_encoder and outmost_tag
operations. We move them out to a separate structure asn_TYPE_operation_t.

Combined with previous logic simplification, these operations are based
on ASN.1 basic types, constructed types and string types. So we can
reduce the space occupied by asn_TYPE_descriptor_t variables.
2017-08-24 14:09:28 +08:00
Lev Walkin cd2f48eb5a structure comparison functions 2017-08-10 02:52:25 -07:00
Lev Walkin 494fb707a7 fix warnings 2017-08-07 20:07:08 -07:00
Lev Walkin 63099079dc no warnings 2017-08-06 23:46:26 -07:00
Lev Walkin 6bd4b29665 encode ANY as open type for PER 2017-08-06 00:59:05 -07:00
Bi-Ruei, Chiu 1fa31c9e3e Simplify the logic of accessing codec function for specific TYPE 2017-08-02 14:06:07 -07:00
Lev Walkin b33425f16b fix OER stubs order 2017-08-02 13:32:18 -07:00
Lev Walkin 7678076f34 introduce oer constraint code 2017-08-02 13:32:16 -07:00
Lev Walkin cc1594746a add skeleton OER stubs 2017-08-02 13:32:16 -07:00
Bi-Ruei, Chiu 419ac3a6ce Unify the naming of asn_OCTET_STRING_specifics_t with code-generated
'_specifics_t' variables to have 'asn_SPC_' prefix instead of 'asn_DEF_'
prefix.
2016-11-09 20:38:41 +08:00
Lev Walkin 7c1dc05f0e do not use reserved identifiers, contd 2016-03-14 03:08:19 -07:00
Lev Walkin 3a4689a7da BMPString and UniversalString support 2006-11-24 11:20:27 +00:00
Lev Walkin 523de9eba2 per support 2006-08-18 01:34:18 +00:00
Lev Walkin adcb586c0c macro for free_struct() 2006-03-17 02:11:12 +00:00
Lev Walkin 59b176ee35 upgrade: PER related changes 2005-11-26 11:25:14 +00:00
Lev Walkin fc77643765 globalized assert() 2005-03-29 17:21:14 +00:00
Lev Walkin 40fecb008d oops, allocating invalid amount of memory. 2005-01-22 00:11:28 +00:00
Lev Walkin dc06f6b0d2 XER support 2004-10-20 15:50:55 +00:00
Lev Walkin bbd9325d2e BIT STRING now stores the number of unused octets in a separate field. 2004-10-12 05:57:23 +00:00
Lev Walkin 5e03376b84 asn1_* renamed into asn_* 2004-09-29 13:26:15 +00:00
Lev Walkin 8e8078aa88 clean-up; removed unnecessary field from type descriptor 2004-09-26 13:10:40 +00:00
Lev Walkin cc6a910ae4 pretty-printing 2004-09-23 22:06:26 +00:00
Lev Walkin a9cc46e3f3 XER support 2004-09-22 16:06:28 +00:00
Lev Walkin d563d39768 added type2any and any2type conversion routines 2004-09-13 08:26:57 +00:00
Lev Walkin 906654e1d7 refactored tagging support 2004-09-10 15:49:15 +00:00
Lev Walkin a737f3b441 preliminary ANY support 2004-09-02 12:11:47 +00:00