add double sha256 c code base on fpga changes
use dsha256() instread of gen_hash()
reset the sha256 h at sha256_init
switch to hardware sha256_precalc