add missing init of decryptfunc