/openssl/ssl/ |
H A D | d1_lib.c | 66 DTLS1_STATE *d1; in dtls1_new() local 78 if ((d1 = OPENSSL_zalloc(sizeof(*d1))) == NULL) { in dtls1_new() 87 d1->cookie_len = sizeof(s->d1->cookie); in dtls1_new() 91 d1->mtu = 0; in dtls1_new() 93 if (d1->buffered_messages == NULL || d1->sent_messages == NULL) { in dtls1_new() 101 s->d1 = d1; in dtls1_new() 169 s->d1 = NULL; in dtls1_free() 186 if (s->d1) { in dtls1_clear() 196 memset(s->d1, 0, sizeof(*s->d1)); in dtls1_clear() 202 s->d1->cookie_len = sizeof(s->d1->cookie); in dtls1_clear() [all …]
|
/openssl/crypto/des/ |
H A D | cfb_enc.c | 34 register DES_LONG d0, d1, v0, v1; in DES_cfb_encrypt() local 63 c2ln(in, d0, d1, n); in DES_cfb_encrypt() 66 d1 ^= ti[1]; in DES_cfb_encrypt() 67 l2cn(d0, d1, out, n); in DES_cfb_encrypt() 78 v1 = d1; in DES_cfb_encrypt() 85 l2c(d1, iv); in DES_cfb_encrypt() 110 c2ln(in, d0, d1, n); in DES_cfb_encrypt() 121 v1 = d1; in DES_cfb_encrypt() 128 l2c(d1, iv); in DES_cfb_encrypt() 147 d1 ^= ti[1]; in DES_cfb_encrypt() [all …]
|
H A D | cfb64ede.c | 96 register DES_LONG d0, d1, v0, v1; in DES_ede3_cfb_encrypt() local 114 c2ln(in, d0, d1, n); in DES_ede3_cfb_encrypt() 117 d1 ^= ti[1]; in DES_ede3_cfb_encrypt() 118 l2cn(d0, d1, out, n); in DES_ede3_cfb_encrypt() 129 v1 = d1; in DES_ede3_cfb_encrypt() 135 l2c(d1, iv); in DES_ede3_cfb_encrypt() 155 c2ln(in, d0, d1, n); in DES_ede3_cfb_encrypt() 166 v1 = d1; in DES_ede3_cfb_encrypt() 172 l2c(d1, iv); in DES_ede3_cfb_encrypt() 186 d1 ^= ti[1]; in DES_ede3_cfb_encrypt() [all …]
|
H A D | ofb_enc.c | 28 register DES_LONG d0, d1, vv0, vv1, v0, v1, n = (numbits + 7) / 8; in DES_ofb_encrypt() local 62 c2ln(in, d0, d1, n); in DES_ofb_encrypt() 65 d1 = (d1 ^ vv1) & mask1; in DES_ofb_encrypt() 66 l2cn(d0, d1, out, n); in DES_ofb_encrypt() 87 v0 = v1 = d0 = d1 = ti[0] = ti[1] = vv0 = vv1 = 0; in DES_ofb_encrypt()
|
/openssl/ssl/statem/ |
H A D | statem_dtls.c | 122 if (s->d1->mtu < dtls1_min_mtu(s)) in dtls1_do_write() 174 if (s->d1->mtu > used_len) in dtls1_do_write() 332 msg_hdr = &s->d1->r_msg_hdr; in dtls_get_message() 372 s->d1->handshake_read_seq++; in dtls_get_message() 460 s->d1->r_msg_hdr.msg_len = msg_len; in dtls1_preprocess_fragment() 970 s->d1->handshake_read_seq = 0; in dtls_get_reassembled_message() 1093 pqueue *sent = s->d1->sent_messages; in dtls1_retransmit_buffered_messages() 1224 s->d1->retransmitting = 1; in dtls1_retransmit_message() 1243 s->d1->retransmitting = 0; in dtls1_retransmit_message() 1254 s->d1->handshake_write_seq = s->d1->next_handshake_write_seq; in dtls1_set_message_header() [all …]
|
/openssl/crypto/chacha/asm/ |
H A D | chacha-c64xplus.pl | 133 XOR @X[$a1],@X[$d1],@X[$d1] 175 || XOR @X[$a1],@X[$d1],@X[$d1] 179 || ROTL @X[$d1],8,@X[$d1] 236 || ROTL @Y[$d1],8,@Y[$d1] 239 || SWAP2 @X[$d1],@X[$d1] 294 || ROTL @X[$d1],8,@X[$d1] 296 || SWAP2 @Y[$d1],@Y[$d1] 352 || ROTL @Y[$d1],8,@Y[$d1] 630 || ROTL @X[$d1],8,@X[$d1] 663 || SWAP2 @X[$d1],@X[$d1] [all …]
|
H A D | chacha-ia64.pl | 102 my ($a1,$b1,$c1,$d1)=map(($_&~3)+(($_+1)&3),($a0,$b0,$c0,$d0)); 103 my ($a2,$b2,$c2,$d2)=map(($_&~3)+(($_+1)&3),($a1,$b1,$c1,$d1)); 112 xor @x[$d1]=@x[$d1],@x[$a1] };; 116 { .mii; extr.u @y[1]=@x[$d1],16,16 120 dep @x[$d1]=@x[$d1],@y[1],16,16 };; 121 { .mii; add @x[$c1]=@x[$c1],@x[$d1] 148 { .mii; xor @x[$d1]=@x[$d1],@x[$a1] 152 extr.u @y[1]=@x[$d1],24,8 153 dep.z @x[$d1]=@x[$d1],8,24 };; 154 { .mmi; or @x[$d1]=@x[$d1],@y[1] [all …]
|
H A D | chacha-s390x.pl | 98 rll (@x[$d1],@x[$d1],16); 101 alr ($xc_,@x[$d1]); 112 rll (@x[$d1],@x[$d1],8); 115 alr ($xc_,@x[$d1]); 164 vx (@x[$d1],@x[$d1],@x[$a1]); 165 verllf (@x[$d1],@x[$d1],16); 190 vx (@x[$d1],@x[$d1],@x[$a1]); 191 verllf (@x[$d1],@x[$d1],8); 798 vlr ($t1,$d1); 824 vaf ($d1,$d1,$t1); # +K[3]+1 [all …]
|
H A D | chacha-armv4.pl | 129 "&str ($xd_,'[sp,#4*(16+$d1)]')", 725 vadd.i32 $d1,$d0,$t0 @ counter+1 796 vadd.i32 $d1#lo,$d1#lo,$t0#lo @ counter+1 800 vadd.i32 $d1,$d1,$t3 822 veor $d1,$d1,$t3 834 vst1.8 {$c1-$d1},[r14]! 1022 vst1.8 {$c1-$d1},[@t[0]] 1042 veor $d1,$d1,$t3 1044 vst1.8 {$c1-$d1},[r14]! 1071 veor $d1,$d1,$t3 [all …]
|
H A D | chacha-loongarch64.pl | 118 xor @x[$d1],@x[$d1],@x[$a1] 119 rotri.w @x[$d1],@x[$d1],16 132 xor @x[$d1],@x[$d1],@x[$a1] 133 rotri.w @x[$d1],@x[$d1],24 407 vxor.v @x[$d1],@x[$d1],@x[$a1] 408 vrotri.w @x[$d1],@x[$d1],16 421 vxor.v @x[$d1],@x[$d1],@x[$a1] 422 vrotri.w @x[$d1],@x[$d1],24 831 xvxor.v @x[$d1],@x[$d1],@x[$a1] 832 xvrotri.w @x[$d1],@x[$d1],16 [all …]
|
H A D | chacha-x86_64.pl | 710 &pshufd ($d1,$d1,0b10010011); 718 &pshufd ($d1,$d1,0b00111001); 1393 "&vpxor (@x[$d1],@x[$a1],@x[$d1])", 1397 "&vprotd (@x[$d1],@x[$d1],16)", 1419 "&vpxor (@x[$d1],@x[$a1],@x[$d1])", 1423 "&vprotd (@x[$d1],@x[$d1],8)", 1865 "&vpxor (@x[$d1],@x[$a1],@x[$d1])", 1866 "&vpshufb (@x[$d1],@x[$d1],$t1)", 1885 "&vpshufb (@x[$d1],@x[$d1],$t0)", 2914 "&vprold (@x[$d1],@x[$d1],16)", [all …]
|
H A D | chacha-armv8.pl | 85 "&eor_32 (@x[$d1],@x[$d1],@x[$a1])", 89 "&ror_32 (@x[$d1],@x[$d1],16)", 94 "&add_32 (@x[$c1],@x[$c1],@x[$d1])", 111 "&eor_32 (@x[$d1],@x[$d1],@x[$a1])", 115 "&ror_32 (@x[$d1],@x[$d1],24)", 120 "&add_32 (@x[$c1],@x[$c1],@x[$d1])", 406 "&eor (@x[$d1],@x[$d1],@x[$a1])", 410 "&rev32_16 (@x[$d1],@x[$d1])", 415 "&add (@x[$c1],@x[$c1],@x[$d1])", 436 "&eor ('$xt1',@x[$d1],@x[$a1])", [all …]
|
H A D | chacha-ppc.pl | 106 "&xor (@x[$d1],@x[$d1],@x[$a1])", 110 "&rotlwi (@x[$d1],@x[$d1],16)", 115 "&add (@x[$c1],@x[$c1],@x[$d1])", 132 "&xor (@x[$d1],@x[$d1],@x[$a1])", 136 "&rotlwi (@x[$d1],@x[$d1],8)", 141 "&add (@x[$c1],@x[$c1],@x[$d1])", 940 "&vxor (@x[$d1],@x[$d1],@x[$a1])", 944 "&vrlw (@x[$d1],@x[$d1],'$sixteen')", 949 "&vadduwm (@x[$c1],@x[$c1],@x[$d1])", 966 "&vxor (@x[$d1],@x[$d1],@x[$a1])", [all …]
|
H A D | chachap10-ppc.pl | 118 "&vxor (@x[$d1],@x[$d1],@x[$a1])", 122 "&vrlw (@x[$d1],@x[$d1],'$sixteen')", 127 "&vadduwm (@x[$c1],@x[$c1],@x[$d1])", 144 "&vxor (@x[$d1],@x[$d1],@x[$a1])", 148 "&vrlw (@x[$d1],@x[$d1],'$eight')", 153 "&vadduwm (@x[$c1],@x[$c1],@x[$d1])", 531 "&vxor (@x[$d1],@x[$d1],@x[$a1])", 540 "&vrlw (@x[$d1],@x[$d1],@x[$c7])", 553 "&vadduwm (@x[$c1],@x[$c1],@x[$d1])", 594 "&vxor (@x[$d1],@x[$d1],@x[$a1])", [all …]
|
/openssl/crypto/poly1305/asm/ |
H A D | poly1305-armv8.pl | 106 csel $d1,$d1,$r1,eq 155 adc $d1,$d1,$t1 158 adds $d1,$d1,$t0 163 adds $d1,$d1,$t0 168 adds $d1,$d1,$t0 244 adc $d1,$d1,$t1 247 adds $d1,$d1,$t0 252 adds $d1,$d1,$t0 257 adds $d1,$d1,$t0 350 rev $d1,$d1 [all …]
|
H A D | poly1305-ppc.pl | 128 lwbrx $d1,$d1,$inp 140 and $d1,$d1,$h1 195 lwbrx $d1,$d1,$inp 212 adde $d1,$d1,$t1 216 addc $d1,$d1,$t0 221 addc $d1,$d1,$t0 226 addc $d1,$d1,$t0 527 addc $d1,$d1,$t2 547 addc $d1,$d1,$t2 578 addc $d1,$d1,$t0 [all …]
|
H A D | poly1305-sparcv9.pl | 169 set 8,$d1 184 ldxa [$inp+$d1]0x88,$d1 189 srlx $d1,$shr,$d1 192 or $d2,$d1,$d1 214 add $t1,$d1,$d1 223 add $t2,$d1,$d1 232 add $t0,$d1,$d1 241 add $t0,$d1,$d1 249 set 8,$d1 940 andn $d1,$mask,$d1 [all …]
|
H A D | poly1305-mips.pl | 174 my ($h0,$h1,$h2,$r0,$r1,$s1,$d0,$d1,$d2) = 281 mfhi ($d1,$r0,$h0) 291 daddu $d1,$tmp1 295 daddu $d1,$tmp0 298 daddu $d1,$tmp2 299 sltu $tmp2,$d1,$tmp2 305 daddu $d1,$tmp0 310 sltu $tmp0,$d1,$tmp0 314 daddu $d1,$tmp2 316 sltu $tmp2,$d1,$tmp2 [all …]
|
H A D | poly1305-ppcfp.pl | 580 andc $d1,$d1,$mask 599 addze $d1,$h1 611 and $d1,$d1,$mask 616 or $h1,$h1,$d1 634 add $h2,$h2,$d1 639 srdi $d1,$h1,32 640 add $h2,$h2,$d1 650 addze $d1,$h2 662 and $d1,$d1,$mask 664 or $h2,$h2,$d1 [all …]
|
H A D | poly1305-x86_64.pl | 119 mov %rdx,$d1 129 adc %rdx,$d1 133 mov $d1,$h1 376 mov $h0,$d1 402 or $d1,%rax 411 mov $h1,$d1 432 or %rax,$d1 434 lea ($d1,$d1,4),$d1 # *5 477 lea ($d1,$d1,4),$d1 # *5 517 lea ($d1,$d1,4),$d1 # *5 [all …]
|
H A D | poly1305-s390x.pl | 250 llgfr ("%r1",$d1); 251 srlg ($h1,$d1,32); 271 xgr ($h1,$d1); 277 xgr ($h1,$d1); 387 srlg ($d1,$h0,52); 923 xgr ($h1,$d1); 929 xgr ($h1,$d1); 934 lgr ($d1,$h1); 946 xgr ($h1,$d1); 951 xgr ($h1,$d1); [all …]
|
/openssl/crypto/bn/ |
H A D | bn_div.c | 270 BN_ULONG d0, d1; in bn_div_fixed_top() local 346 q = bn_div_3_words(wnumtop, d1, d0); in bn_div_fixed_top() 372 t2 = (BN_ULLONG) d1 *q; in bn_div_fixed_top() 381 t2 -= d1; in bn_div_fixed_top() 392 BN_UMULT_LOHI(t2l, t2h, d1, q); in bn_div_fixed_top() 394 t2l = d1 * q; in bn_div_fixed_top() 395 t2h = BN_UMULT_HIGH(d1, q); in bn_div_fixed_top() 399 t2l = LBITS(d1); in bn_div_fixed_top() 400 t2h = HBITS(d1); in bn_div_fixed_top() 414 if (t2l < d1) in bn_div_fixed_top() [all …]
|
/openssl/test/recipes/30-test_evp_pkey_provided/ |
H A D | EC.pub.txt | 3 04:1b:93:67:55:1c:55:9f:63:d1:22:a4:d8:d1:0a: 6 9a:85:0f:6d:7f:59:5f:8c:d1:96:0b:df:29:3e:49:
|
H A D | EC.priv.txt | 7 04:1b:93:67:55:1c:55:9f:63:d1:22:a4:d8:d1:0a: 10 9a:85:0f:6d:7f:59:5f:8c:d1:96:0b:df:29:3e:49:
|
/openssl/crypto/poly1305/ |
H A D | poly1305.c | 154 u128 d0, d1; in poly1305_blocks() local 168 h1 = (u64)(d1 = (u128)h1 + (d0 >> 64) + U8TOU64(inp + 8)); in poly1305_blocks() 173 h2 += (u64)(d1 >> 64) + padbit; in poly1305_blocks() 178 d1 = ((u128)h0 * r1) + in poly1305_blocks() 186 h1 = (u64)(d1 += d0 >> 64); in poly1305_blocks() 187 h2 += (u64)(d1 >> 64); in poly1305_blocks() 296 u64 d0, d1, d2, d3; in poly1305_blocks() local 316 h1 = (u32)(d1 = (u64)h1 + (d0 >> 32) + U8TOU32(inp + 4)); in poly1305_blocks() 326 d1 = ((u64)h0 * r1) + in poly1305_blocks() 346 h1 = (u32)(d1 += d0 >> 32); in poly1305_blocks() [all …]
|