Lines Matching +full:ip +full:- +full:blocks

1 /* SPDX-License-Identifier: GPL-2.0-only */
11 * 'Faster and Timing-Attack Resistant AES-GCM' by Emilia Kaesper and
15 * for 32-bit ARM written by Andy Polyakov <appro@openssl.org>
24 rounds .req ip
262 vld1.8 {\t0-\t1}, [bskey, :256]!
264 vld1.8 {\t2-\t3}, [bskey, :256]!
269 vld1.8 {\t0-\t1}, [bskey, :256]!
273 vld1.8 {\t2-\t3}, [bskey, :256]!
354 vld1.8 {\t0-\t1}, [bskey, :256]!
356 vld1.8 {\t2-\t3}, [bskey, :256]!
358 vld1.8 {\t4-\t5}, [bskey, :256]!
360 vld1.8 {\t6-\t7}, [bskey, :256]
469 vst1.8 {q0-q1}, [r0, :256]!
470 vst1.8 {q2-q3}, [r0, :256]!
471 vst1.8 {q4-q5}, [r0, :256]!
472 vst1.8 {q6-q7}, [r0, :256]!
619 * int blocks)
621 * int blocks)
624 push {r4-r6, lr}
625 ldr r5, [sp, #16] // number of blocks
627 99: adr ip, 0f
630 sub ip, ip, lr, lsl #2
631 movlt pc, ip // computed goto if blocks < 8
646 adr ip, 1f
649 sub ip, ip, lr, lsl #2
650 movlt pc, ip // computed goto if blocks < 8
664 pop {r4-r6, pc}
679 * int rounds, int blocks, u8 iv[])
683 mov ip, sp
684 push {r4-r6, lr}
685 ldm ip, {r5-r6} // load args 4-5
687 99: adr ip, 0f
690 sub ip, ip, lr, lsl #2
692 movlt pc, ip // computed goto if blocks < 8
716 adr ip, 1f
719 sub ip, ip, lr, lsl #2
720 movlt pc, ip // computed goto if blocks < 8
731 1: adr ip, 2f
732 sub ip, ip, lr, lsl #3
733 movlt pc, ip // computed goto if blocks < 8
757 pop {r4-r6, pc}
775 mov ip, sp
776 push {r4-r10, lr}
778 ldm ip, {r5, r6} // load args 4-5
792 adr ip, 0f
798 sub ip, ip, lr, lsl #1
800 add ip, ip, lr, lsr #2
802 movle pc, ip // computed goto if bytes < 112
816 adr ip, 1f
822 sub ip, ip, lr, lsr #2
824 movcc pc, ip // computed goto if bytes < 128
836 add ip, ip, #2f - 1b
848 movcc pc, ip // computed goto if bytes < 128
866 pop {r4-r10, pc}
871 vld1.8 {q8-q9}, [lr]
878 mov pc, ip // branch back to VST sequence
885 pop {r4-r10, pc}
907 * int blocks, u8 iv[], int reorder_last_tweak)
909 * int blocks, u8 iv[], int reorder_last_tweak)
919 adr ip, 0f
922 sub ip, ip, r4, lsl #5
924 movlt pc, ip // computed goto if blocks < 8
977 push {r4-r8, lr}
979 ldrd r6, r7, [sp, #24] // get blocks and iv args
980 rsb r8, ip, #1
981 sub ip, sp, #128 // make room for 8x tweak
982 bic ip, ip, #0xf // align sp to 16 bytes
983 mov sp, ip
991 adr ip, 0f
994 sub ip, ip, lr, lsl #2
996 movlt pc, ip // computed goto if blocks < 8
1007 0: adr ip, 1f
1008 sub ip, ip, lr, lsl #3
1009 movlt pc, ip // computed goto if blocks < 8
1032 pop {r4-r8, pc}
1036 mov ip, #0 // never reorder final tweak
1041 ldr ip, [sp, #8] // reorder final tweak?