/openssl/fuzz/ |
H A D | bndiv.c | 26 static BIGNUM *b2; variable 34 b2 = BN_new(); in FuzzerInitialize() 74 OPENSSL_assert(BN_bin2bn(buf + l1, l2, b2) == b2); in FuzzerTestOneInput() 75 BN_set_negative(b2, s2); in FuzzerTestOneInput() 78 if (BN_is_zero(b2)) { in FuzzerTestOneInput() 83 OPENSSL_assert(BN_div(b3, b4, b1, b2, ctx)); in FuzzerTestOneInput() 92 OPENSSL_assert(BN_mul(b5, b3, b2, ctx)); in FuzzerTestOneInput() 99 BN_print_fp(stdout, b2); in FuzzerTestOneInput() 108 BN_is_negative(b2), in FuzzerTestOneInput() 110 BN_is_negative(b3) != BN_is_negative(b2) in FuzzerTestOneInput() [all …]
|
H A D | bignum.c | 37 BIGNUM *b2; in FuzzerTestOneInput() local 43 b2 = BN_new(); in FuzzerTestOneInput() 68 OPENSSL_assert(BN_bin2bn(buf + l1, l2, b2) == b2); in FuzzerTestOneInput() 78 OPENSSL_assert(BN_mod_exp(b4, b1, b2, b3, ctx)); in FuzzerTestOneInput() 79 OPENSSL_assert(BN_mod_exp_simple(b5, b1, b2, b3, ctx)); in FuzzerTestOneInput() 85 BN_print_fp(stdout, b2); in FuzzerTestOneInput() 98 BN_free(b2); in FuzzerTestOneInput()
|
/openssl/crypto/idea/ |
H A D | i_skey.c | 93 long n1, n2, q, r, b1, b2, t; in inverse() local 96 b2 = 0; in inverse() 100 b2 = 1; in inverse() 107 if (b2 < 0) in inverse() 108 b2 = 0x10001 + b2; in inverse() 112 t = b2; in inverse() 113 b2 = b1 - q * b2; in inverse() 118 return (IDEA_INT)b2; in inverse()
|
/openssl/crypto/chacha/asm/ |
H A D | chacha-c64xplus.pl | 151 || XOR @X[$c2],@X[$b2],@X[$b2] 156 || ROTL @X[$b2],12,@X[$b2] 202 || XOR @X[$c2],@X[$b2],@X[$b2] 210 || ROTL @Y[$b2],12,@Y[$b2] 254 || XOR @X[$c0],@X[$b2],@X[$b2] 274 ROTL @X[$b2],12,@X[$b2] 319 XOR @X[$c0],@X[$b2],@X[$b2] 332 ROTL @Y[$b2],12,@Y[$b2] 377 XOR @Y[$c0],@Y[$b2],@Y[$b2] 618 || ROTL @X[$b2],12,@X[$b2] [all …]
|
H A D | chacha-ia64.pl | 109 add @x[$a2]=@x[$a2],@x[$b2] };; 130 { .mmi; xor @x[$b2]=@x[$b2],@x[$c2] 137 extr.u @y[2]=@x[$b2],20,12 140 dep.z @x[$b2]=@x[$b2],12,20 142 { .mmi; or @x[$b2]=@x[$b2],@y[2] 145 { .mmi; add @x[$a2]=@x[$a2],@x[$b2] 170 xor @x[$b2]=@x[$b2],@x[$c2] 176 extr.u @y[2]=@x[$b2],25,7 177 dep.z @x[$b2]=@x[$b2],7,25 };; 183 { .mmi; or @x[$b2]=@x[$b2],@y[2] [all …]
|
H A D | chacha-armv4.pl | 150 "&mov (@x[$b2],@x[$b2],'ror#20')", 153 "&eor (@x[$b2],@x[$b2],$xc,'ror#20')", 164 "&mov (@x[$b2],@x[$b2],'ror#25')", 167 "&eor (@x[$b2],@x[$b2],$xc,'ror#25')", 708 vmov $b2,$b0 722 vmov $b2,$b0 790 vadd.i32 $b2,$b2,$t1 829 veor $b2,$b2,$t1 1049 vst1.8 {$a2-$b2},[sp] 1076 veor $b2,$b2,$t1 [all …]
|
H A D | chacha-loongarch64.pl | 150 xor @x[$b2],@x[$b2],@x[$c2] 151 rotri.w @x[$b2],@x[$b2],20 164 xor @x[$b2],@x[$b2],@x[$c2] 165 rotri.w @x[$b2],@x[$b2],25 439 vxor.v @x[$b2],@x[$b2],@x[$c2] 440 vrotri.w @x[$b2],@x[$b2],20 453 vxor.v @x[$b2],@x[$b2],@x[$c2] 454 vrotri.w @x[$b2],@x[$b2],25 863 xvxor.v @x[$b2],@x[$b2],@x[$c2] 864 xvrotri.w @x[$b2],@x[$b2],20 [all …]
|
H A D | chacha-s390x.pl | 133 xr (@x[$b2],$xc); 135 rll (@x[$b2],@x[$b2],12); 147 xr (@x[$b2],$xc); 149 rll (@x[$b2],@x[$b2],7); 180 vx (@x[$b2],@x[$b2],@x[$c2]); 181 verllf (@x[$b2],@x[$b2],12); 206 vx (@x[$b2],@x[$b2],@x[$c2]); 207 verllf (@x[$b2],@x[$b2],7); 776 vlr ($b2,@K[1]); 878 vaf ($b2,$b2,@K[1]); [all …]
|
H A D | chacha-armv8-sve.pl | 179 &SVE_ADD($a0,$b0,$a1,$b1,$a2,$b2,$a3,$b3); 185 &SVE_ADD($a0,$b0,$a1,$b1,$a2,$b2,$a3,$b3); 195 &SVE_ADD($a0,$b0,$a1,$b1,$a2,$b2,$a3,$b3); 200 &SVE_EOR($b0,$c0,$b1,$c1,$b2,$c2,$b3,$c3); 201 &SVE_LSL(12,0,$b0,$b1,$b2,$b3); 202 &SVE_LSR(20,$b0,$b1,$b2,$b3); 203 &SVE_ORR(0,$b0,$b1,$b2,$b3); 205 &SVE_ADD($a0,$b0,$a1,$b1,$a2,$b2,$a3,$b3); 211 &SVE_LSL(7,0,$b0,$b1,$b2,$b3); 212 &SVE_LSR(25,$b0,$b1,$b2,$b3); [all …]
|
H A D | chacha-x86_64.pl | 1411 "&vprotd (@x[$b2],@x[$b2],12)", 1437 "&vprotd (@x[$b2],@x[$b2],7)", 1912 "&vpxor (@x[$b2],$xc,@x[$b2])", 1914 "&vpsrld (@x[$b2],@x[$b2],20)", 1915 "&vpor (@x[$b2],$t0,@x[$b2])", 1931 "&vpxor (@x[$b2],$xc,@x[$b2])", 1933 "&vpsrld (@x[$b2],@x[$b2],25)", 1934 "&vpor (@x[$b2],$t1,@x[$b2])", 2924 "&vpxord (@x[$b2],@x[$b2],@x[$c2])", 2928 "&vprold (@x[$b2],@x[$b2],12)", [all …]
|
H A D | chacha-armv8.pl | 82 "&add_32 (@x[$a2],@x[$a2],@x[$b2])", 99 "&eor_32 (@x[$b2],@x[$b2],@x[$c2])", 103 "&ror_32 (@x[$b2],@x[$b2],20)", 125 "&eor_32 (@x[$b2],@x[$b2],@x[$c2])", 129 "&ror_32 (@x[$b2],@x[$b2],25)", 420 "&eor ('$xt2',@x[$b2],@x[$c2])", 424 "&ushr (@x[$b2],'$xt2',20)", 428 "&sli (@x[$b2],'$xt2',12)", 450 "&eor ('$xt2',@x[$b2],@x[$c2])", 454 "&ushr (@x[$b2],'$xt2',25)", [all …]
|
H A D | chacha-ppc.pl | 103 "&add (@x[$a2],@x[$a2],@x[$b2])", 120 "&xor (@x[$b2],@x[$b2],@x[$c2])", 124 "&rotlwi (@x[$b2],@x[$b2],12)", 129 "&add (@x[$a2],@x[$a2],@x[$b2])", 146 "&xor (@x[$b2],@x[$b2],@x[$c2])", 150 "&rotlwi (@x[$b2],@x[$b2],7)", 954 "&vxor (@x[$b2],@x[$b2],@x[$c2])", 958 "&vrlw (@x[$b2],@x[$b2],'$twelve')", 963 "&vadduwm (@x[$a2],@x[$a2],@x[$b2])", 980 "&vxor (@x[$b2],@x[$b2],@x[$c2])", [all …]
|
H A D | chachap10-ppc.pl | 115 "&vadduwm (@x[$a2],@x[$a2],@x[$b2])", # Q3 132 "&vxor (@x[$b2],@x[$b2],@x[$c2])", 136 "&vrlw (@x[$b2],@x[$b2],'$twelve')", 141 "&vadduwm (@x[$a2],@x[$a2],@x[$b2])", 158 "&vxor (@x[$b2],@x[$b2],@x[$c2])", 162 "&vrlw (@x[$b2],@x[$b2],'$seven')", 563 "&vxor (@x[$b2],@x[$b2],@x[$c2])", 572 "&vrlw (@x[$b2],@x[$b2],@x[$a7])", 586 "&vadduwm (@x[$a2],@x[$a2],@x[$b2])", 625 "&vxor (@x[$b2],@x[$b2],@x[$c2])", [all …]
|
/openssl/test/testutil/ |
H A D | format_output.c | 46 char b1[MAX_STRING_WIDTH + 1], b2[MAX_STRING_WIDTH + 1]; in test_fail_string_common() local 78 b2[n2 = l2 > width ? width : l2] = 0; in test_fail_string_common() 106 test_printf_stderr("%4u:+ '%s'\n", cnt, b2); in test_fail_string_common() 272 char b1[MAX_STRING_WIDTH + 1], b2[MAX_STRING_WIDTH + 1]; in test_fail_bignum_common() local 320 n2 = convert_bn_memory(m2, bytes, b2, &lz2, bn2); in test_fail_bignum_common() 326 if (b1[i] == b2[i] || b1[i] == ' ' || b2[i] == ' ') { in test_fail_bignum_common() 328 diff |= b1[i] != b2[i]; in test_fail_bignum_common() 342 test_printf_stderr("+%s\n", b2); in test_fail_bignum_common() 344 test_printf_stderr("+%s:% 5d\n", b2, cnt); in test_fail_bignum_common() 463 hex_convert_memory(m2, n2, b2, 8); in test_fail_memory_common() [all …]
|
/openssl/ms/ |
H A D | cmp.pl | 21 $n2=sysread(IN1,$b2,4096); 24 last if ($b1 ne $b2); 40 @a2=unpack("C*",$b2);
|
/openssl/test/ |
H A D | exptest.c | 251 BIGNUM *b2 = NULL; in test_mod_exp_x2() local 273 || !TEST_ptr(b2 = BN_new()) in test_mod_exp_x2() 281 BN_rand(b2, factor_size, BN_RAND_TOP_ONE, BN_RAND_BOTTOM_ANY); in test_mod_exp_x2() 287 || !TEST_true(BN_mod(b2, b2, m2, ctx)) in test_mod_exp_x2() 289 || !TEST_true(BN_mod_exp_simple(r_simple2, a2, b2, m2, ctx)) in test_mod_exp_x2() 291 r_mont_const_x2_2, a2, b2, m2, NULL, in test_mod_exp_x2() 306 BN_print_var(b2); in test_mod_exp_x2() 325 BN_free(b2); in test_mod_exp_x2()
|
H A D | bio_dgram_test.c | 103 BIO *b1 = NULL, *b2 = NULL; in test_bio_dgram_impl() local 203 b2 = BIO_new_dgram(fd2, 0); in test_bio_dgram_impl() 204 if (!TEST_ptr(b2)) in test_bio_dgram_impl() 214 if (!TEST_int_eq(BIO_read(b2, rx_buf, sizeof(rx_buf)), 5)) in test_bio_dgram_impl() 220 if (!TEST_int_gt(BIO_dgram_get_peer(b2, addr3), 0)) in test_bio_dgram_impl() 233 if (!TEST_int_gt(BIO_dgram_set_peer(b2, addr3), 0)) in test_bio_dgram_impl() 300 if (!TEST_false(do_recvmmsg(b2, rx_msg, 2, 0, &num_processed)) in test_bio_dgram_impl() 318 if (BIO_dgram_get_local_addr_cap(b2) > 0 && use_local) { in test_bio_dgram_impl() 328 if (!TEST_true(do_recvmmsg(b2, rx_msg, 2, 0, &num_processed)) in test_bio_dgram_impl() 367 if (!TEST_true(do_recvmmsg(b2, rx_msg, 2, 0, &num_processed)) in test_bio_dgram_impl() [all …]
|
H A D | destest.c | 322 char b1[DATA_BUF_SIZE], b2[DATA_BUF_SIZE]; in test_des_ecb() local 333 pt(key_data[i], b1), pt(in, b2)); in test_des_ecb() 338 pt(key_data[i], b1), pt(out, b2)); in test_des_ecb() 348 char b1[DATA_BUF_SIZE], b2[DATA_BUF_SIZE]; in test_des_ede_ecb() local 361 pt(key_data[i], b1), pt(in, b2)); in test_des_ede_ecb() 366 pt(key_data[i], b1), pt(out, b2)); in test_des_ede_ecb()
|
/openssl/crypto/bio/ |
H A D | bss_bio.c | 608 struct bio_bio_st *b1, *b2; in bio_make_pair() local 614 b2 = bio2->ptr; in bio_make_pair() 616 if (b1->peer != NULL || b2->peer != NULL) { in bio_make_pair() 629 if (b2->buf == NULL) { in bio_make_pair() 630 b2->buf = OPENSSL_malloc(b2->size); in bio_make_pair() 631 if (b2->buf == NULL) in bio_make_pair() 633 b2->len = 0; in bio_make_pair() 634 b2->offset = 0; in bio_make_pair() 640 b2->peer = bio1; in bio_make_pair() 641 b2->closed = 0; in bio_make_pair() [all …]
|
H A D | bss_dgram_pair.c | 338 struct bio_dgram_pair_st *b1, *b2; in dgram_pair_ctrl_make_bio_pair() local 354 b2 = bio2->ptr; in dgram_pair_ctrl_make_bio_pair() 365 if (b1->peer != NULL || b2->peer != NULL) { in dgram_pair_ctrl_make_bio_pair() 383 if (b2->rbuf.len != b2->req_buf_len) in dgram_pair_ctrl_make_bio_pair() 384 if (ring_buf_init(&b2->rbuf, b2->req_buf_len) == 0) { in dgram_pair_ctrl_make_bio_pair() 391 b2->peer = bio1; in dgram_pair_ctrl_make_bio_pair() 393 b2->role = 1; in dgram_pair_ctrl_make_bio_pair() 413 b2 = bio2->ptr; in dgram_pair_ctrl_destroy_bio_pair() 416 if (!ossl_assert(b2->peer == bio1)) in dgram_pair_ctrl_destroy_bio_pair() 420 ring_buf_destroy(&b2->rbuf); in dgram_pair_ctrl_destroy_bio_pair() [all …]
|
/openssl/crypto/perlasm/ |
H A D | s390x.pm | 2623 $out.=sprintf("%#06x",($b2<<12|($d2&0xfff))).","; 2633 my ($opcode,$d2,$b2)=(shift,get_DB(shift)); 2635 $out.="\t.long\t".sprintf("%#010x",($opcode<<16|$b2<<12|$d2)); 2918 $out.=sprintf("%#06x",($b2<<12|$d2)).","; 2933 $out.=sprintf("%#06x",($b2<<12|$d2)).","; 2948 $out.=sprintf("%#06x",($b2<<12|$d2)).","; 2958 my ($opcode,$v1,$r3,$d2,$b2)=(shift,get_V(shift),get_R(shift), 2963 $out.=sprintf("%#06x",($b2<<12|$d2)).","; 2978 $out.=sprintf("%#06x",($b2<<12|$d2)).","; 2993 $out.=sprintf("%#06x",($b2<<12|$d2)).","; [all …]
|
/openssl/test/certs/ |
H A D | cyrillic_crl.utf8 | 19 4b:d3:6d:99:61:b2:77:f3:0e:7c:f2:4e:0d:4f:70:96:54:77: 21 f5:e7:63:de:2d:df:58:ad:68:aa:e6:23:88:3a:b2:1b:40:b1:
|
/openssl/test/recipes/30-test_evp_pkey_provided/ |
H A D | DSA.pub.txt | 4 71:69:96:35:17:b2:62:9b:80:0a:95:9d:6a:c0:32: 7 13:1c:b2:52:15:fd:9b:d5:40:4a:1a:da:29:4c:92: 11 35:31:10:1c:3a:a8:4d:18:d5:06:af:b2:ec:5c:89:
|
H A D | DSA.priv.txt | 8 71:69:96:35:17:b2:62:9b:80:0a:95:9d:6a:c0:32: 11 13:1c:b2:52:15:fd:9b:d5:40:4a:1a:da:29:4c:92: 15 35:31:10:1c:3a:a8:4d:18:d5:06:af:b2:ec:5c:89:
|
H A D | X25519.priv.txt | 3 77:07:6d:0a:73:18:a5:7d:3c:16:c1:72:51:b2:66:
|