#include <asm/byteorder.h>
#endif
-#include "afs/longc_procs.h"
-
#else /* KERNEL */
#include <afs/stds.h>
#include <sys/types.h>
+#include <string.h>
#ifdef AFS_NT40_ENV
#include <winsock2.h>
#else
/* IN int encrypt; * 0 ==> decrypt, else encrypt */
afs_int32
fc_ecb_encrypt(void * clear, void * cipher,
- fc_KeySchedule schedule, int encrypt)
+ const fc_KeySchedule schedule, int encrypt)
{
afs_uint32 L, R;
volatile afs_uint32 S, P;
*/
afs_int32
fc_cbc_encrypt(void *input, void *output, afs_int32 length,
- fc_KeySchedule key, afs_uint32 * xor, int encrypt)
+ const fc_KeySchedule key, afs_uint32 * xor, int encrypt)
{
afs_uint32 i, j;
afs_uint32 t_input[2];