Home
last modified time | relevance | path

Searched refs:SZ (Results 1 – 25 of 42) sorted by relevance

12

/freebsd/crypto/openssl/crypto/sha/asm/
H A Dsha512-ia64.pl82 $SZ=8;
83 $BITS=8*$SZ;
96 $SZ=4;
97 $BITS=8*$SZ;
160 { .mib; add r8=0*$SZ,ctx
161 add r9=1*$SZ,ctx }
162 { .mib; add r10=2*$SZ,ctx
163 add r11=3*$SZ,ctx };;
167 { .mmi; $LDW A_=[r8],4*$SZ
168 $LDW B_=[r9],4*$SZ
[all …]
H A Dsha512-x86_64.pl153 $SZ=8;
165 $SZ=4;
180 $_ctx="16*$SZ+0*8(%rsp)";
181 $_inp="16*$SZ+1*8(%rsp)";
182 $_end="16*$SZ+2*8(%rsp)";
183 $_rsp="`16*$SZ+3*8`(%rsp)";
184 $framesz="16*$SZ+4*8";
189 my $STRIDE=$SZ;
190 $STRIDE += 16 if ($i%(16/$SZ)==(16/$SZ-1));
200 mov $T1,`$SZ*($i&0xf)`(%rsp)
[all …]
H A Dsha512-s390x.pl81 $SZ=8;
95 $SZ=4;
111 $frame=$stdframe+16*$SZ;
117 $LD $T1,`$i*$SZ`($inp) ### $i
126 $ST $T1,`$stdframe+$SZ*($i%16)`($sp)
134 $ADD $T1,`$i*$SZ`($len,$tbl) # T1+=K[i]
155 $LD $T1,`$stdframe+$SZ*(($i+1)%16)`($sp) ### $i
156 $LD $t1,`$stdframe+$SZ*(($i+14)%16)`($sp)
164 $ADD $T1,`$stdframe+$SZ*($i%16)`($sp) # +=X[i]
167 $ADD $T1,`$stdframe+$SZ*(($i+9)%16)`($sp) # +=X[i+9]
[all …]
H A Dsha512-sparcv9.pl66 $SZ=8;
79 $locals=16*$SZ; # X[16]
92 $SZ=4;
169 } if ($SZ==4);
197 $ST $tmp2,[%sp+STACK_BIAS+STACK_FRAME+`$i*$SZ`]
204 ld [%sp+STACK_BIAS+STACK_FRAME+`(($i+1+1)%16)*$SZ+0`],%l2
207 ld [%sp+STACK_BIAS+STACK_FRAME+`(($i+1+1)%16)*$SZ+4`],%l3
209 ld [%sp+STACK_BIAS+STACK_FRAME+`(($i+1+9)%16)*$SZ+0`],%l4
212 ld [%sp+STACK_BIAS+STACK_FRAME+`(($i+1+9)%16)*$SZ+4`],%l5
214 ld [%sp+STACK_BIAS+STACK_FRAME+`(($i+1+14)%16)*$SZ+0`],%l6
[all …]
H A Dsha512-mips.pl99 $SZ=8;
114 $SZ=4;
129 $MSB = $big_endian ? 0 : ($SZ-1);
130 $LSB = ($SZ-1)&~$MSB;
145 ${LD} @X[1],`($i+1)*$SZ`($inp)
147 ${LD}l @X[1],`($i+1)*$SZ+$MSB`($inp)
148 ${LD}r @X[1],`($i+1)*$SZ+$LSB`($inp)
151 $code.=<<___ if (!$big_endian && $i<16 && $SZ==4);
167 $code.=<<___ if (!$big_endian && $i<16 && $SZ==8);
207 $LD $tmp2,`$i*$SZ`($Ktbl) # K[$i]
[all …]
H A Dsha512-ppc.pl79 $SZ=8;
91 $SZ=4;
103 $FRAME=32*$SIZE_T+16*$SZ;
132 $inp="r31" if($SZ==4 || $SIZE_T==8); # reassigned $inp! aliases with @X[15]
163 $LD $t1,`($i+1)*$SZ`($Tbl)
187 $LD $t1,`$i*$SZ`($Tbl)
203 $SHL $num,$num,`log(16*$SZ)/log(2)`
228 if ($SZ==4 || $SIZE_T==8) {
230 $LD $A,`0*$SZ`($ctx)
232 $LD $B,`1*$SZ`($ctx)
[all …]
H A Dsha512-parisc.pl64 $SZ=8;
76 $SZ=4;
90 $XOFF=16*$SZ+32; # local variables
136 `"$LDM $SZ($Tbl),$t1" if ($i<15)`
158 $LDM $SZ($Tbl),$t1
178 $code.=<<___ if ($SZ==8);
220 $code.=<<___ if ($SZ==4);
264 _shl $num,`log(16*$SZ)/log(2)`,$num
277 $code.=<<___ if ($SZ==8 && $SIZE_T==4);
285 $LD `0*$SZ`($ctx),$A ; load context
[all …]
H A Dsha512-armv8.pl77 $SZ=8;
86 $SZ=4;
115 ldp @X[$i+1],@X[$i+2],[$inp],#2*$SZ
121 ldr @X[($i-11)&15],[sp,#`$SZ*(($i-11)%4)`]
127 str @X[($i-8)&15],[sp,#`$SZ*(($i-8)%4)`]
155 ldr $t3,[$Ktbl],#$SZ // *K++, $t2 in next round
184 ldr $t3,[$Ktbl],#$SZ // *K++, $t2 in next round
210 $code.=<<___ if ($SZ==4);
216 $code.=<<___ if ($SZ==8);
231 sub sp,sp,#4*$SZ
[all …]
H A Dsha512p8-ppc.pl74 $SZ=8;
79 $SZ=4;
109 $code.=<<___ if ($i<15 && ($i%(16/$SZ))==(16/$SZ-1));
113 $code.=<<___ if ($i<16 && ($i%(16/$SZ)));
114 vsldoi @X[$i],@X[$i-1],@X[$i-1],$SZ
116 $code.=<<___ if ($LENDIAN && $i<16 && ($i%(16/$SZ))==0);
199 $code.=<<___ if ($SZ==4);
209 $code.=<<___ if ($SZ==8);
269 $code.=<<___ if ($SZ==4);
281 $code.=<<___ if ($SZ==8);
[all …]
/freebsd/crypto/openssl/crypto/aes/asm/
H A Daesni-sha256-x86_64.pl87 $SZ=4;
110 $_inp="16*$SZ+0*8(%rsp)";
111 $_out="16*$SZ+1*8(%rsp)";
112 $_end="16*$SZ+2*8(%rsp)";
113 $_key="16*$SZ+3*8(%rsp)";
114 $_ivp="16*$SZ+4*8(%rsp)";
115 $_ctx="16*$SZ+5*8(%rsp)";
116 $_in0="16*$SZ+6*8(%rsp)";
117 $_rsp="`16*$SZ+7*8`(%rsp)";
118 $framesz=16*$SZ+8*8;
[all …]
/freebsd/crypto/openssl/crypto/rc4/asm/
H A Drc4-parisc.pl59 $SZ=1; # defaults to RC4_CHAR
63 $SZ = ($1=~/char$/) ? 1 : 4;
70 if ($SZ==1) { # RC4_CHAR
167 $LD `0*$SZ`($key),$XX[0]
168 $LD `1*$SZ`($key),$YY
169 ldo `2*$SZ`($key),$key
242 $ST $XX[0],`-2*$SZ`($key)
243 $ST $YY,`-1*$SZ`($key)
262 $ST %r0,`0*$SZ`($key)
263 $ST %r0,`1*$SZ`($key)
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/M68k/
H A DM68kInstrArithmetic.td198 foreach SZ = [8, 16, 32] in {
200 def NAME#SZ#"dk" : MxBiArOp_R_RM<MN, NODE,
201 !cast<MxType>("MxType"#SZ#"d"),
202 !cast<MxType>("MxType"#SZ).KOp,
203 !cast<MxType>("MxType"#SZ).KPat,
206 def NAME#SZ#"dq" : MxBiArOp_R_RM<MN, NODE,
207 !cast<MxType>("MxType"#SZ#"d"),
208 !cast<MxType>("MxType"#SZ).QOp,
209 !cast<MxType>("MxType"#SZ).QPat,
212 def NAME#SZ#"dp" : MxBiArOp_R_RM<MN, NODE,
[all …]
/freebsd/tools/test/stress2/misc/
H A Dshm3.sh36 error = ftruncate(shmfd, SZ);
40 for (cnt = 0; cnt < SZ; cnt += sizeof(buf)) {
47 ptr = mmap(NULL, SZ, PROT_READ | PROT_WRITE, MAP_SHARED,
51 for (cnt = 0; cnt < SZ; cnt += PAGE_SIZE)
H A Dshm_super.sh58 error = ftruncate(shmfd, SZ);
62 for (cnt = 0; cnt < SZ; cnt += sizeof(buf)) {
69 ptr = mmap(NULL, SZ, PROT_READ | PROT_WRITE, MAP_SHARED |
73 for (cnt = 0; cnt < SZ; cnt += PAGE_SIZE)
H A Dsendfile10.sh107 share[SZ] = length;
166 if (t != share[SZ] && t != share[OSZ]) {
169 (unsigned long)share[SZ],
226 share[SZ] = statb.st_size;
/freebsd/contrib/elftoolchain/elfcopy/
H A Dsymbols.c891 #define _ADDSYM(B, SZ) do { \ in add_to_symtab() argument
892 if (sy_buf->B##SZ == NULL) { \ in add_to_symtab()
893 sy_buf->B##SZ = malloc(sy_buf->B##cap * \ in add_to_symtab()
894 sizeof(Elf##SZ##_Sym)); \ in add_to_symtab()
895 if (sy_buf->B##SZ == NULL) \ in add_to_symtab()
899 sy_buf->B##SZ = realloc(sy_buf->B##SZ, sy_buf->B##cap * \ in add_to_symtab()
900 sizeof(Elf##SZ##_Sym)); \ in add_to_symtab()
901 if (sy_buf->B##SZ == NULL) \ in add_to_symtab()
904 sy_buf->B##SZ[sy_buf->n##B##s].st_info = st_info; \ in add_to_symtab()
905 sy_buf->B##SZ[sy_buf->n##B##s].st_other = st_other; \ in add_to_symtab()
[all …]
H A Dsections.c722 #define COPYREL(REL, SZ) do { \ in filter_reloc() argument
724 if ((REL##SZ = malloc(cap * \ in filter_reloc()
725 sizeof(*REL##SZ))) == NULL) \ in filter_reloc()
730 if ((REL##SZ = realloc(REL##SZ, cap * \ in filter_reloc()
731 sizeof(*REL##SZ))) == NULL) \ in filter_reloc()
734 REL##SZ[nrels].r_offset = REL.r_offset; \ in filter_reloc()
735 REL##SZ[nrels].r_info = REL.r_info; \ in filter_reloc()
737 rela##SZ[nrels].r_addend = rela.r_addend; \ in filter_reloc()
/freebsd/contrib/elftoolchain/libelf/
H A Dlibelf_ehdr.c91 #define EHDR_INIT(E,SZ) do { \ argument
92 Elf##SZ##_Ehdr *eh = (E); \
97 eh->e_ident[EI_CLASS] = ELFCLASS##SZ; \
H A Dlibelf_ar_util.c261 #define READ_AR_HEADER(S, ARH, SZ, END) \ in _libelf_ar_open() argument
269 sizeof((ARH).ar_size), 10, &(SZ)) == 0) \ in _libelf_ar_open()
H A Dlibelf_convert.m4198 `SWAP_$2'SZ()`(t.$1);
210 `pushdef(`SZ',$2)/* Swap an Elf$2_$1 */
211 SWAP_MEMBERS(Elf$2_$1_DEF)popdef(`SZ')')
216 `WRITE_$2'SZ()`(dst,t.$1);
228 `pushdef(`SZ',$2)/* Write an Elf$2_$1 */
229 WRITE_MEMBERS(Elf$2_$1_DEF)popdef(`SZ')')
234 `READ_$2'SZ()`(s,t.$1);
246 `pushdef(`SZ',$2)/* Read an Elf$2_$1 */
247 READ_MEMBERS(Elf$2_$1_DEF)popdef(`SZ')')
/freebsd/stand/kboot/kboot/arch/amd64/
H A Dload_addr.c111 #define SZ(s) (((s).end - (s).start) + 1) macro
127 SZ(segs[i]) < sz || in find_ram()
/freebsd/contrib/unbound/contrib/
H A Dunbound-fuzzme.patch117 +#define SZ 10000
120 + char buffer[SZ];
121 + size_t n_read = fread(buffer, 1, SZ, stdin);
122 + if (n_read == SZ) {
/freebsd/crypto/openssl/test/recipes/15-test_dsaparam_data/valid/
H A Dp1024_q160_t1864_gind1.pem3 6SZ/jsgWVVmKSz4BR+pBXYhtzjWk9hJwtyDDMKgb/aQ+A6ceN3Q+56+wyrtq4IHn
/freebsd/sys/contrib/device-tree/src/arm/ti/omap/
H A Dam335x-moxa-uc-2101.dts5 * Authors: SZ Lin (林上智) <sz.lin@moxa.com>
H A Dam335x-moxa-uc-8100-me-t.dts5 * Author: SZ Lin (林上智) <sz.lin@moxa.com>

12