make aes_setupEnc a static function.