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";
70 mfspr $vrsave,256
72 mtspr 256,r0
79 le?vxor 5,5,6 # set a b-endian mask
82 vspltisb $xC2,-16 # 0xf0
92 vspltb $t1,$H,0 # most significant byte
103 stvx_u $xC2,0,r3 # save pre-computed table
108 mtspr 256,$vrsave
111 .byte 0,12,0x14,0,0,0,2,0
113 .size .gcm_init_p10,.-.gcm_init_p10
118 mfspr $vrsave,256
120 mtspr 256,r0
124 vspltisb $xC2,-16 # 0xf0
134 vspltb $t1,$H,0 # most significant byte
145 stvx_u $xC2,0,r3 # save pre-computed table
233 mtspr 256,$vrsave
236 .byte 0,12,0x14,0,0,0,2,0
238 .size .gcm_init_htable,.-.gcm_init_htable
243 mfspr $vrsave,256
245 mtspr 256,r0
249 lvx_u $Hl,r8,$Htbl # load pre-computed table
281 mtspr 256,$vrsave
284 .byte 0,12,0x14,0,0,0,2,0
286 .size .gcm_gmult_p10,.-.gcm_gmult_p10
291 mfspr $vrsave,256
293 mtspr 256,r0
297 lvx_u $Hl,r8,$Htbl # load pre-computed table
318 subfe. r0,r0,r0 # borrow?-1:0
342 beq Loop # did $len-=16 borrow?
348 mtspr 256,$vrsave
351 .byte 0,12,0x14,0,0,0,4,0
353 .size .gcm_ghash_p10,.-.gcm_ghash_p10
360 if ($flavour =~ /le$/o) { # little-endian