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";
77 le?vxor 5,5,6 # set a b-endian mask
80 vspltisb $xC2,-16 # 0xf0
101 stvx_u $xC2,0,r3 # save pre-computed table
111 .size .gcm_init_p8,.-.gcm_init_p8
122 lvx_u $Hl,r8,$Htbl # load pre-computed table
136 vpmsumd $t2,$Xl,$xC2 # 1st phase
146 vsldoi $t1,$Xl,$Xl,8 # 2nd phase
159 .size .gcm_gmult_p8,.-.gcm_gmult_p8
170 lvx_u $Hl,r8,$Htbl # load pre-computed table
191 subfe. r0,r0,r0 # borrow?-1:0
197 vpmsumd $t2,$Xl,$xC2 # 1st phase
209 vsldoi $t1,$Xl,$Xl,8 # 2nd phase
215 beq Loop # did $len-=16 borrow?
226 .size .gcm_ghash_p8,.-.gcm_ghash_p8
233 if ($flavour =~ /le$/o) { # little-endian