Lines Matching refs:r4
224 u32 r0,r1,r2,r3,r4; in serpent_setkey() local
249 r4 = le32_to_cpu(k[7]); in serpent_setkey()
251 keyiter(le32_to_cpu(k[0]),r0,r4,r2,0,0); in serpent_setkey()
253 keyiter(le32_to_cpu(k[2]),r2,r1,r4,2,2); in serpent_setkey()
255 keyiter(le32_to_cpu(k[4]),r4,r3,r1,4,4); in serpent_setkey()
256 keyiter(le32_to_cpu(k[5]),r0,r4,r2,5,5); in serpent_setkey()
258 keyiter(le32_to_cpu(k[7]),r2,r1,r4,7,7); in serpent_setkey()
260 keyiter(k[ 0],r3,r2,r0, 8, 8); keyiter(k[ 1],r4,r3,r1, 9, 9); in serpent_setkey()
261 keyiter(k[ 2],r0,r4,r2, 10, 10); keyiter(k[ 3],r1,r0,r3, 11, 11); in serpent_setkey()
262 keyiter(k[ 4],r2,r1,r4, 12, 12); keyiter(k[ 5],r3,r2,r0, 13, 13); in serpent_setkey()
263 keyiter(k[ 6],r4,r3,r1, 14, 14); keyiter(k[ 7],r0,r4,r2, 15, 15); in serpent_setkey()
264 keyiter(k[ 8],r1,r0,r3, 16, 16); keyiter(k[ 9],r2,r1,r4, 17, 17); in serpent_setkey()
265 keyiter(k[ 10],r3,r2,r0, 18, 18); keyiter(k[ 11],r4,r3,r1, 19, 19); in serpent_setkey()
266 keyiter(k[ 12],r0,r4,r2, 20, 20); keyiter(k[ 13],r1,r0,r3, 21, 21); in serpent_setkey()
267 keyiter(k[ 14],r2,r1,r4, 22, 22); keyiter(k[ 15],r3,r2,r0, 23, 23); in serpent_setkey()
268 keyiter(k[ 16],r4,r3,r1, 24, 24); keyiter(k[ 17],r0,r4,r2, 25, 25); in serpent_setkey()
269 keyiter(k[ 18],r1,r0,r3, 26, 26); keyiter(k[ 19],r2,r1,r4, 27, 27); in serpent_setkey()
270 keyiter(k[ 20],r3,r2,r0, 28, 28); keyiter(k[ 21],r4,r3,r1, 29, 29); in serpent_setkey()
271 keyiter(k[ 22],r0,r4,r2, 30, 30); keyiter(k[ 23],r1,r0,r3, 31, 31); in serpent_setkey()
275 keyiter(k[-26],r2,r1,r4, 32,-18); keyiter(k[-25],r3,r2,r0, 33,-17); in serpent_setkey()
276 keyiter(k[-24],r4,r3,r1, 34,-16); keyiter(k[-23],r0,r4,r2, 35,-15); in serpent_setkey()
277 keyiter(k[-22],r1,r0,r3, 36,-14); keyiter(k[-21],r2,r1,r4, 37,-13); in serpent_setkey()
278 keyiter(k[-20],r3,r2,r0, 38,-12); keyiter(k[-19],r4,r3,r1, 39,-11); in serpent_setkey()
279 keyiter(k[-18],r0,r4,r2, 40,-10); keyiter(k[-17],r1,r0,r3, 41, -9); in serpent_setkey()
280 keyiter(k[-16],r2,r1,r4, 42, -8); keyiter(k[-15],r3,r2,r0, 43, -7); in serpent_setkey()
281 keyiter(k[-14],r4,r3,r1, 44, -6); keyiter(k[-13],r0,r4,r2, 45, -5); in serpent_setkey()
282 keyiter(k[-12],r1,r0,r3, 46, -4); keyiter(k[-11],r2,r1,r4, 47, -3); in serpent_setkey()
283 keyiter(k[-10],r3,r2,r0, 48, -2); keyiter(k[ -9],r4,r3,r1, 49, -1); in serpent_setkey()
284 keyiter(k[ -8],r0,r4,r2, 50, 0); keyiter(k[ -7],r1,r0,r3, 51, 1); in serpent_setkey()
285 keyiter(k[ -6],r2,r1,r4, 52, 2); keyiter(k[ -5],r3,r2,r0, 53, 3); in serpent_setkey()
286 keyiter(k[ -4],r4,r3,r1, 54, 4); keyiter(k[ -3],r0,r4,r2, 55, 5); in serpent_setkey()
287 keyiter(k[ -2],r1,r0,r3, 56, 6); keyiter(k[ -1],r2,r1,r4, 57, 7); in serpent_setkey()
288 keyiter(k[ 0],r3,r2,r0, 58, 8); keyiter(k[ 1],r4,r3,r1, 59, 9); in serpent_setkey()
289 keyiter(k[ 2],r0,r4,r2, 60, 10); keyiter(k[ 3],r1,r0,r3, 61, 11); in serpent_setkey()
290 keyiter(k[ 4],r2,r1,r4, 62, 12); keyiter(k[ 5],r3,r2,r0, 63, 13); in serpent_setkey()
291 keyiter(k[ 6],r4,r3,r1, 64, 14); keyiter(k[ 7],r0,r4,r2, 65, 15); in serpent_setkey()
292 keyiter(k[ 8],r1,r0,r3, 66, 16); keyiter(k[ 9],r2,r1,r4, 67, 17); in serpent_setkey()
293 keyiter(k[ 10],r3,r2,r0, 68, 18); keyiter(k[ 11],r4,r3,r1, 69, 19); in serpent_setkey()
294 keyiter(k[ 12],r0,r4,r2, 70, 20); keyiter(k[ 13],r1,r0,r3, 71, 21); in serpent_setkey()
295 keyiter(k[ 14],r2,r1,r4, 72, 22); keyiter(k[ 15],r3,r2,r0, 73, 23); in serpent_setkey()
296 keyiter(k[ 16],r4,r3,r1, 74, 24); keyiter(k[ 17],r0,r4,r2, 75, 25); in serpent_setkey()
297 keyiter(k[ 18],r1,r0,r3, 76, 26); keyiter(k[ 19],r2,r1,r4, 77, 27); in serpent_setkey()
298 keyiter(k[ 20],r3,r2,r0, 78, 28); keyiter(k[ 21],r4,r3,r1, 79, 29); in serpent_setkey()
299 keyiter(k[ 22],r0,r4,r2, 80, 30); keyiter(k[ 23],r1,r0,r3, 81, 31); in serpent_setkey()
303 keyiter(k[-26],r2,r1,r4, 82,-18); keyiter(k[-25],r3,r2,r0, 83,-17); in serpent_setkey()
304 keyiter(k[-24],r4,r3,r1, 84,-16); keyiter(k[-23],r0,r4,r2, 85,-15); in serpent_setkey()
305 keyiter(k[-22],r1,r0,r3, 86,-14); keyiter(k[-21],r2,r1,r4, 87,-13); in serpent_setkey()
306 keyiter(k[-20],r3,r2,r0, 88,-12); keyiter(k[-19],r4,r3,r1, 89,-11); in serpent_setkey()
307 keyiter(k[-18],r0,r4,r2, 90,-10); keyiter(k[-17],r1,r0,r3, 91, -9); in serpent_setkey()
308 keyiter(k[-16],r2,r1,r4, 92, -8); keyiter(k[-15],r3,r2,r0, 93, -7); in serpent_setkey()
309 keyiter(k[-14],r4,r3,r1, 94, -6); keyiter(k[-13],r0,r4,r2, 95, -5); in serpent_setkey()
310 keyiter(k[-12],r1,r0,r3, 96, -4); keyiter(k[-11],r2,r1,r4, 97, -3); in serpent_setkey()
311 keyiter(k[-10],r3,r2,r0, 98, -2); keyiter(k[ -9],r4,r3,r1, 99, -1); in serpent_setkey()
312 keyiter(k[ -8],r0,r4,r2,100, 0); keyiter(k[ -7],r1,r0,r3,101, 1); in serpent_setkey()
313 keyiter(k[ -6],r2,r1,r4,102, 2); keyiter(k[ -5],r3,r2,r0,103, 3); in serpent_setkey()
314 keyiter(k[ -4],r4,r3,r1,104, 4); keyiter(k[ -3],r0,r4,r2,105, 5); in serpent_setkey()
315 keyiter(k[ -2],r1,r0,r3,106, 6); keyiter(k[ -1],r2,r1,r4,107, 7); in serpent_setkey()
316 keyiter(k[ 0],r3,r2,r0,108, 8); keyiter(k[ 1],r4,r3,r1,109, 9); in serpent_setkey()
317 keyiter(k[ 2],r0,r4,r2,110, 10); keyiter(k[ 3],r1,r0,r3,111, 11); in serpent_setkey()
318 keyiter(k[ 4],r2,r1,r4,112, 12); keyiter(k[ 5],r3,r2,r0,113, 13); in serpent_setkey()
319 keyiter(k[ 6],r4,r3,r1,114, 14); keyiter(k[ 7],r0,r4,r2,115, 15); in serpent_setkey()
320 keyiter(k[ 8],r1,r0,r3,116, 16); keyiter(k[ 9],r2,r1,r4,117, 17); in serpent_setkey()
321 keyiter(k[ 10],r3,r2,r0,118, 18); keyiter(k[ 11],r4,r3,r1,119, 19); in serpent_setkey()
322 keyiter(k[ 12],r0,r4,r2,120, 20); keyiter(k[ 13],r1,r0,r3,121, 21); in serpent_setkey()
323 keyiter(k[ 14],r2,r1,r4,122, 22); keyiter(k[ 15],r3,r2,r0,123, 23); in serpent_setkey()
324 keyiter(k[ 16],r4,r3,r1,124, 24); keyiter(k[ 17],r0,r4,r2,125, 25); in serpent_setkey()
325 keyiter(k[ 18],r1,r0,r3,126, 26); keyiter(k[ 19],r2,r1,r4,127, 27); in serpent_setkey()
326 keyiter(k[ 20],r3,r2,r0,128, 28); keyiter(k[ 21],r4,r3,r1,129, 29); in serpent_setkey()
327 keyiter(k[ 22],r0,r4,r2,130, 30); keyiter(k[ 23],r1,r0,r3,131, 31); in serpent_setkey()
331 S3(r3,r4,r0,r1,r2); storekeys(r1,r2,r4,r3, 28); loadkeys(r1,r2,r4,r3, 24); in serpent_setkey()
332 S4(r1,r2,r4,r3,r0); storekeys(r2,r4,r3,r0, 24); loadkeys(r2,r4,r3,r0, 20); in serpent_setkey()
333 S5(r2,r4,r3,r0,r1); storekeys(r1,r2,r4,r0, 20); loadkeys(r1,r2,r4,r0, 16); in serpent_setkey()
334 S6(r1,r2,r4,r0,r3); storekeys(r4,r3,r2,r0, 16); loadkeys(r4,r3,r2,r0, 12); in serpent_setkey()
335 S7(r4,r3,r2,r0,r1); storekeys(r1,r2,r0,r4, 12); loadkeys(r1,r2,r0,r4, 8); in serpent_setkey()
336 S0(r1,r2,r0,r4,r3); storekeys(r0,r2,r4,r1, 8); loadkeys(r0,r2,r4,r1, 4); in serpent_setkey()
337 S1(r0,r2,r4,r1,r3); storekeys(r3,r4,r1,r0, 4); loadkeys(r3,r4,r1,r0, 0); in serpent_setkey()
338 S2(r3,r4,r1,r0,r2); storekeys(r2,r4,r3,r0, 0); loadkeys(r2,r4,r3,r0, -4); in serpent_setkey()
339 S3(r2,r4,r3,r0,r1); storekeys(r0,r1,r4,r2, -4); loadkeys(r0,r1,r4,r2, -8); in serpent_setkey()
340 S4(r0,r1,r4,r2,r3); storekeys(r1,r4,r2,r3, -8); loadkeys(r1,r4,r2,r3,-12); in serpent_setkey()
341 S5(r1,r4,r2,r3,r0); storekeys(r0,r1,r4,r3,-12); loadkeys(r0,r1,r4,r3,-16); in serpent_setkey()
342 S6(r0,r1,r4,r3,r2); storekeys(r4,r2,r1,r3,-16); loadkeys(r4,r2,r1,r3,-20); in serpent_setkey()
343 S7(r4,r2,r1,r3,r0); storekeys(r0,r1,r3,r4,-20); loadkeys(r0,r1,r3,r4,-24); in serpent_setkey()
344 S0(r0,r1,r3,r4,r2); storekeys(r3,r1,r4,r0,-24); loadkeys(r3,r1,r4,r0,-28); in serpent_setkey()
346 S1(r3,r1,r4,r0,r2); storekeys(r2,r4,r0,r3, 22); loadkeys(r2,r4,r0,r3, 18); in serpent_setkey()
347 S2(r2,r4,r0,r3,r1); storekeys(r1,r4,r2,r3, 18); loadkeys(r1,r4,r2,r3, 14); in serpent_setkey()
348 S3(r1,r4,r2,r3,r0); storekeys(r3,r0,r4,r1, 14); loadkeys(r3,r0,r4,r1, 10); in serpent_setkey()
349 S4(r3,r0,r4,r1,r2); storekeys(r0,r4,r1,r2, 10); loadkeys(r0,r4,r1,r2, 6); in serpent_setkey()
350 S5(r0,r4,r1,r2,r3); storekeys(r3,r0,r4,r2, 6); loadkeys(r3,r0,r4,r2, 2); in serpent_setkey()
351 S6(r3,r0,r4,r2,r1); storekeys(r4,r1,r0,r2, 2); loadkeys(r4,r1,r0,r2, -2); in serpent_setkey()
352 S7(r4,r1,r0,r2,r3); storekeys(r3,r0,r2,r4, -2); loadkeys(r3,r0,r2,r4, -6); in serpent_setkey()
353 S0(r3,r0,r2,r4,r1); storekeys(r2,r0,r4,r3, -6); loadkeys(r2,r0,r4,r3,-10); in serpent_setkey()
354 S1(r2,r0,r4,r3,r1); storekeys(r1,r4,r3,r2,-10); loadkeys(r1,r4,r3,r2,-14); in serpent_setkey()
355 S2(r1,r4,r3,r2,r0); storekeys(r0,r4,r1,r2,-14); loadkeys(r0,r4,r1,r2,-18); in serpent_setkey()
356 S3(r0,r4,r1,r2,r3); storekeys(r2,r3,r4,r0,-18); loadkeys(r2,r3,r4,r0,-22); in serpent_setkey()
358 S4(r2,r3,r4,r0,r1); storekeys(r3,r4,r0,r1, 28); loadkeys(r3,r4,r0,r1, 24); in serpent_setkey()
359 S5(r3,r4,r0,r1,r2); storekeys(r2,r3,r4,r1, 24); loadkeys(r2,r3,r4,r1, 20); in serpent_setkey()
360 S6(r2,r3,r4,r1,r0); storekeys(r4,r0,r3,r1, 20); loadkeys(r4,r0,r3,r1, 16); in serpent_setkey()
361 S7(r4,r0,r3,r1,r2); storekeys(r2,r3,r1,r4, 16); loadkeys(r2,r3,r1,r4, 12); in serpent_setkey()
362 S0(r2,r3,r1,r4,r0); storekeys(r1,r3,r4,r2, 12); loadkeys(r1,r3,r4,r2, 8); in serpent_setkey()
363 S1(r1,r3,r4,r2,r0); storekeys(r0,r4,r2,r1, 8); loadkeys(r0,r4,r2,r1, 4); in serpent_setkey()
364 S2(r0,r4,r2,r1,r3); storekeys(r3,r4,r0,r1, 4); loadkeys(r3,r4,r0,r1, 0); in serpent_setkey()
365 S3(r3,r4,r0,r1,r2); storekeys(r1,r2,r4,r3, 0); in serpent_setkey()
376 r0, r1, r2, r3, r4; in serpent_encrypt() local
389 S0(r0,r1,r2,r3,r4); LK(r2,r1,r3,r0,r4,1); in serpent_encrypt()
390 S1(r2,r1,r3,r0,r4); LK(r4,r3,r0,r2,r1,2); in serpent_encrypt()
391 S2(r4,r3,r0,r2,r1); LK(r1,r3,r4,r2,r0,3); in serpent_encrypt()
392 S3(r1,r3,r4,r2,r0); LK(r2,r0,r3,r1,r4,4); in serpent_encrypt()
393 S4(r2,r0,r3,r1,r4); LK(r0,r3,r1,r4,r2,5); in serpent_encrypt()
394 S5(r0,r3,r1,r4,r2); LK(r2,r0,r3,r4,r1,6); in serpent_encrypt()
395 S6(r2,r0,r3,r4,r1); LK(r3,r1,r0,r4,r2,7); in serpent_encrypt()
396 S7(r3,r1,r0,r4,r2); LK(r2,r0,r4,r3,r1,8); in serpent_encrypt()
397 S0(r2,r0,r4,r3,r1); LK(r4,r0,r3,r2,r1,9); in serpent_encrypt()
398 S1(r4,r0,r3,r2,r1); LK(r1,r3,r2,r4,r0,10); in serpent_encrypt()
399 S2(r1,r3,r2,r4,r0); LK(r0,r3,r1,r4,r2,11); in serpent_encrypt()
400 S3(r0,r3,r1,r4,r2); LK(r4,r2,r3,r0,r1,12); in serpent_encrypt()
401 S4(r4,r2,r3,r0,r1); LK(r2,r3,r0,r1,r4,13); in serpent_encrypt()
402 S5(r2,r3,r0,r1,r4); LK(r4,r2,r3,r1,r0,14); in serpent_encrypt()
403 S6(r4,r2,r3,r1,r0); LK(r3,r0,r2,r1,r4,15); in serpent_encrypt()
404 S7(r3,r0,r2,r1,r4); LK(r4,r2,r1,r3,r0,16); in serpent_encrypt()
405 S0(r4,r2,r1,r3,r0); LK(r1,r2,r3,r4,r0,17); in serpent_encrypt()
406 S1(r1,r2,r3,r4,r0); LK(r0,r3,r4,r1,r2,18); in serpent_encrypt()
407 S2(r0,r3,r4,r1,r2); LK(r2,r3,r0,r1,r4,19); in serpent_encrypt()
408 S3(r2,r3,r0,r1,r4); LK(r1,r4,r3,r2,r0,20); in serpent_encrypt()
409 S4(r1,r4,r3,r2,r0); LK(r4,r3,r2,r0,r1,21); in serpent_encrypt()
410 S5(r4,r3,r2,r0,r1); LK(r1,r4,r3,r0,r2,22); in serpent_encrypt()
411 S6(r1,r4,r3,r0,r2); LK(r3,r2,r4,r0,r1,23); in serpent_encrypt()
412 S7(r3,r2,r4,r0,r1); LK(r1,r4,r0,r3,r2,24); in serpent_encrypt()
413 S0(r1,r4,r0,r3,r2); LK(r0,r4,r3,r1,r2,25); in serpent_encrypt()
414 S1(r0,r4,r3,r1,r2); LK(r2,r3,r1,r0,r4,26); in serpent_encrypt()
415 S2(r2,r3,r1,r0,r4); LK(r4,r3,r2,r0,r1,27); in serpent_encrypt()
416 S3(r4,r3,r2,r0,r1); LK(r0,r1,r3,r4,r2,28); in serpent_encrypt()
417 S4(r0,r1,r3,r4,r2); LK(r1,r3,r4,r2,r0,29); in serpent_encrypt()
418 S5(r1,r3,r4,r2,r0); LK(r0,r1,r3,r2,r4,30); in serpent_encrypt()
419 S6(r0,r1,r3,r2,r4); LK(r3,r4,r1,r2,r0,31); in serpent_encrypt()
420 S7(r3,r4,r1,r2,r0); K(r0,r1,r2,r3,32); in serpent_encrypt()
434 r0, r1, r2, r3, r4; in serpent_decrypt() local
442 SI7(r0,r1,r2,r3,r4); KL(r1,r3,r0,r4,r2,31); in serpent_decrypt()
443 SI6(r1,r3,r0,r4,r2); KL(r0,r2,r4,r1,r3,30); in serpent_decrypt()
444 SI5(r0,r2,r4,r1,r3); KL(r2,r3,r0,r4,r1,29); in serpent_decrypt()
445 SI4(r2,r3,r0,r4,r1); KL(r2,r0,r1,r4,r3,28); in serpent_decrypt()
446 SI3(r2,r0,r1,r4,r3); KL(r1,r2,r3,r4,r0,27); in serpent_decrypt()
447 SI2(r1,r2,r3,r4,r0); KL(r2,r0,r4,r3,r1,26); in serpent_decrypt()
448 SI1(r2,r0,r4,r3,r1); KL(r1,r0,r4,r3,r2,25); in serpent_decrypt()
449 SI0(r1,r0,r4,r3,r2); KL(r4,r2,r0,r1,r3,24); in serpent_decrypt()
450 SI7(r4,r2,r0,r1,r3); KL(r2,r1,r4,r3,r0,23); in serpent_decrypt()
451 SI6(r2,r1,r4,r3,r0); KL(r4,r0,r3,r2,r1,22); in serpent_decrypt()
452 SI5(r4,r0,r3,r2,r1); KL(r0,r1,r4,r3,r2,21); in serpent_decrypt()
453 SI4(r0,r1,r4,r3,r2); KL(r0,r4,r2,r3,r1,20); in serpent_decrypt()
454 SI3(r0,r4,r2,r3,r1); KL(r2,r0,r1,r3,r4,19); in serpent_decrypt()
455 SI2(r2,r0,r1,r3,r4); KL(r0,r4,r3,r1,r2,18); in serpent_decrypt()
456 SI1(r0,r4,r3,r1,r2); KL(r2,r4,r3,r1,r0,17); in serpent_decrypt()
457 SI0(r2,r4,r3,r1,r0); KL(r3,r0,r4,r2,r1,16); in serpent_decrypt()
458 SI7(r3,r0,r4,r2,r1); KL(r0,r2,r3,r1,r4,15); in serpent_decrypt()
459 SI6(r0,r2,r3,r1,r4); KL(r3,r4,r1,r0,r2,14); in serpent_decrypt()
460 SI5(r3,r4,r1,r0,r2); KL(r4,r2,r3,r1,r0,13); in serpent_decrypt()
461 SI4(r4,r2,r3,r1,r0); KL(r4,r3,r0,r1,r2,12); in serpent_decrypt()
462 SI3(r4,r3,r0,r1,r2); KL(r0,r4,r2,r1,r3,11); in serpent_decrypt()
463 SI2(r0,r4,r2,r1,r3); KL(r4,r3,r1,r2,r0,10); in serpent_decrypt()
464 SI1(r4,r3,r1,r2,r0); KL(r0,r3,r1,r2,r4,9); in serpent_decrypt()
465 SI0(r0,r3,r1,r2,r4); KL(r1,r4,r3,r0,r2,8); in serpent_decrypt()
466 SI7(r1,r4,r3,r0,r2); KL(r4,r0,r1,r2,r3,7); in serpent_decrypt()
467 SI6(r4,r0,r1,r2,r3); KL(r1,r3,r2,r4,r0,6); in serpent_decrypt()
468 SI5(r1,r3,r2,r4,r0); KL(r3,r0,r1,r2,r4,5); in serpent_decrypt()
469 SI4(r3,r0,r1,r2,r4); KL(r3,r1,r4,r2,r0,4); in serpent_decrypt()
470 SI3(r3,r1,r4,r2,r0); KL(r4,r3,r0,r2,r1,3); in serpent_decrypt()
471 SI2(r4,r3,r0,r2,r1); KL(r3,r1,r2,r0,r4,2); in serpent_decrypt()
472 SI1(r3,r1,r2,r0,r4); KL(r4,r1,r2,r0,r3,1); in serpent_decrypt()
473 SI0(r4,r1,r2,r0,r3); K(r2,r3,r1,r4,0); in serpent_decrypt()
478 d[3] = cpu_to_le32(r4); in serpent_decrypt()