Lines Matching refs:l
63 register DES_LONG l,r,t,u; in DES_encrypt1() local
73 l=data[1]; in DES_encrypt1()
75 IP(r,l); in DES_encrypt1()
85 l=ROTATE(l,29)&0xffffffffL; in DES_encrypt1()
93 D_ENCRYPT(l,r, 0); /* 1 */ in DES_encrypt1()
94 D_ENCRYPT(r,l, 2); /* 2 */ in DES_encrypt1()
95 D_ENCRYPT(l,r, 4); /* 3 */ in DES_encrypt1()
96 D_ENCRYPT(r,l, 6); /* 4 */ in DES_encrypt1()
97 D_ENCRYPT(l,r, 8); /* 5 */ in DES_encrypt1()
98 D_ENCRYPT(r,l,10); /* 6 */ in DES_encrypt1()
99 D_ENCRYPT(l,r,12); /* 7 */ in DES_encrypt1()
100 D_ENCRYPT(r,l,14); /* 8 */ in DES_encrypt1()
101 D_ENCRYPT(l,r,16); /* 9 */ in DES_encrypt1()
102 D_ENCRYPT(r,l,18); /* 10 */ in DES_encrypt1()
103 D_ENCRYPT(l,r,20); /* 11 */ in DES_encrypt1()
104 D_ENCRYPT(r,l,22); /* 12 */ in DES_encrypt1()
105 D_ENCRYPT(l,r,24); /* 13 */ in DES_encrypt1()
106 D_ENCRYPT(r,l,26); /* 14 */ in DES_encrypt1()
107 D_ENCRYPT(l,r,28); /* 15 */ in DES_encrypt1()
108 D_ENCRYPT(r,l,30); /* 16 */ in DES_encrypt1()
112 D_ENCRYPT(l,r,i+0); /* 1 */ in DES_encrypt1()
113 D_ENCRYPT(r,l,i+2); /* 2 */ in DES_encrypt1()
114 D_ENCRYPT(l,r,i+4); /* 3 */ in DES_encrypt1()
115 D_ENCRYPT(r,l,i+6); /* 4 */ in DES_encrypt1()
122 D_ENCRYPT(l,r,30); /* 16 */ in DES_encrypt1()
123 D_ENCRYPT(r,l,28); /* 15 */ in DES_encrypt1()
124 D_ENCRYPT(l,r,26); /* 14 */ in DES_encrypt1()
125 D_ENCRYPT(r,l,24); /* 13 */ in DES_encrypt1()
126 D_ENCRYPT(l,r,22); /* 12 */ in DES_encrypt1()
127 D_ENCRYPT(r,l,20); /* 11 */ in DES_encrypt1()
128 D_ENCRYPT(l,r,18); /* 10 */ in DES_encrypt1()
129 D_ENCRYPT(r,l,16); /* 9 */ in DES_encrypt1()
130 D_ENCRYPT(l,r,14); /* 8 */ in DES_encrypt1()
131 D_ENCRYPT(r,l,12); /* 7 */ in DES_encrypt1()
132 D_ENCRYPT(l,r,10); /* 6 */ in DES_encrypt1()
133 D_ENCRYPT(r,l, 8); /* 5 */ in DES_encrypt1()
134 D_ENCRYPT(l,r, 6); /* 4 */ in DES_encrypt1()
135 D_ENCRYPT(r,l, 4); /* 3 */ in DES_encrypt1()
136 D_ENCRYPT(l,r, 2); /* 2 */ in DES_encrypt1()
137 D_ENCRYPT(r,l, 0); /* 1 */ in DES_encrypt1()
141 D_ENCRYPT(l,r,i-0); /* 16 */ in DES_encrypt1()
142 D_ENCRYPT(r,l,i-2); /* 15 */ in DES_encrypt1()
143 D_ENCRYPT(l,r,i-4); /* 14 */ in DES_encrypt1()
144 D_ENCRYPT(r,l,i-6); /* 13 */ in DES_encrypt1()
150 l=ROTATE(l,3)&0xffffffffL; in DES_encrypt1()
153 FP(r,l); in DES_encrypt1()
154 data[0]=l; in DES_encrypt1()
156 l=r=t=u=0; in DES_encrypt1()
161 register DES_LONG l,r,t,u; in DES_encrypt2() local
171 l=data[1]; in DES_encrypt2()
181 l=ROTATE(l,29)&0xffffffffL; in DES_encrypt2()
189 D_ENCRYPT(l,r, 0); /* 1 */ in DES_encrypt2()
190 D_ENCRYPT(r,l, 2); /* 2 */ in DES_encrypt2()
191 D_ENCRYPT(l,r, 4); /* 3 */ in DES_encrypt2()
192 D_ENCRYPT(r,l, 6); /* 4 */ in DES_encrypt2()
193 D_ENCRYPT(l,r, 8); /* 5 */ in DES_encrypt2()
194 D_ENCRYPT(r,l,10); /* 6 */ in DES_encrypt2()
195 D_ENCRYPT(l,r,12); /* 7 */ in DES_encrypt2()
196 D_ENCRYPT(r,l,14); /* 8 */ in DES_encrypt2()
197 D_ENCRYPT(l,r,16); /* 9 */ in DES_encrypt2()
198 D_ENCRYPT(r,l,18); /* 10 */ in DES_encrypt2()
199 D_ENCRYPT(l,r,20); /* 11 */ in DES_encrypt2()
200 D_ENCRYPT(r,l,22); /* 12 */ in DES_encrypt2()
201 D_ENCRYPT(l,r,24); /* 13 */ in DES_encrypt2()
202 D_ENCRYPT(r,l,26); /* 14 */ in DES_encrypt2()
203 D_ENCRYPT(l,r,28); /* 15 */ in DES_encrypt2()
204 D_ENCRYPT(r,l,30); /* 16 */ in DES_encrypt2()
208 D_ENCRYPT(l,r,i+0); /* 1 */ in DES_encrypt2()
209 D_ENCRYPT(r,l,i+2); /* 2 */ in DES_encrypt2()
210 D_ENCRYPT(l,r,i+4); /* 3 */ in DES_encrypt2()
211 D_ENCRYPT(r,l,i+6); /* 4 */ in DES_encrypt2()
218 D_ENCRYPT(l,r,30); /* 16 */ in DES_encrypt2()
219 D_ENCRYPT(r,l,28); /* 15 */ in DES_encrypt2()
220 D_ENCRYPT(l,r,26); /* 14 */ in DES_encrypt2()
221 D_ENCRYPT(r,l,24); /* 13 */ in DES_encrypt2()
222 D_ENCRYPT(l,r,22); /* 12 */ in DES_encrypt2()
223 D_ENCRYPT(r,l,20); /* 11 */ in DES_encrypt2()
224 D_ENCRYPT(l,r,18); /* 10 */ in DES_encrypt2()
225 D_ENCRYPT(r,l,16); /* 9 */ in DES_encrypt2()
226 D_ENCRYPT(l,r,14); /* 8 */ in DES_encrypt2()
227 D_ENCRYPT(r,l,12); /* 7 */ in DES_encrypt2()
228 D_ENCRYPT(l,r,10); /* 6 */ in DES_encrypt2()
229 D_ENCRYPT(r,l, 8); /* 5 */ in DES_encrypt2()
230 D_ENCRYPT(l,r, 6); /* 4 */ in DES_encrypt2()
231 D_ENCRYPT(r,l, 4); /* 3 */ in DES_encrypt2()
232 D_ENCRYPT(l,r, 2); /* 2 */ in DES_encrypt2()
233 D_ENCRYPT(r,l, 0); /* 1 */ in DES_encrypt2()
237 D_ENCRYPT(l,r,i-0); /* 16 */ in DES_encrypt2()
238 D_ENCRYPT(r,l,i-2); /* 15 */ in DES_encrypt2()
239 D_ENCRYPT(l,r,i-4); /* 14 */ in DES_encrypt2()
240 D_ENCRYPT(r,l,i-6); /* 13 */ in DES_encrypt2()
245 data[0]=ROTATE(l,3)&0xffffffffL; in DES_encrypt2()
247 l=r=t=u=0; in DES_encrypt2()
253 register DES_LONG l,r; in DES_encrypt3() local
255 l=data[0]; in DES_encrypt3()
257 IP(l,r); in DES_encrypt3()
258 data[0]=l; in DES_encrypt3()
263 l=data[0]; in DES_encrypt3()
265 FP(r,l); in DES_encrypt3()
266 data[0]=l; in DES_encrypt3()
273 register DES_LONG l,r; in DES_decrypt3() local
275 l=data[0]; in DES_decrypt3()
277 IP(l,r); in DES_decrypt3()
278 data[0]=l; in DES_decrypt3()
283 l=data[0]; in DES_decrypt3()
285 FP(r,l); in DES_decrypt3()
286 data[0]=l; in DES_decrypt3()
304 register long l=length; in DES_ede3_cbc_encrypt() local
316 for (l-=8; l>=0; l-=8) in DES_ede3_cbc_encrypt()
332 if (l != -8) in DES_ede3_cbc_encrypt()
334 c2ln(in,tin0,tin1,l+8); in DES_ede3_cbc_encrypt()
357 for (l-=8; l>=0; l-=8) in DES_ede3_cbc_encrypt()
378 if (l != -8) in DES_ede3_cbc_encrypt()
394 l2cn(tout0,tout1,out,l+8); in DES_ede3_cbc_encrypt()