Home
last modified time | relevance | path

Searched refs:K (Results 1 – 25 of 82) sorted by relevance

1234

/openssl/crypto/aes/asm/
H A Daes-c64xplus.pl516 my @K=(@K,@s); # extended key
622 XOR A31,$K[0],$K[0] ; ^=rcon[i]
633 XOR $Te4[0],$K[1],$K[1] ; K[1]
636 XOR $Te4[2],$K[3],$K[3] ; K[3]
709 XOR $Te4[0],$K[1],$K[1] ; K[1]
712 XOR $Te4[2],$K[3],$K[3] ; K[3]
715 XOR $Te4[2],$K[5],$K[5] ; K[5]
792 XOR $Te4[0],$K[1],$K[1] ; K[1]
795 XOR $Te4[2],$K[3],$K[3] ; K[3]
826 XOR $Te4[0],$K[5],$K[5] ; K[5]
[all …]
/openssl/crypto/whrlpool/
H A Dwp_block.c567 L0 = C0(K, 0) ^ C1(K, 7) ^ C2(K, 6) ^ C3(K, 5) ^ in whirlpool_block()
569 L1 = C0(K, 1) ^ C1(K, 0) ^ C2(K, 7) ^ C3(K, 6) ^ in whirlpool_block()
570 C4(K, 5) ^ C5(K, 4) ^ C6(K, 3) ^ C7(K, 2); in whirlpool_block()
571 L2 = C0(K, 2) ^ C1(K, 1) ^ C2(K, 0) ^ C3(K, 7) ^ in whirlpool_block()
572 C4(K, 6) ^ C5(K, 5) ^ C6(K, 4) ^ C7(K, 3); in whirlpool_block()
573 L3 = C0(K, 3) ^ C1(K, 2) ^ C2(K, 1) ^ C3(K, 0) ^ in whirlpool_block()
574 C4(K, 7) ^ C5(K, 6) ^ C6(K, 5) ^ C7(K, 4); in whirlpool_block()
576 C4(K, 0) ^ C5(K, 7) ^ C6(K, 6) ^ C7(K, 5); in whirlpool_block()
578 C4(K, 1) ^ C5(K, 0) ^ C6(K, 7) ^ C7(K, 6); in whirlpool_block()
580 C4(K, 2) ^ C5(K, 1) ^ C6(K, 0) ^ C7(K, 7); in whirlpool_block()
[all …]
/openssl/crypto/chacha/asm/
H A Dchacha-armv8.pl497 rev64 @K[0],@K[0]
908 rev64 @K[0],@K[0]
1263 add @K[4],@K[4],$A0
1264 add @K[5],@K[5],$A0
1265 add @K[6],@K[6],$A0
1290 eor @K[1],@K[1],@K[1]
1291 eor @K[2],@K[2],@K[2]
1292 eor @K[3],@K[3],@K[3]
1293 eor @K[4],@K[4],@K[4]
1294 eor @K[5],@K[5],@K[5]
[all …]
H A Dchachap10-ppc.pl210 vspltw $CTR,@K[3],0
211 vsldoi @K[3],@K[3],$xt0,4
212 vsldoi @K[3],$xt0,@K[3],12 # clear @K[3].word[0]
231 vspltw $xb1,@K[1],1
232 vspltw $xb2,@K[1],2
710 vsldoi @K[3],@K[3],$xt2,4
711 vsldoi @K[3],$xt2,@K[3],12 # clear @K[3].word[0]
721 vxxlor $xv0 ,@K[0],@K[0] # K0,k1,k2 to vr0,1,2
722 vxxlor $xv1 ,@K[1],@K[1]
723 vxxlor $xv2 ,@K[2],@K[2]
[all …]
H A Dchacha-ppc.pl526 ?vperm @K[1],@K[2],@K[1],$T0 # align key
527 ?vperm @K[2],@D[0],@K[2],$T0
528 ?vperm @K[3],@D[1],@K[3],$T1 # align counter
532 vadduwm @K[3],@K[3],@K[5] # adjust AltiVec counter
534 vadduwm @K[4],@K[3],@K[5]
536 vadduwm @K[5],@K[4],@K[5]
675 vadduwm @K[3],@K[3],$FOUR
676 vadduwm @K[4],@K[4],$FOUR
677 vadduwm @K[5],@K[5],$FOUR
1029 vsldoi @K[3],@K[3],$xt0,4
[all …]
H A Dchacha-s390x.pl765 vlm (@K[1],@K[2],"0($key)"); # load key
771 vlr ($a0,@K[0]);
772 vlr ($b0,@K[1]);
773 vlr ($a1,@K[0]);
774 vlr ($b1,@K[1]);
775 vlr ($a2,@K[0]);
776 vlr ($b2,@K[1]);
777 vlr ($a3,@K[0]);
778 vlr ($b3,@K[1]);
779 vlr ($a4,@K[0]);
[all …]
H A Dchacha-armv8-sve.pl491 add @K[6],@K[6],#1
766 ldp @K[0],@K[1],[$tmp]
767 ldp @K[2],@K[3],[$key]
768 ldp @K[4],@K[5],[$key, 16]
769 ldp @K[6],@K[7],[$ctr]
772 ror @K[2],@K[2],#32
773 ror @K[3],@K[3],#32
774 ror @K[4],@K[4],#32
775 ror @K[5],@K[5],#32
776 ror @K[6],@K[6],#32
[all …]
/openssl/crypto/cast/asm/
H A Dcast-586.pl28 $K="ebp";
73 &mov($K,&wparam(1));
82 &mov($tmp3,&DWP(128,$K,"",0));
95 &E_CAST( 0,$S,$L,$R,$K,@F1,$tmp1,$tmp2,$tmp3,$tmp4);
96 &E_CAST( 1,$S,$R,$L,$K,@F2,$tmp1,$tmp2,$tmp3,$tmp4);
97 &E_CAST( 2,$S,$L,$R,$K,@F3,$tmp1,$tmp2,$tmp3,$tmp4);
98 &E_CAST( 3,$S,$R,$L,$K,@F1,$tmp1,$tmp2,$tmp3,$tmp4);
99 &E_CAST( 4,$S,$L,$R,$K,@F2,$tmp1,$tmp2,$tmp3,$tmp4);
100 &E_CAST( 5,$S,$R,$L,$K,@F3,$tmp1,$tmp2,$tmp3,$tmp4);
149 &mov( $tmp4, &DWP($i*8,$K,"",1));
[all …]
/openssl/crypto/sm4/
H A Dsm4.c304 uint32_t K[4]; in ossl_sm4_set_key() local
307 K[0] = load_u32_be(key, 0) ^ FK[0]; in ossl_sm4_set_key()
308 K[1] = load_u32_be(key, 1) ^ FK[1]; in ossl_sm4_set_key()
313 K[0] ^= SM4_key_sub(K[1] ^ K[2] ^ K[3] ^ CK[i]); in ossl_sm4_set_key()
314 K[1] ^= SM4_key_sub(K[2] ^ K[3] ^ K[0] ^ CK[i + 1]); in ossl_sm4_set_key()
315 K[2] ^= SM4_key_sub(K[3] ^ K[0] ^ K[1] ^ CK[i + 2]); in ossl_sm4_set_key()
316 K[3] ^= SM4_key_sub(K[0] ^ K[1] ^ K[2] ^ CK[i + 3]); in ossl_sm4_set_key()
317 ks->rk[i ] = K[0]; in ossl_sm4_set_key()
318 ks->rk[i + 1] = K[1]; in ossl_sm4_set_key()
319 ks->rk[i + 2] = K[2]; in ossl_sm4_set_key()
[all …]
/openssl/test/recipes/30-test_evp_data/
H A Devppkey_ecdsa_rfc6979.txt960 PrivPubKeyPair=K-163_PRIV:K-163_PUB
969 Key = K-163_PUB
974 Key = K-163_PUB
986 Key = K-163_PUB
991 Key = K-163_PUB
1003 Key = K-163_PUB
1008 Key = K-163_PUB
1146 PrivPubKeyPair=K-233_PRIV:K-233_PUB
1332 PrivPubKeyPair=K-283_PRIV:K-283_PUB
1519 PrivPubKeyPair=K-409_PRIV:K-409_PUB
[all …]
/openssl/crypto/cast/
H A Dc_skey.c38 CAST_LONG l, *K; in CAST_set_key() local
52 K = &k[0]; in CAST_set_key()
69 K[0] = S4[z[8]] ^ S5[z[9]] ^ S6[z[7]] ^ S7[z[6]] ^ S4[z[2]]; in CAST_set_key()
70 K[1] = S4[z[10]] ^ S5[z[11]] ^ S6[z[5]] ^ S7[z[4]] ^ S5[z[6]]; in CAST_set_key()
71 K[2] = S4[z[12]] ^ S5[z[13]] ^ S6[z[3]] ^ S7[z[2]] ^ S6[z[9]]; in CAST_set_key()
83 K[4] = S4[x[3]] ^ S5[x[2]] ^ S6[x[12]] ^ S7[x[13]] ^ S4[x[8]]; in CAST_set_key()
85 K[6] = S4[x[7]] ^ S5[x[6]] ^ S6[x[8]] ^ S7[x[9]] ^ S6[x[3]]; in CAST_set_key()
99 K[10] = S4[z[7]] ^ S5[z[6]] ^ S6[z[8]] ^ S7[z[9]] ^ S6[z[2]]; in CAST_set_key()
111 K[12] = S4[x[8]] ^ S5[x[9]] ^ S6[x[7]] ^ S7[x[6]] ^ S4[x[3]]; in CAST_set_key()
115 if (K != k) in CAST_set_key()
[all …]
/openssl/crypto/sha/asm/
H A Dsha1-alpha.pl38 $K="AT"; # 28
71 addl $K,$e,$e
94 addl $K,$e,$e
114 addl $K,$e,$e
147 addl $K,$e,$e
175 addl $K,$e,$e
204 addl $K,$e,$e
275 lda $K,31129($K) # K_00_19
281 lda $K,-5215($K) # K_20_39
287 lda $K,-17188($K) # K_40_59
[all …]
H A Dsha1-c64xplus.pl86 MVK 0x00007999,$K
104 || ADD $K,$E,$T ; T=E+K
126 || ADD $K,$E,$T ; T=E+K
152 || ADD $K,$E,$T ; T=E+K
184 || ADD $K,$E,$T ; T=E+K
209 MVK 0xffffeba1,$K
221 || ADD $K,$E,$T ; T=E+K
247 MVK 0xffffbcdc,$K
261 || ADD $K,$E,$T ; T=E+K
288 MVK 0xffffc1d6,$K
[all …]
H A Dsha1-parisc.pl64 $K="%r31";
75 addl $K,$e,$e ; $i
86 addl $K,$e,$e ; $i
107 addl $K,$e,$e
121 addl $K,$e,$e
141 addl $K,$e,$e
209 ldil L'0x5a827000,$K ; K_00_19
210 ldo 0x999($K),$K
215 ldo 0xba1($K),$K
221 ldo 0xcdc($K),$K
[all …]
H A Dsha1-ppc.pl65 $K ="r0";
107 add $f,$K,$e
118 add $f,$K,$e
138 add $f,$K,$e
152 add $f,$K,$e
172 add $f,$K,$e
307 lis $K,0x5a82
308 ori $K,$K,0x7999
313 ori $K,$K,0xeba1
318 ori $K,$K,0xbcdc
[all …]
H A Dsha1-armv4-large.pl103 $K="r8";
225 ldr $K,.LK_00_19
253 ldr $K,.LK_20_39 @ [+15+16*4]
270 ldr $K,.LK_40_59
286 ldr $K,.LK_60_79
292 ldmia $ctx,{$K,$t0,$t1,$t2,$t3}
293 add $a,$K,$a
337 my ($K,$zero)=("q14","q15");
563 vadd.i32 @X[0],@X[-4&7],$K
565 vadd.i32 @X[1],@X[-3&7],$K
[all …]
H A Dsha1-armv8.pl78 add $d,$d,$K // future e+=K
86 movz $K,#0xeba1
87 movk $K,#0x6ed9,lsl#16
95 add $d,$d,$K // future e+=K
111 movz $K,#0xc1d6
112 movk $K,#0xca62,lsl#16
137 movz $K,#0xbcdc
138 movk $K,#0x8f1b,lsl#16
211 movz $K,#0x7999
213 movk $K,#0x5a82,lsl#16
[all …]
H A Dsha1-mips.pl106 $K="\$31"; # ra
147 addu $e,$K
202 addu $e,$K
243 addu $e,$K
279 addu $e,$K
320 addu $e,$K
392 lui $K,0x5a82
397 lui $K,0x5a82
405 lui $K,0x6ed9
410 lui $K,0x8f1b
[all …]
H A Dsha1-thumb.pl42 $K="r8"; # "upper" registers can be used in add/sub and mov insns
52 add $e,$K @ E+=K_xx_xx
182 mov $K,$t2 @ [+7+4]
194 mov $K,$t2 @ [+5]
208 mov $K,$t2 @ [+5]
218 mov $K,$t2
H A Dsha256-c64xplus.pl42 ($Xn,$X0,$K)=("B7","B8","B9");
103 LDW *$K256++,$K ; pre-fetch K256[0]
137 || ADD $K,$H,$T1 ; T1 = h + K256[i]
144 || LDW *$K256++,$K ; pre-fetch K256[i+1]
176 || ADD $K,$H,$T1 ; T1 = h + K256[i]
183 || LDW *$K256++,$K ; pre-fetch K256[i+1]
230 || ADD $H,$K,$T1 ; T1 = h + K256[i]
241 || LDW *$K256++,$K ; pre-fetch K256[i+1]
272 || [A0] LDW *$K256++,$K ; pre-fetch K256[0]
H A Dsha1-mb-x86_64.pl102 $K="%xmm15";
160 paddd $K,$e # e+=K_00_19
192 paddd $K,$e # e+=K_00_19
230 paddd $K,$e # e+=K_00_19
271 paddd $K,$e # e+=K_20_39
301 paddd $K,$e # e+=K_20_39
335 paddd $K,$e # e+=K_40_59
860 vpaddd $K,$e,$e # e+=K_00_19
883 vpaddd $K,$e,$e # e+=K_00_19
914 vpaddd $K,$e,$e # e+=K_00_19
[all …]
/openssl/crypto/ripemd/
H A Drmd_local.h69 #define RIP2(a,b,c,d,e,w,s,K) { \ argument
70 a+=F2(b,c,d)+X(w)+K; \
74 #define RIP3(a,b,c,d,e,w,s,K) { \ argument
75 a+=F3(b,c,d)+X(w)+K; \
79 #define RIP4(a,b,c,d,e,w,s,K) { \ argument
80 a+=F4(b,c,d)+X(w)+K; \
84 #define RIP5(a,b,c,d,e,w,s,K) { \ argument
85 a+=F5(b,c,d)+X(w)+K; \
/openssl/crypto/md5/asm/
H A Dmd5-sparcv9.pl80 sethi %hi(@K[$i+1]),$t2
82 or $t2,%lo(@K[$i+1]),$t2
96 sethi %hi(@K[$i+1]),$t2
98 or $t2,%lo(@K[$i+1]),$t2
118 sethi %hi(@K[$i+1]),$t2
120 or $t2,%lo(@K[$i+1]),$t2
143 sethi %hi(@K[$i+1]),$t2
167 sethi %hi(@K[$i+1]),$t2
193 sethi %hi(@K[$i+1]),$t2
344 sethi %hi(@K[0]),$t2
[all …]
H A Dmd5-586.pl59 local($pos,$a,$b,$c,$d,$K,$ki,$s,$t)=@_;
62 &mov($tmp2,&DWP($xo[$ki]*4,$K,"",0)) if $pos < 0; # very first one
73 &mov($tmp2,&DWP($xo[$ki+1]*4,$K,"",0)) if ($pos != 2);
87 local($pos,$a,$b,$c,$d,$K,$ki,$s,$t)=@_;
96 &mov($tmp2,&DWP($xo[$ki+1]*4,$K,"",0)) if ($pos != 2);
109 local($n,$pos,$a,$b,$c,$d,$K,$ki,$s,$t)=@_;
124 &mov($tmp2,&DWP($xo[$ki+1]*4,$K,"",0));
142 &mov($tmp2,&DWP($xo[$ki+1]*4,$K,"",0)) if ($pos != 2);
156 local($pos,$a,$b,$c,$d,$K,$ki,$s,$t)=@_;
167 &mov($tmp2,&DWP($xo[$ki+1]*4,$K,"",0)) if $pos != 2; # load X/k value
[all …]
/openssl/test/recipes/04-test_pem_reading_data/
H A Ddsa-onecolumn.pem72 K
81 K
92 K
239 K
249 K
282 K
302 K
362 K
435 K
575 K
[all …]

Completed in 86 milliseconds

1234