commented and cleaned crypto-interface.c