migrated serv_crypto.c to new config format