add crypto.c and driver.c