add sha util
update api code generation code, update asm