[PATCH v5 22/27] lib/crypto: Adapt mscode_parser to MbedTLS