#include <sys/sysproto.h>
#include <sys/signalvar.h> /* for psignal() */
-
+#include <kern/debug.h>
#ifdef GPROF
#include <sys/gmon.h>
*/
/* ARGSUSED */
int
-nosys(struct proc *p, __unused struct nosys_args *args, __unused register_t *retval)
+nosys(struct proc *p, __unused struct nosys_args *args, __unused int32_t *retval)
{
psignal(p, SIGSYS);
return (ENOSYS);
}
#endif
+#if !CRYPTO
+#include <crypto/rc4/rc4.h>
+
+/* Stubs must be present in all configs for Unsupported KPI exports */
+
+void
+rc4_init(struct rc4_state *state __unused, const u_char *key __unused, int keylen __unused)
+{
+ panic("rc4_init: unsupported kernel configuration");
+}
+
+void
+rc4_crypt(struct rc4_state *state __unused,
+ const u_char *inbuf __unused, u_char *outbuf __unused, int buflen __unused)
+{
+ panic("rc4_crypt: unsupported kernel configuration");
+}
+#endif /* !CRYPTO */