Lines Matching refs:x

61 my @x=map("r$_",(0..7,"x","x","x","x",12,"x",14,"x"));
71 my ($xd,$xd_) = $odd ? (@t[2],@x[$d1]) : (@x[$d0],@t[2]);
99 "&add (@x[$a0],@x[$a0],@x[$b0])",
101 "&add (@x[$a1],@x[$a1],@x[$b1])",
103 "&eor ($xd,$xd,@x[$a0],'ror#16')",
104 "&eor ($xd_,$xd_,@x[$a1],'ror#16')",
107 "&mov (@x[$b0],@x[$b0],'ror#20')",
109 "&mov (@x[$b1],@x[$b1],'ror#20')",
110 "&eor (@x[$b0],@x[$b0],$xc,'ror#20')",
111 "&eor (@x[$b1],@x[$b1],$xc_,'ror#20')",
113 "&add (@x[$a0],@x[$a0],@x[$b0])",
115 "&add (@x[$a1],@x[$a1],@x[$b1])",
117 "&eor ($xd,$xd,@x[$a0],'ror#24')",
118 "&eor ($xd_,$xd_,@x[$a1],'ror#24')",
121 "&mov (@x[$b0],@x[$b0],'ror#25')" );
127 "&mov (@x[$b1],@x[$b1],'ror#25')" );
132 "&eor (@x[$b0],@x[$b0],$xc,'ror#25')",
133 "&eor (@x[$b1],@x[$b1],$xc_,'ror#25')" );
135 $xd=@x[$d2] if (!$odd);
136 $xd_=@x[$d3] if ($odd);
140 "&add (@x[$a2],@x[$a2],@x[$b2])",
144 "&add (@x[$a3],@x[$a3],@x[$b3])",
146 "&eor ($xd,$xd,@x[$a2],'ror#16')",
147 "&eor ($xd_,$xd_,@x[$a3],'ror#16')",
150 "&mov (@x[$b2],@x[$b2],'ror#20')",
152 "&mov (@x[$b3],@x[$b3],'ror#20')",
153 "&eor (@x[$b2],@x[$b2],$xc,'ror#20')",
154 "&eor (@x[$b3],@x[$b3],$xc_,'ror#20')",
156 "&add (@x[$a2],@x[$a2],@x[$b2])",
158 "&add (@x[$a3],@x[$a3],@x[$b3])",
160 "&eor ($xd,$xd,@x[$a2],'ror#24')",
161 "&eor ($xd_,$xd_,@x[$a3],'ror#24')",
164 "&mov (@x[$b2],@x[$b2],'ror#25')",
166 "&mov (@x[$b3],@x[$b3],'ror#25')",
167 "&eor (@x[$b2],@x[$b2],$xc,'ror#25')",
168 "&eor (@x[$b3],@x[$b3],$xc_,'ror#25')" );
247 str r10,[sp,#4*(16+10)] @ off-load "@x[10]"
248 str r11,[sp,#4*(16+11)] @ off-load "@x[11]"
259 ldr @x[12],[sp,#4*(12)] @ modulo-scheduled load
261 ldr @x[14],[sp,#4*(14)]
279 str @x[12],[sp,#4*(16+12)]
281 str @x[14],[sp,#4*(16+14)]
284 @ @x[0-7] and second half at sp+4*(16+8)
310 add @x[0],@x[0],@t[0] @ accumulate key material
311 add @x[1],@x[1],@t[1]
318 add @x[2],@x[2],@t[2]
319 add @x[3],@x[3],@t[3]
326 rev @x[0],@x[0]
327 rev @x[1],@x[1]
328 rev @x[2],@x[2]
329 rev @x[3],@x[3]
334 eorhs @x[0],@x[0],@t[0] @ xor with input
335 eorhs @x[1],@x[1],@t[1]
337 str @x[0],[r14],#16 @ store output
341 eorhs @x[2],@x[2],@t[2]
342 eorhs @x[3],@x[3],@t[3]
344 str @x[1],[r14,#-12]
345 str @x[2],[r14,#-8]
346 str @x[3],[r14,#-4]
348 add @x[4],@x[4],@t[0] @ accumulate key material
349 add @x[5],@x[5],@t[1]
355 add @x[6],@x[6],@t[2]
356 add @x[7],@x[7],@t[3]
363 rev @x[4],@x[4]
364 rev @x[5],@x[5]
365 rev @x[6],@x[6]
366 rev @x[7],@x[7]
371 eorhs @x[4],@x[4],@t[0]
372 eorhs @x[5],@x[5],@t[1]
374 str @x[4],[r14],#16 @ store output
378 eorhs @x[6],@x[6],@t[2]
379 eorhs @x[7],@x[7],@t[3]
380 str @x[5],[r14,#-12]
382 str @x[6],[r14,#-8]
383 add @x[0],sp,#4*(16+8)
384 str @x[7],[r14,#-4]
386 ldmia @x[0],{@x[0]-@x[7]} @ load second half
388 add @x[0],@x[0],@t[0] @ accumulate key material
389 add @x[1],@x[1],@t[1]
398 strhi @t[2],[sp,#4*(16+10)] @ copy "@x[10]" while at it
399 strhi @t[3],[sp,#4*(16+11)] @ copy "@x[11]" while at it
400 add @x[2],@x[2],@t[2]
401 add @x[3],@x[3],@t[3]
408 rev @x[0],@x[0]
409 rev @x[1],@x[1]
410 rev @x[2],@x[2]
411 rev @x[3],@x[3]
416 eorhs @x[0],@x[0],@t[0]
417 eorhs @x[1],@x[1],@t[1]
419 str @x[0],[r14],#16 @ store output
423 eorhs @x[2],@x[2],@t[2]
424 eorhs @x[3],@x[3],@t[3]
425 str @x[1],[r14,#-12]
427 str @x[2],[r14,#-8]
428 str @x[3],[r14,#-4]
430 add @x[4],@x[4],@t[0] @ accumulate key material
431 add @x[5],@x[5],@t[1]
442 add @x[6],@x[6],@t[2]
443 add @x[7],@x[7],@t[3]
450 rev @x[4],@x[4]
451 rev @x[5],@x[5]
452 rev @x[6],@x[6]
453 rev @x[7],@x[7]
458 eorhs @x[4],@x[4],@t[0]
459 eorhs @x[5],@x[5],@t[1]
467 eorhs @x[6],@x[6],@t[2]
468 eorhs @x[7],@x[7],@t[3]
469 str @x[4],[r14],#16 @ store output
470 str @x[5],[r14,#-12]
475 str @x[6],[r14,#-8]
476 str @x[7],[r14,#-4]
495 add @x[0],sp,#4*(16+8)
498 ldmia @x[0],{@x[0]-@x[7]} @ load second half
502 strhi @t[2],[sp,#4*(16+10)] @ copy "@x[10]"
503 strhi @t[3],[sp,#4*(16+11)] @ copy "@x[11]"
506 add @x[$j+0],@x[$j+0],@t[0] @ accumulate key material
516 add @x[$j+1],@x[$j+1],@t[1]
517 add @x[$j+2],@x[$j+2],@t[2]
526 add @x[$j+3],@x[$j+3],@t[3]
535 eor @x[$j+0],@t[0],@x[$j+0] @ xor with input (or zero)
536 eor @x[$j+1],@t[1],@x[$j+1]
542 eor @x[$j+2],@t[2],@x[$j+2]
543 strb @x[$j+0],[r14],#16 @ store output
544 eor @x[$j+3],@t[3],@x[$j+3]
550 strb @x[$j+1],[r14,#-12]
551 eor @x[$j+0],@t[0],@x[$j+0],lsr#8
552 strb @x[$j+2],[r14,#-8]
553 eor @x[$j+1],@t[1],@x[$j+1],lsr#8
559 strb @x[$j+3],[r14,#-4]
560 eor @x[$j+2],@t[2],@x[$j+2],lsr#8
561 strb @x[$j+0],[r14,#-15]
562 eor @x[$j+3],@t[3],@x[$j+3],lsr#8
568 strb @x[$j+1],[r14,#-11]
569 eor @x[$j+0],@t[0],@x[$j+0],lsr#8
570 strb @x[$j+2],[r14,#-7]
571 eor @x[$j+1],@t[1],@x[$j+1],lsr#8
577 strb @x[$j+3],[r14,#-3]
578 eor @x[$j+2],@t[2],@x[$j+2],lsr#8
579 strb @x[$j+0],[r14,#-14]
580 eor @x[$j+3],@t[3],@x[$j+3],lsr#8
586 strb @x[$j+1],[r14,#-10]
587 strb @x[$j+2],[r14,#-6]
588 eor @x[$j+0],@t[0],@x[$j+0],lsr#8
589 strb @x[$j+3],[r14,#-2]
590 eor @x[$j+1],@t[1],@x[$j+1],lsr#8
591 strb @x[$j+0],[r14,#-13]
592 eor @x[$j+2],@t[2],@x[$j+2],lsr#8
593 strb @x[$j+1],[r14,#-9]
594 eor @x[$j+3],@t[3],@x[$j+3],lsr#8
595 strb @x[$j+2],[r14,#-5]
596 strb @x[$j+3],[r14,#-1]
698 str r10,[sp,#4*(16+10)] @ off-load "@x[10]"
699 str r11,[sp,#4*(16+11)] @ off-load "@x[11]"
726 ldr @x[12],[sp,#4*(12)] @ modulo-scheduled load
730 ldr @x[14],[sp,#4*(14)]
734 add @x[12],@x[12],#3 @ counter+3
773 str @x[12],[sp,#4*(16+12)]
775 str @x[14],[sp,#4*(16+14)]
778 @ @x[0-7] and second half at sp+4*(16+8)
840 add @x[0],@x[0],@t[0] @ accumulate key material
843 add @x[1],@x[1],@t[1]
846 add @x[2],@x[2],@t[2]
848 add @x[3],@x[3],@t[3]
851 rev @x[0],@x[0]
852 rev @x[1],@x[1]
853 rev @x[2],@x[2]
854 rev @x[3],@x[3]
856 eor @x[0],@x[0],@t[0] @ xor with input
858 eor @x[1],@x[1],@t[1]
859 str @x[0],[r14],#16 @ store output
860 eor @x[2],@x[2],@t[2]
861 str @x[1],[r14,#-12]
862 eor @x[3],@x[3],@t[3]
864 str @x[2],[r14,#-8]
865 str @x[3],[r14,#-4]
867 add @x[4],@x[4],@t[0] @ accumulate key material
869 add @x[5],@x[5],@t[1]
871 add @x[6],@x[6],@t[2]
873 add @x[7],@x[7],@t[3]
876 rev @x[4],@x[4]
877 rev @x[5],@x[5]
878 rev @x[6],@x[6]
879 rev @x[7],@x[7]
881 eor @x[4],@x[4],@t[0]
883 eor @x[5],@x[5],@t[1]
884 str @x[4],[r14],#16 @ store output
885 eor @x[6],@x[6],@t[2]
886 str @x[5],[r14,#-12]
887 eor @x[7],@x[7],@t[3]
889 str @x[6],[r14,#-8]
890 add @x[0],sp,#4*(16+8)
891 str @x[7],[r14,#-4]
893 ldmia @x[0],{@x[0]-@x[7]} @ load second half
895 add @x[0],@x[0],@t[0] @ accumulate key material
897 add @x[1],@x[1],@t[1]
902 strhi @t[2],[sp,#4*(16+10)] @ copy "@x[10]" while at it
903 add @x[2],@x[2],@t[2]
908 strhi @t[3],[sp,#4*(16+11)] @ copy "@x[11]" while at it
909 add @x[3],@x[3],@t[3]
912 rev @x[0],@x[0]
913 rev @x[1],@x[1]
914 rev @x[2],@x[2]
915 rev @x[3],@x[3]
917 eor @x[0],@x[0],@t[0]
919 eor @x[1],@x[1],@t[1]
920 str @x[0],[r14],#16 @ store output
921 eor @x[2],@x[2],@t[2]
922 str @x[1],[r14,#-12]
923 eor @x[3],@x[3],@t[3]
925 str @x[2],[r14,#-8]
926 str @x[3],[r14,#-4]
928 add @x[4],@x[4],@t[0] @ accumulate key material
930 add @x[5],@x[5],@t[1]
933 add @x[6],@x[6],@t[2]
934 add @x[4],@x[4],#3 @ counter+3
936 add @x[7],@x[7],@t[3]
940 rev @x[4],@x[4]
941 rev @x[5],@x[5]
942 rev @x[6],@x[6]
943 rev @x[7],@x[7]
945 eor @x[4],@x[4],@t[0]
950 eor @x[5],@x[5],@t[1]
951 eor @x[6],@x[6],@t[2]
952 str @x[4],[r14],#16 @ store output
953 eor @x[7],@x[7],@t[3]
954 str @x[5],[r14,#-12]
956 str @x[6],[r14,#-8]
957 str @x[7],[r14,#-4]
973 ldr @x[12],[sp,#4*(16+10)]
974 ldr @x[14],[sp,#4*(16+11)]
976 str @x[12],[sp,#4*(20+16+10)] @ copy "@x[10]"
977 str @x[14],[sp,#4*(20+16+11)] @ copy "@x[11]"
980 ldr @x[12],[sp,#4*(12)] @ modulo-scheduled load
982 ldr @x[14],[sp,#4*(14)]
1087 add @x[0],@x[0],@t[0] @ accumulate key material
1089 add @x[1],@x[1],@t[1]
1090 add @x[2],@x[2],@t[2]
1091 add @x[3],@x[3],@t[3]
1094 add @x[4],@x[4],@t[0] @ accumulate key material
1096 add @x[5],@x[5],@t[1]
1097 add @x[6],@x[6],@t[2]
1098 add @x[7],@x[7],@t[3]
1101 rev @x[0],@x[0]
1102 rev @x[1],@x[1]
1103 rev @x[2],@x[2]
1104 rev @x[3],@x[3]
1105 rev @x[4],@x[4]
1106 rev @x[5],@x[5]
1107 rev @x[6],@x[6]
1108 rev @x[7],@x[7]
1110 stmia sp,{@x[0]-@x[7]}
1111 add @x[0],sp,#4*(16+8)
1113 ldmia @x[0],{@x[0]-@x[7]} @ load second half
1115 add @x[0],@x[0],@t[0] @ accumulate key material
1117 add @x[1],@x[1],@t[1]
1118 add @x[2],@x[2],@t[2]
1119 add @x[3],@x[3],@t[3]
1122 add @x[4],@x[4],@t[0] @ accumulate key material
1124 add @x[5],@x[5],@t[1]
1125 add @x[4],@x[4],#3 @ counter+3
1126 add @x[6],@x[6],@t[2]
1127 add @x[7],@x[7],@t[3]
1130 rev @x[0],@x[0]
1131 rev @x[1],@x[1]
1132 rev @x[2],@x[2]
1133 rev @x[3],@x[3]
1134 rev @x[4],@x[4]
1135 rev @x[5],@x[5]
1136 rev @x[6],@x[6]
1137 rev @x[7],@x[7]
1139 stmia @t[0],{@x[0]-@x[7]}