Lines Matching +full:phase +full:- +full:shift
2 # SPDX-License-Identifier: GPL-2.0
26 # version is ~2.1x slower than hardware-assisted AES-128-CTR, ~12x
27 # faster than "4-bit" integer-only compiler-generated 64-bit code.
30 $flavour=shift;
31 $output =shift;
48 ( $xlate="${dir}ppc-xlate.pl" and -f $xlate ) or
49 ( $xlate="${dir}../../perlasm/ppc-xlate.pl" and -f $xlate) or
50 die "can't locate ppc-xlate.pl";
79 le?vxor 5,5,6 # set a b-endian mask
82 vspltisb $xC2,-16 # 0xf0
103 stvx_u $xC2,0,r3 # save pre-computed table
113 .size .gcm_init_p10,.-.gcm_init_p10
124 vspltisb $xC2,-16 # 0xf0
145 stvx_u $xC2,0,r3 # save pre-computed table
157 vpmsumd $t2,$Xl,$xC2 # 1st reduction phase
167 vsldoi $t1,$Xl,$Xl,8 # 2nd reduction phase
190 vpmsumd $t2,$Xl,$xC2 # 1st reduction phase
191 vpmsumd $t6,$Xl1,$xC2 # 1st reduction phase
207 vsldoi $t1,$Xl,$Xl,8 # 2nd reduction phase
208 vsldoi $t5,$Xl1,$Xl1,8 # 2nd reduction phase
238 .size .gcm_init_htable,.-.gcm_init_htable
249 lvx_u $Hl,r8,$Htbl # load pre-computed table
263 vpmsumd $t2,$Xl,$xC2 # 1st phase
273 vsldoi $t1,$Xl,$Xl,8 # 2nd phase
286 .size .gcm_gmult_p10,.-.gcm_gmult_p10
297 lvx_u $Hl,r8,$Htbl # load pre-computed table
318 subfe. r0,r0,r0 # borrow?-1:0
324 vpmsumd $t2,$Xl,$xC2 # 1st phase
336 vsldoi $t1,$Xl,$Xl,8 # 2nd phase
342 beq Loop # did $len-=16 borrow?
353 .size .gcm_ghash_p10,.-.gcm_ghash_p10
360 if ($flavour =~ /le$/o) { # little-endian