cryptodev: add result field to mod exp and inv