/openssl/crypto/ |
H A D | s390xcpuid.pl | 182 l %r1,0(%r2) 183 .Lspin: lr %r0,%r1 185 cs %r1,%r0,0(%r2) 196 xgr %r1,%r1 260 llgc %r1,0(%r3) 262 xr %r1,%r0 263 or %r5,%r1 309 lgr %r1,$param 508 lrvg %r1,8($src) 512 stg %r1,16($dst) [all …]
|
H A D | pariscid.pl | 65 xor %r0,%r0,%r1 113 ldi $SIZE_T-1,%r1 116 and,*<> $inp,%r1,%r28 124 andcm $len,%r1,%r28 130 and,*<> $len,%r1,$len 250 ldi 1,%r1 251 xor %r1,$tick,$tick
|
/openssl/crypto/idea/ |
H A D | i_skey.c | 24 register IDEA_INT *kt, *kf, r0, r1, r2; in IDEA_set_encrypt_key() local 40 r1 = kf[2]; in IDEA_set_encrypt_key() 41 *(kt++) = ((r2 << 9) | (r1 >> 7)) & 0xffff; in IDEA_set_encrypt_key() 43 *(kt++) = ((r1 << 9) | (r0 >> 7)) & 0xffff; in IDEA_set_encrypt_key() 44 r1 = kf[4]; in IDEA_set_encrypt_key() 45 *(kt++) = ((r0 << 9) | (r1 >> 7)) & 0xffff; in IDEA_set_encrypt_key() 47 *(kt++) = ((r1 << 9) | (r0 >> 7)) & 0xffff; in IDEA_set_encrypt_key() 48 r1 = kf[6]; in IDEA_set_encrypt_key() 49 *(kt++) = ((r0 << 9) | (r1 >> 7)) & 0xffff; in IDEA_set_encrypt_key() 51 *(kt++) = ((r1 << 9) | (r0 >> 7)) & 0xffff; in IDEA_set_encrypt_key() [all …]
|
/openssl/crypto/poly1305/asm/ |
H A D | poly1305-armv8.pl | 91 rev $r1,$r1 95 and $r1,$r1,$s1 // &=0ffffffc0ffffffc 132 add $s1,$r1,$r1,lsr#2 // s1 = r1 + (r1 >> 2) 154 mul $t0,$h0,$r1 // h0*r1 156 umulh $d2,$h0,$r1 243 mul $t0,$h0,$r1 // h0*r1 245 umulh $d2,$h0,$r1 339 add $s1,$r1,$r1,lsr#2 // s1 = r1 + (r1 >> 2) 393 add $s1,$r1,$r1,lsr#2 // s1 = r1 + (r1 >> 2) 425 add $s1,$r1,$r1,lsr#2 // s1 = r1 + (r1 >> 2) [all …]
|
H A D | poly1305-x86_64.pl | 260 mov $s1,$r1 262 mov $r1,%rax 275 mov $r1,%rax 366 mov $r1,$h1 413 mov $r1,$d2 574 mov $d2,$r1 # borrow $r1 583 add $r1,$h0 602 mov $s1,$r1 622 mov $h1,$r1 706 mov $s1,$r1 [all …]
|
H A D | poly1305-s390x.pl | 82 lghi ("%r1",-1); 98 srlg ("%r1","%r1",4); 102 ngr ("%r3","%r1"); 157 srlg ($s1,$r1,2); 250 llgfr ("%r1",$d1); 258 sllg ("%r1","%r1",14); 263 lghi ("%r1",0); 910 sllg ("%r1","%r1",14); 915 lghi ("%r1",0); 947 ngr ($h0,"%r1"); [all …]
|
H A D | poly1305-armv4.pl | 178 my ($s1,$s2,$s3)=($r1,$r2,$r3); 199 str $r1,[sp,#20] 244 add $s1,$r1,$r1,lsr#2 264 add $s1,$r1,$r1,lsr#2 276 ldr $r1,[sp,#20] @ reload $r1 281 umlal r2,r3,$h0,$r1 296 umlal r2,r3,$h2,$r1 297 umlal r0,r1,$h1,$r1 491 @ d0 = h0*r0 + h4*5*r1 + h3*5*r2 + h2*5*r3 + h1*5*r4 495 @ d4 = h4*r0 + h3*r1 + h2*r2 + h1*r3 + h0*r4 [all …]
|
H A D | poly1305-mips.pl | 174 my ($h0,$h1,$h2,$r0,$r1,$s1,$d0,$d1,$d2) = 214 ld $r1,32($ctx) 283 dmultu ($s1,$h1) # h1*5*r1 289 dmultu ($r1,$h0) # h0*r1 292 mflo ($tmp2,$r1,$h0) 293 mfhi ($d2,$r1,$h0) 304 dmultu ($s1,$h2) # h2*5*r1
|
H A D | poly1305-sparcv9.pl | 174 srl $r1,2,$s1 176 add $r1,$s1,$s1 204 umul $r1,$h0,$d1 212 umul $r1,$h1,$t2 224 umul $r1,$h2,$t1 304 set 8,$r1 387 addccc $h1,0,$r1 409 srl $h0,16,$r1 417 srl $h1,16,$r1 425 srl $h2,16,$r1 [all …]
|
H A D | poly1305-ppc.pl | 169 ld $r1,40($ctx) 175 srdi $s1,$r1,2 214 mulld $t0,$h0,$r1 # h0*r1 467 srwi $s1,$r1,2 505 mullw $d1,$h0,$r1 # h0*r1 525 mullw $t0,$h1,$r1 # h1*r1 550 mullw $t2,$h2,$r1 # h2*r1 845 mulld $t0,$h0,$r1 # h0*r1 965 ld $r1,40($ctx) 966 srdi $s1,$r1,2 [all …]
|
/openssl/crypto/aes/asm/ |
H A D | aes-s390x.pl | 110 $t1="%r1"; 256 lhi %r1,16 257 clr %r0,%r1 582 lhi %r1,16 583 clr %r0,%r1 1232 lghi %r1,0 1235 bras %r1,1f 1406 lhi %r1,16 1467 la %r1,0($key) # %r1 is permanent copy of $key 1824 lhi %r1,16 [all …]
|
/openssl/crypto/bn/asm/ |
H A D | s390x.S | 53 alg %r9,8(%r3,%r1) 54 stg %r9,8(%r3,%r1) 60 alg %r11,16(%r3,%r1) 61 stg %r11,16(%r3,%r1) 67 alg %r13,24(%r3,%r1) 68 stg %r13,24(%r3,%r1) 85 alg %r9,8(%r3,%r1) 86 stg %r9,8(%r3,%r1) 153 stg %r9,8(%r2,%r1) 227 lghi %r1,3 [all …]
|
H A D | rsaz-avx2.pl | 112 my $r1="%r10"; 474 add %rax, $r1 477 add $r0, $r1 482 mov $r1, %rax 513 add $r1, $r2 992 xor $r1, $r1 1049 add %rax,$r1 1056 add $r0, $r1 1080 add %rax,$r1 1125 add %rax,$r1 [all …]
|
H A D | s390x-gf2m.pl | 61 @T=("%r0","%r1"); 176 lghi %r1,-$stdframe-128 178 la $sp,0(%r1,$sp) # alloca
|
/openssl/crypto/modes/asm/ |
H A D | ghash-s390x.pl | 65 $Zlo="%r1"; 111 larl %r1,OPENSSL_s390xcap_P 112 lg %r0,S390X_KIMD+8(%r1) # load second word of kimd capabilities 121 lmg %r0,%r1,0($Xi) 122 stmg %r0,%r1,8($sp) 123 lmg %r0,%r1,8*16($Htbl) 124 stmg %r0,%r1,24($sp) 125 la %r1,8($sp) 129 lmg %r0,%r1,8($sp) 130 stmg %r0,%r1,0($Xi)
|
/openssl/crypto/rsa/ |
H A D | rsa_gen.c | 114 r1 = BN_CTX_get(ctx); in DEFINE_STACK_OF() 121 BN_set_flags(r1, BN_FLG_CONSTTIME); in DEFINE_STACK_OF() 124 if (BN_copy(r1, rsa->n) == NULL) in DEFINE_STACK_OF() 143 if (!BN_mul(r1, p, q, ctx)) in DEFINE_STACK_OF() 145 tmp = BN_dup(r1); in DEFINE_STACK_OF() 154 if (!BN_mul(r1, r1, factor, ctx)) in DEFINE_STACK_OF() 156 tmp = BN_dup(r1); in DEFINE_STACK_OF() 167 if (!BN_sub(r1, p, BN_value_one())) in DEFINE_STACK_OF() 171 if (!BN_mul(r0, r1, r2, ctx)) in DEFINE_STACK_OF() 310 r1 = BN_CTX_get(ctx); in rsa_multiprime_keygen() [all …]
|
H A D | rsa_ossl.c | 807 BIGNUM *r1, *m1, *vrfy; in rsa_ossl_mod_exp() local 817 r1 = BN_CTX_get(ctx); in rsa_ossl_mod_exp() 892 || !bn_to_mont_fixed_top(r1, r1, rsa->_method_mod_p, ctx) in rsa_ossl_mod_exp() 901 r1, r1, rsa->dmp1, rsa->p, in rsa_ossl_mod_exp() 911 || !bn_mod_sub_fixed_top(r1, r1, m1, rsa->p) in rsa_ossl_mod_exp() 914 || !bn_to_mont_fixed_top(r1, r1, rsa->_method_mod_p, ctx) in rsa_ossl_mod_exp() 915 || !bn_mul_mont_fixed_top(r1, r1, rsa->iqmp, rsa->_method_mod_p, in rsa_ossl_mod_exp() 1062 if (!BN_add(r0, r1, m1)) in rsa_ossl_mod_exp() 1092 if (BN_is_negative(r1)) in rsa_ossl_mod_exp() 1093 if (!BN_add(r1, r1, pinfo->r)) { in rsa_ossl_mod_exp() [all …]
|
H A D | rsa_x931g.c | 30 BIGNUM *r0 = NULL, *r1 = NULL, *r2 = NULL, *r3 = NULL; in RSA_X931_derive_ex() local 43 r1 = BN_CTX_get(ctx); in RSA_X931_derive_ex() 100 if (!BN_sub(r1, rsa->p, BN_value_one())) in RSA_X931_derive_ex() 104 if (!BN_mul(r0, r1, r2, ctx)) in RSA_X931_derive_ex() 107 if (!BN_gcd(r3, r1, r2, ctx)) in RSA_X931_derive_ex() 125 if (!BN_mod(rsa->dmp1, rsa->d, r1, ctx)) in RSA_X931_derive_ex()
|
H A D | rsa_crpt.c | 91 BIGNUM *ret = NULL, *r0, *r1, *r2; in rsa_get_public_exp() local 98 r1 = BN_CTX_get(ctx); in rsa_get_public_exp() 103 if (!BN_sub(r1, p, BN_value_one())) in rsa_get_public_exp() 107 if (!BN_mul(r0, r1, r2, ctx)) in rsa_get_public_exp()
|
/openssl/crypto/poly1305/ |
H A D | poly1305_base2_44.c | 60 u64 r0, r1; in poly1305_init() local 68 r1 = U8TOU64(&key[8]) & 0x0ffffffc0ffffffc; in poly1305_init() 72 st->r[1] = ((r0 >> 44) | (r1 << 20)) & 0x0fffffffffff; in poly1305_init() 73 st->r[2] = (r1 >> 24); in poly1305_init() 85 u64 r0, r1, r2; in poly1305_blocks() local 92 r1 = st->r[1]; in poly1305_blocks() 115 d1 = ((u128)h0 * r1) + ((u128)h1 * r0) + ((u128)h2 * s2); in poly1305_blocks() 116 d2 = ((u128)h0 * r2) + ((u128)h1 * r1) + ((u128)h2 * r0); in poly1305_blocks()
|
H A D | poly1305.c | 151 u64 r0, r1; in poly1305_blocks() local 157 r1 = st->r[1]; in poly1305_blocks() 159 s1 = r1 + (r1 >> 2); in poly1305_blocks() 178 d1 = ((u128)h0 * r1) + in poly1305_blocks() 293 u32 r0, r1, r2, r3; in poly1305_blocks() local 299 r1 = st->r[1]; in poly1305_blocks() 303 s1 = r1 + (r1 >> 2); in poly1305_blocks() 326 d1 = ((u64)h0 * r1) + in poly1305_blocks() 332 ((u64)h1 * r1) + in poly1305_blocks() 338 ((u64)h2 * r1) + in poly1305_blocks()
|
/openssl/crypto/sha/asm/ |
H A D | keccak1600-s390x.pl | 344 lghi %r1,-$frame 347 la $sp,0(%r1,$sp) 402 lghi %r1,-$frame 405 la $sp,0(%r1,$sp) 431 la %r1,0($A_flat) 436 xg %r0,0(%r1) 438 stg %r0,0(%r1) 439 la %r1,8(%r1) 496 lrvg %r0,0(%r1) 497 la %r1,8(%r1) [all …]
|
H A D | sha1-s390x.pl | 59 $K_40_79="%r1"; 178 larl %r1,OPENSSL_s390xcap_P 179 lg %r0,S390X_KIMD(%r1) # check kimd capabilities 183 lgr %r1,$ctx 193 lghi %r1,-$frame 197 la $sp,0(%r1,$sp)
|
H A D | sha512-s390x.pl | 60 $t1="%r1"; 250 larl %r1,OPENSSL_s390xcap_P 251 lg %r0,S390X_KIMD(%r1) # check kimd capabilities 255 lgr %r1,$ctx 265 lghi %r1,-$frame 269 la $sp,0(%r1,$sp)
|
/openssl/crypto/chacha/asm/ |
H A D | chacha-s390x.pl | 264 lg ("%r1","S390X_STFLE+16(%r1)"); 279 la ($sp,"0(%r1,$sp)"); 394 xgr ("%r1","%r1"); 460 la ($sp,"0(%r1,$sp)"); 474 lhi ("%r1",0); 706 lghi ("%r1",0); 712 stc ("%r6","0(%r1,$out)"); 713 la ("%r1","1(%r1)"); 750 la ($sp,"0(%r1,$sp)"); 1022 lghi ("%r1",0); [all …]
|