Lines Matching +full:256 +full:- +full:byte
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.
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";
68 mfspr $vrsave,256
70 mtspr 256,r0
77 le?vxor 5,5,6 # set a b-endian mask
80 vspltisb $xC2,-16 # 0xf0
90 vspltb $t1,$H,0 # most significant byte
101 stvx_u $xC2,0,r3 # save pre-computed table
106 mtspr 256,$vrsave
109 .byte 0,12,0x14,0,0,0,2,0
111 .size .gcm_init_p8,.-.gcm_init_p8
116 mfspr $vrsave,256
118 mtspr 256,r0
122 lvx_u $Hl,r8,$Htbl # load pre-computed table
154 mtspr 256,$vrsave
157 .byte 0,12,0x14,0,0,0,2,0
159 .size .gcm_gmult_p8,.-.gcm_gmult_p8
164 mfspr $vrsave,256
166 mtspr 256,r0
170 lvx_u $Hl,r8,$Htbl # load pre-computed table
191 subfe. r0,r0,r0 # borrow?-1:0
215 beq Loop # did $len-=16 borrow?
221 mtspr 256,$vrsave
224 .byte 0,12,0x14,0,0,0,4,0
226 .size .gcm_ghash_p8,.-.gcm_ghash_p8
233 if ($flavour =~ /le$/o) { # little-endian