metautils / asn1 : ugly embedded function now externalized.

Change-Id: I44617669d0cb35c24a258b57efb904c05472ca53