Deleted Added
full compact
0a1,3
> /* $FreeBSD: head/sys/crypto/des/des_locl.h 62587 2000-07-04 16:35:15Z itojun $ */
> /* $KAME: des_locl.h,v 1.4 2000/03/27 04:43:46 sumikawa Exp $ */
>
46,47d48
< *
< * $FreeBSD: head/sys/crypto/des/des_locl.h 55206 1999-12-29 05:07:58Z peter $
63c64
< #define HEADER_DES_LOCL_H
---
> #define HEADER_DES_LOCL_H
67c68
< #define MSDOS
---
> #define MSDOS
92c93
< #define RAND
---
> #define RAND
108c109
< #define RAND
---
> #define RAND
116,117c117,118
< #define getpid() 2
< #define RAND
---
> #define getpid() 2
> #define RAND
122c123
< #define const
---
> #define const
130,131c131,132
< #define srandom(s) srand(s)
< #define random rand
---
> #define srandom(s) srand(s)
> #define random rand
134,135c135,136
< #define ITERATIONS 16
< #define HALF_ITERATIONS 8
---
> #define ITERATIONS 16
> #define HALF_ITERATIONS 8
138,139c139,140
< #define MAXWRITE (1024*16)
< #define BSIZE (MAXWRITE+4)
---
> #define MAXWRITE (1024*16)
> #define BSIZE (MAXWRITE+4)
141c142
< #define c2l(c,l) (l =((DES_LONG)(*((c)++))) , \
---
> #define c2l(c,l) (l =((DES_LONG)(*((c)++))) , \
147c148
< #define c2ln(c,l1,l2,n) { \
---
> #define c2ln(c,l1,l2,n) { \
162c163
< #define l2c(l,c) (*((c)++)=(unsigned char)(((l) )&0xff), \
---
> #define l2c(l,c) (*((c)++)=(unsigned char)(((l) )&0xff), \
169c170
< #define HDRSIZE 4
---
> #define HDRSIZE 4
171c172
< #define n2l(c,l) (l =((DES_LONG)(*((c)++)))<<24L, \
---
> #define n2l(c,l) (l =((DES_LONG)(*((c)++)))<<24L, \
176c177
< #define l2n(l,c) (*((c)++)=(unsigned char)(((l)>>24L)&0xff), \
---
> #define l2n(l,c) (*((c)++)=(unsigned char)(((l)>>24L)&0xff), \
182c183
< #define l2cn(l1,l2,c,n) { \
---
> #define l2cn(l1,l2,c,n) { \
210c211
< #define D_ENCRYPT(L,R,S) { \
---
> #define D_ENCRYPT(L,R,S) { \
225c226
< #define D_ENCRYPT(L,R,S) \
---
> #define D_ENCRYPT(L,R,S) \
239c240
< #define D_ENCRYPT(Q,R,S) {\
---
> #define D_ENCRYPT(Q,R,S) {\
291c292
< #define PERM_OP(a,b,t,n,m) ((t)=((((a)>>(n))^(b))&(m)),\
---
> #define PERM_OP(a,b,t,n,m) ((t)=((((a)>>(n))^(b))&(m)),\
295c296
< #define IP(l,r) \
---
> #define IP(l,r) \
305c306
< #define FP(l,r) \
---
> #define FP(l,r) \
318c319
< #define mbuf2char(i_mbuf, i_index, in) \
---
> #define mbuf2char(i_mbuf, i_index, in) \
320,321c321,322
< register int i; \
< struct mbuf *m; \
---
> register int i; \
> struct mbuf *m; \
333c334
< #define char2mbuf(o_mbuf, o_index, out) \
---
> #define char2mbuf(o_mbuf, o_index, out) \
335,336c336,337
< register int i; \
< struct mbuf *m; \
---
> register int i; \
> struct mbuf *m; \