For my hobby cryptography project, I'm planning to implement some helper functions that parses a subset of ASN.1 BER encoding without using a ASN.1 compiler. For this purpose, I'd like to use 32-bit integer for the internal representation of tags' and lengths' values.
If I were to extend my library to other application domains such as CMS (cryptographic message syntax), should I prepare to extend my type to 64-bit?