wrapper for micro-ecc