| /onnv-gate/usr/src/common/crypto/arcfour/sun4v/ |
| H A D | arcfour_crypt.c | 71 unsigned int tmp0, tmp1, i_accum, shift = 0, i1; in arcfour_crypt() local 121 tmp1 = base[j]; in arcfour_crypt() 122 base[i] = (uchar_t)tmp1; in arcfour_crypt() 124 tmp0 += tmp1; in arcfour_crypt() 145 tmp1 = base[j]; in arcfour_crypt() 147 base[i] = (uchar_t)tmp1; in arcfour_crypt() 150 tmp0 += tmp1; in arcfour_crypt() 190 tmp1 = base[j]; in arcfour_crypt() 194 i_accum = tmp1; in arcfour_crypt() 197 tmp0 += tmp1; in arcfour_crypt() [all …]
|
| /onnv-gate/usr/src/uts/sun4u/vm/ |
| H A D | mach_sfmmu.h | 87 #define SET_SECCTX(cnum, is_shctx, tmp1, tmp2, label) \ argument 91 mov MMU_SCONTEXT, tmp1 ;\ 92 stxa cnum, [tmp1]ASI_MMU_CTX ;\ 94 sethi %hi(shctx_on), tmp1 ;\ 95 ld [tmp1 + %lo(shctx_on)], tmp1 ;\ 96 brz,pt tmp1, label/**/3 ;\ 100 set SHCTXREG_VALID_BIT, tmp1 ;\ 103 or cnum, tmp1, cnum ;\ 104 mov cnum, tmp1 ;\ 106 or cnum, tmp1, cnum ;\ [all …]
|
| /onnv-gate/usr/src/uts/sun4u/sys/ |
| H A D | fpras_impl.h | 140 #define FPRAS_INTERVAL(operation, blk, doex, tmp1, tmp2, tmp3, tmp4, label) \ argument 141 sethi %hi(fpras_interval), tmp1 ;\ 142 ldx [tmp1 + %lo(fpras_interval)], tmp1 ;\ 143 brlz,pn tmp1, label/**/f /* not initialized? */ ;\ 165 cmp tmp4, tmp1 /* compare delta to interval */ ;\ 169 ldn [THREAD_REG + T_CPU], tmp1 ;\ 170 ld [tmp1 + CPU_ID], tmp1 ;\ 173 sll tmp1, FPRAS_CHKFNGRP_SIZE_SHIFT, tmp1 ;\ 174 add doex, tmp1, doex ;\ 175 mov operation, tmp1 ;\ [all …]
|
| /onnv-gate/usr/src/common/openssl/crypto/cast/asm/ |
| H A D | cast-586.pl | 16 $tmp1="ecx"; 80 &E_CAST( 0,$S,$L,$R,$K,@F1,$tmp1,$tmp2,$tmp3,$tmp4); 81 &E_CAST( 1,$S,$R,$L,$K,@F2,$tmp1,$tmp2,$tmp3,$tmp4); 82 &E_CAST( 2,$S,$L,$R,$K,@F3,$tmp1,$tmp2,$tmp3,$tmp4); 83 &E_CAST( 3,$S,$R,$L,$K,@F1,$tmp1,$tmp2,$tmp3,$tmp4); 84 &E_CAST( 4,$S,$L,$R,$K,@F2,$tmp1,$tmp2,$tmp3,$tmp4); 85 &E_CAST( 5,$S,$R,$L,$K,@F3,$tmp1,$tmp2,$tmp3,$tmp4); 86 &E_CAST( 6,$S,$L,$R,$K,@F1,$tmp1,$tmp2,$tmp3,$tmp4); 87 &E_CAST( 7,$S,$R,$L,$K,@F2,$tmp1,$tmp2,$tmp3,$tmp4); 88 &E_CAST( 8,$S,$L,$R,$K,@F3,$tmp1,$tmp2,$tmp3,$tmp4); [all …]
|
| /onnv-gate/usr/src/cmd/mdb/sparc/v9/kmdb/ |
| H A D | kaif_asmutil.h | 46 #define ADVANCE_CRUMB_POINTER(cpusave, tmp1, tmp2) \ argument 47 ld [cpusave + KRS_CURCRUMBIDX], tmp1; \ 48 cmp tmp1, KAIF_NCRUMBS - 1; \ 51 add tmp1, 1, tmp1; \ 52 st tmp1, [cpusave + KRS_CURCRUMBIDX]; \ 53 ldx [cpusave + KRS_CURCRUMB], tmp1; \ 55 add tmp1, KRM_SIZE, tmp1; \ 58 add cpusave, KRS_CRUMBS, tmp1; \ 59 2: stx tmp1, [cpusave + KRS_CURCRUMB]; \ 64 stx %g0, [tmp1 + tmp2] [all …]
|
| /onnv-gate/usr/src/uts/sun4u/starfire/ml/ |
| H A D | drmach_asm.s | 58 #define ICACHE_FLUSHALL(lbl, arg1, arg2, tmp1) \ argument 59 ldxa [%g0]ASI_LSU, tmp1 ;\ 60 btst LSU_IC, tmp1 ;\ 62 sub arg1, arg2, tmp1 ;\ 64 stxa %g0, [tmp1]ASI_IC_TAG ;\ 66 cmp %g0, tmp1 ;\ 68 sub tmp1, arg2, tmp1 ;\ 75 #define DCACHE_FLUSHALL(lbl, arg1, arg2, tmp1) \ argument 76 ldxa [%g0]ASI_LSU, tmp1 ;\ 77 btst LSU_DC, tmp1 ;\ [all …]
|
| /onnv-gate/usr/src/common/openssl/crypto/md5/asm/ |
| H A D | md5-586.pl | 19 $tmp1="edi"; 46 &mov($tmp1,$C) if $pos < 0; 52 &xor($tmp1,$d); # F function - part 2 54 &and($tmp1,$b); # F function - part 3 57 &xor($tmp1,$d); # F function - part 4 59 &add($a,$tmp1); 60 &mov($tmp1,&Np($c)) if $pos < 1; # next tmp1 for R0 61 &mov($tmp1,&Np($c)) if $pos == 1; # next tmp1 for R1 78 &xor($tmp1,$b); # G function - part 2 79 &and($tmp1,$d); # G function - part 3 [all …]
|
| /onnv-gate/usr/src/common/openssl/crypto/bf/asm/ |
| H A D | bf-586.pl | 14 $tmp1="eax"; 43 &xor( $tmp1, $tmp1); 57 &BF_ENCRYPT($i+1,$R,$L,$P,$tmp1,$tmp2,$tmp3,$tmp4,1); 61 &BF_ENCRYPT($i+2,$L,$R,$P,$tmp1,$tmp2,$tmp3,$tmp4,1); 76 &BF_ENCRYPT($i,$R,$L,$P,$tmp1,$tmp2,$tmp3,$tmp4,0); 79 &BF_ENCRYPT($i-1,$L,$R,$P,$tmp1,$tmp2,$tmp3,$tmp4,0); 86 &mov(&DWP(4,$tmp1,"",0),$L); 88 &mov(&DWP(0,$tmp1,"",0),$R); 94 local($i,$L,$R,$P,$tmp1,$tmp2,$tmp3,$tmp4,$enc)=@_; 104 &movb( &LB($tmp1), &HB($tmp2)); # A [all …]
|
| H A D | bf-686.pl | 15 $tmp1="eax"; 43 &xor( $tmp1, $tmp1); 55 &BF_ENCRYPT($i+1,$R,$L,$P,$tot,$tmp1,$tmp2,$tmp3); 59 &BF_ENCRYPT($i+2,$L,$R,$P,$tot,$tmp1,$tmp2,$tmp3); 75 &BF_ENCRYPT($i,$R,$L,$P,$tot,$tmp1,$tmp2,$tmp3); 78 &BF_ENCRYPT($i-1,$L,$R,$P,$tot,$tmp1,$tmp2,$tmp3); 93 local($i,$L,$R,$P,$tot,$tmp1,$tmp2,$tmp3)=@_; 98 &movb( &LB($tmp1), &HB($R)); 104 &mov( $tot, &DWP(&n2a($BF_OFF+0x0000),$P,$tmp1,4)); 107 &movb( &LB($tmp1), &HB($R)); [all …]
|
| /onnv-gate/usr/src/common/openssl/crypto/des/asm/ |
| H A D | crypt586.pl | 78 local($r,$L,$R,$S,$trans,$u,$tmp1,$tmp2,$t)=@_; 89 &mov( $tmp1, $u); 90 &shl( $tmp1, 16); # 1 93 &xor( $u, $tmp1); # 2 95 &mov( $tmp1, &DWP(&n2a($S*4),$trans,"",0)); # 2 96 &xor( $u, $tmp1); 103 &xor( $tmp1, $tmp1); # 1 106 &movb( &LB($tmp1), &LB($u) ); 110 &xor( $L, &DWP(" ",$trans,$tmp1,0)); 111 &movb( &LB($tmp1), &LB($t) ); [all …]
|
| H A D | des686.pl | 145 local($L,$R,$S,$ks,$desSP,$u,$t,$tmp1,$tmp2,$tmp3)=@_; 155 &mov( $tmp1, $t ); # 1 1 157 &and( $tmp1, "0xfc" ); # 1 3 159 &xor( $L, &DWP("0x100+$desSP",$tmp1,"",0)); # 1 7 161 &mov( $tmp1, &DWP(" $desSP",$tmp2,"",0)); # 1 8 164 &xor( $L, $tmp1 ); # 1 9 166 &mov( $tmp1, $t ); # 2 1 167 &and( $tmp1, "0xfc" ); # 2 3 169 &xor( $L, &DWP("0x300+$desSP",$tmp1,"",0)); # 2 7 171 &mov( $tmp1, &DWP("0x200+$desSP",$tmp2,"",0)); # 2 8 [all …]
|
| H A D | des-586.pl | 142 local($r,$L,$R,$S,$trans,$u,$tmp1,$tmp2,$t)=@_; 145 &xor( $tmp1, $tmp1); 152 &movb( &LB($tmp1), &LB($u) ); 155 &xor( $L, &DWP(" ",$trans,$tmp1,0)); 156 &movb( &LB($tmp1), &LB($t) ); 160 &xor( $L, &DWP("0x100",$trans,$tmp1,0)); 161 &movb( &LB($tmp1), &HB($u) ); 167 &xor( $L, &DWP("0x600",$trans,$tmp1,0));
|
| /onnv-gate/usr/src/common/openssl/crypto/bn/asm/ |
| H A D | bn-586.pl | 335 $tmp1="ecx"; 353 &mov($tmp1,&DWP($i*4,$a,"",0)); # *a 355 &add($tmp1,$c); 358 &add($tmp1,$tmp2); 360 &mov(&DWP($i*4,$r,"",0),$tmp1); # *r 378 &mov($tmp1,&DWP($i*4,$a,"",0)); # *a 380 &add($tmp1,$c); 383 &add($tmp1,$tmp2); 386 &mov(&DWP($i*4,$r,"",0),$tmp1); # *r 407 $tmp1="ecx"; [all …]
|
| /onnv-gate/usr/src/common/openssl/crypto/ripemd/asm/ |
| H A D | rmd-586.pl | 18 $tmp1="eax"; 84 &xor($tmp1, $d) if $o == -1; 86 &xor($tmp1, $b); 89 &add($a, $tmp1); 90 &mov($tmp1, &Np($c)); # NEXT 97 &xor($tmp1, $d); 99 &xor($tmp1, $b); 100 &add($a, $tmp1); 101 &mov($tmp1, &Np($c)) if $o <= 0; 102 &mov($tmp1, -1) if $o == 1; [all …]
|
| /onnv-gate/usr/src/common/openssl/crypto/sha/asm/ |
| H A D | sha1-586.pl | 41 $tmp1="ebp"; 108 if ($n==0) { &mov($tmp1,$a); } 109 else { &mov($a,$tmp1); } 110 &rotl($tmp1,5); # tmp1=ROTATE(a,5) 113 &add($tmp1,$e); # tmp1+=e; 118 &lea($tmp1,&DWP($K,$tmp1,$e,1));# tmp1+=K_00_19+xi 120 if ($n==15) { &add($f,$tmp1); } # f+=tmp1 121 else { &add($tmp1,$f); } 132 &mov($tmp1,$c); # tmp1 to hold F_00_19(b,c,d) 134 &xor($tmp1,$d); [all …]
|
| /onnv-gate/usr/src/uts/sun4v/vm/ |
| H A D | mach_sfmmu.h | 75 #define SET_SECCTX(cnum, is_shctx, tmp1, tmp2, label) \ argument 76 mov MMU_SCONTEXT, tmp1; \ 77 movrnz is_shctx, MMU_SCONTEXT1, tmp1; \ 78 stxa cnum, [tmp1]ASI_MMU_CTX; /* set 2nd ctx reg. */ \ 106 #define SETUP_UTSB_ATOMIC_ASI(tmp1, tmp2) argument 326 #define TTE_SET_REF_ML(tte, ttepa, tsbarea, tmp1, tmp2, label) \ argument 334 or tte, TTE_REF_INT, tmp1; \ 335 casxa [ttepa]ASI_MEM, tte, tmp1; /* update ref bit */ \ 336 cmp tte, tmp1; \ 358 #define TTE_SET_REFMOD_ML(tte, ttepa, tsbarea, tmp1, tmp2, label, \ argument [all …]
|
| /onnv-gate/usr/src/common/openssl/crypto/bn/asm/x86/ |
| H A D | sub.pl | 15 $tmp1="ecx"; 33 &mov($tmp1,&DWP($i*4,$a,"",0)); # *a 35 &sub($tmp1,$c); 38 &sub($tmp1,$tmp2); 40 &mov(&DWP($i*4,$r,"",0),$tmp1); # *r 58 &mov($tmp1,&DWP($i*4,$a,"",0)); # *a 60 &sub($tmp1,$c); 63 &sub($tmp1,$tmp2); 66 &mov(&DWP($i*4,$r,"",0),$tmp1); # *a
|
| H A D | add.pl | 15 $tmp1="ecx"; 33 &mov($tmp1,&DWP($i*4,$a,"",0)); # *a 35 &add($tmp1,$c); 38 &add($tmp1,$tmp2); 40 &mov(&DWP($i*4,$r,"",0),$tmp1); # *r 58 &mov($tmp1,&DWP($i*4,$a,"",0)); # *a 60 &add($tmp1,$c); 63 &add($tmp1,$tmp2); 66 &mov(&DWP($i*4,$r,"",0),$tmp1); # *a
|
| /onnv-gate/usr/src/common/openssl/crypto/rc5/asm/ |
| H A D | rc5-586.pl | 14 $tmp1="eax"; 55 &mov($tmp1, &DWP(12+$i*8,$S,"",0)); 58 &add($A, $tmp1); 61 &mov($tmp1, &DWP(16+$i*8,$S,"",0)); 64 &add($B, $tmp1); 81 &mov($tmp1, &DWP($i*8+8,$S,"",0)); 82 &sub($B, $tmp1); 87 &mov($tmp1, &DWP($i*8+4,$S,"",0)); 88 &sub($A, $tmp1);
|
| /onnv-gate/usr/src/uts/sfmmu/ml/ |
| H A D | sfmmu_asm.s | 170 #define TSB_LOCK_ENTRY(tsbep, tmp1, tmp2, label) \ argument 171 lda [tsbep]ASI_MEM, tmp1 ;\ 173 cmp tmp1, tmp2 ;\ 176 casa [tsbep]ASI_MEM, tmp1, tmp2 ;\ 177 cmp tmp1, tmp2 ;\ 185 #define TSB_LOCK_ENTRY(tsbep, tmp1, tmp2, label) \ argument 186 lda [tsbep]%asi, tmp1 ;\ 188 cmp tmp1, tmp2 ;\ 191 casa [tsbep]%asi, tmp1, tmp2 ;\ 192 cmp tmp1, tmp2 ;\ [all …]
|
| /onnv-gate/usr/src/uts/sun4u/cpu/ |
| H A D | opl_olympus_asm.s | 61 #define ECACHE_FLUSHALL(arg1, arg2, arg3, tmp1) \ argument 702 #define FLUSH_ALL_TLB(tmp1) \ argument 703 set DEMAP_ALL_TYPE, tmp1 ;\ 704 stxa %g0, [tmp1]ASI_ITLB_DEMAP ;\ 705 stxa %g0, [tmp1]ASI_DTLB_DEMAP ;\ 706 sethi %hi(FLUSH_ADDR), tmp1 ;\ 707 flush tmp1 807 #define UPDATE_STICK_COMPARE(tmp1, tmp2) \ argument 808 CPU_ADDR(tmp1, tmp2) ;\ 809 lduh [tmp1 + CPU_FLAGS], tmp2 ;\ [all …]
|
| /onnv-gate/usr/src/cmd/ypcmd/ |
| H A D | ypserv_net_secure.c | 70 struct seclist *tmp1, *tmp2; in get_secure_nets() local 73 tmp1 = (struct seclist *) malloc(sizeof (struct seclist)); in get_secure_nets() 74 slist = tmp2 = tmp1; in get_secure_nets() 116 tmp1->af = netaf; in get_secure_nets() 117 tmp1->mask = maskin; in get_secure_nets() 118 tmp1->net = netin; in get_secure_nets() 119 tmp1->next = (struct seclist *) in get_secure_nets() 121 tmp2 = tmp1; in get_secure_nets() 122 tmp1 = tmp1->next; in get_secure_nets()
|
| /onnv-gate/usr/src/common/crypto/dsa/ |
| H A D | dsa_impl.c | 259 BIGNUM msg, tmp, tmp1; in dsa_sign() local 328 if ((brv = big_init(&tmp1, 2 * BIG_CHUNKS_FOR_160BITS + 1)) != BIG_OK) { in dsa_sign() 377 if ((brv = big_mul(&tmp1, &(dsakey.x), &(dsakey.r))) != BIG_OK) { in dsa_sign() 382 if ((brv = big_add(&tmp1, &tmp1, &msg)) != BIG_OK) { in dsa_sign() 387 if ((brv = big_mul(&tmp, &tmp1, &tmp)) != BIG_OK) { in dsa_sign() 406 big_finish(&tmp1); in dsa_sign() 426 BIGNUM msg, tmp1, tmp2, tmp3; in dsa_verify() local 508 if (big_init(&tmp1, 2 * CHARLEN2BIGNUMLEN(prime_bytes)) != BIG_OK) { in dsa_verify() 536 if (big_mul(&tmp1, &msg, &tmp2) != BIG_OK) { in dsa_verify() 541 if (big_div_pos(NULL, &tmp1, &tmp1, &(dsakey.q)) != BIG_OK) { in dsa_verify() [all …]
|
| /onnv-gate/usr/src/uts/sfmmu/vm/ |
| H A D | hat_sfmmu.h | 901 #define GET_4MBASE_TSBE_PTR(tagacc, tsbe, tmp1, tmp2) \ argument 904 mov TSB_ENTRIES(0), tmp1; /* nentries in TSB size 0 */ \ 905 sllx tmp1, tmp2, tmp1; /* tmp1 = nentries in TSB */ \ 906 sub tmp1, 1, tmp1; /* mask = nentries - 1 */ \ 908 and tmp2, tmp1, tmp1; /* tsbent = virtpage & mask */ \ 909 sllx tmp1, TSB_ENTRY_SHIFT, tmp1; /* entry num --> ptr */ \ 910 add tsbe, tmp1, tsbe /* add entry offset to TSB base */ 912 #define GET_2ND_TSBE_PTR(tagacc, tsbe, tmp1, tmp2) \ argument 913 GET_4MBASE_TSBE_PTR(tagacc, tsbe, tmp1, tmp2) 927 #define GET_3RD_TSBE_PTR(tagacc, tsbe, tmp1, tmp2) \ argument [all …]
|
| /onnv-gate/usr/src/cmd/abi/appcert/scripts/ |
| H A D | symreport.pl | 709 my ($tmp1, $tmp2, $tmp3); 711 $tmp1 = gettext("ABI SYMBOL USAGE SUMMARY REPORT"); 712 $tmp2 = '*' x length($tmp1); 714 print $summary_fh "$tmp2\n$tmp1\n$tmp2\n\n"; 722 $tmp1 = gettext("References to shared objects in the Solaris ABI"); 723 $tmp2 = '*' x length($tmp1); 725 print $summary_fh "$tmp2\n$tmp1\n$tmp2\n\n"; 766 $tmp1 = gettext("Symbol usage statistics (summary by shared object)"); 767 $tmp2 = '*' x length($tmp1); 769 print $summary_fh "$tmp2\n$tmp1\n$tmp2\n\n"; [all …]
|