Xiaotian Zhou

Results 4 comments of Xiaotian Zhou

Hi let me give you a more detailed description. Suppose we have the following ASN.1 definition, and we compile it using the pycrate compiler. ```asn1 Foo DEFINITIONS AUTOMATIC TAGS ::=...

I think that the decoder should raise. Because pycrate will check the number of remaining bytes in some sense. In this case, if we feed the parser `c0409020` as input,...

In X.691 30.1, it says: _The following restricted character string types are known-multiplier character string types: NumericString, PrintableString, VisibleString (ISO646String), IA5String, BMPString, and UniversalString. Effective permitted-alphabet constraints are PER-visible only...

Sorry, I included the wrong function. Here's the correct one, ```cpp ValOrError unpack_enum(uint32_t nof_types, uint32_t nof_exts, bool has_ext, cbit_ref& bref) { ValOrError ret; if (has_ext) { uint32_t nof_bits = (uint32_t)std::ceil(std::log2(nof_types...