Home
last modified time | relevance | path

Searched refs:b1 (Results 1 – 25 of 46) sorted by relevance

12

/openssl/fuzz/
H A Dbndiv.c25 static BIGNUM *b1; variable
33 b1 = BN_new(); in FuzzerInitialize()
72 OPENSSL_assert(BN_bin2bn(buf, l1, b1) == b1); in FuzzerTestOneInput()
73 BN_set_negative(b1, s1); in FuzzerTestOneInput()
83 OPENSSL_assert(BN_div(b3, b4, b1, b2, ctx)); in FuzzerTestOneInput()
84 if (BN_is_zero(b1)) in FuzzerTestOneInput()
86 else if (BN_is_negative(b1)) in FuzzerTestOneInput()
95 success = success && BN_cmp(b5, b1) == 0; in FuzzerTestOneInput()
97 BN_print_fp(stdout, b1); in FuzzerTestOneInput()
112 BN_cmp(b5, b1)); in FuzzerTestOneInput()
[all …]
H A Dbignum.c36 BIGNUM *b1; in FuzzerTestOneInput() local
42 b1 = BN_new(); in FuzzerTestOneInput()
66 OPENSSL_assert(BN_bin2bn(buf, l1, b1) == b1); in FuzzerTestOneInput()
67 BN_set_negative(b1, s1); 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()
83 BN_print_fp(stdout, b1); in FuzzerTestOneInput()
97 BN_free(b1); in FuzzerTestOneInput()
/openssl/crypto/chacha/asm/
H A Dchacha-c64xplus.pl150 XOR @X[$c1],@X[$b1],@X[$b1]
155 ROTL @X[$b1],12,@X[$b1]
195 || XOR @Y[$c1],@Y[$b1],@Y[$b1]
201 || XOR @X[$c1],@X[$b1],@X[$b1]
209 || ROTL @Y[$b1],12,@Y[$b1]
253 || XOR @X[$c3],@X[$b1],@X[$b1]
267 || ROTL @X[$b1],12,@X[$b1]
316 || XOR @X[$c3],@X[$b1],@X[$b1]
324 || ROTL @Y[$b1],12,@Y[$b1]
617 || ROTL @X[$b1],12,@X[$b1]
[all …]
H A Dchacha-ia64.pl102 my ($a1,$b1,$c1,$d1)=map(($_&~3)+(($_+1)&3),($a0,$b0,$c0,$d0));
108 add @x[$a1]=@x[$a1],@x[$b1]
124 { .mii; xor @x[$b1]=@x[$b1],@x[$c1]
134 extr.u @y[1]=@x[$b1],20,12
135 dep.z @x[$b1]=@x[$b1],12,20 };;
139 { .mii; or @x[$b1]=@x[$b1],@y[1]
144 add @x[$a1]=@x[$a1],@x[$b1] };;
169 { .mmi; xor @x[$b1]=@x[$b1],@x[$c1]
173 extr.u @y[1]=@x[$b1],25,7
174 dep.z @x[$b1]=@x[$b1],7,25 };;
[all …]
H A Dchacha-armv4.pl109 "&mov (@x[$b1],@x[$b1],'ror#20')",
111 "&eor (@x[$b1],@x[$b1],$xc_,'ror#20')",
127 "&mov (@x[$b1],@x[$b1],'ror#25')" );
133 "&eor (@x[$b1],@x[$b1],$xc_,'ror#25')" );
707 vmov $b1,$b0
720 vmov $b1,$b0
789 vadd.i32 $b1,$b1,$t1
818 veor $b1,$b1,$t1
1020 vst1.8 {$a1-$b1},[sp]
1038 veor $b1,$b1,$t1
[all …]
H A Dchacha-loongarch64.pl125 xor @x[$b1],@x[$b1],@x[$c1]
126 rotri.w @x[$b1],@x[$b1],20
139 xor @x[$b1],@x[$b1],@x[$c1]
140 rotri.w @x[$b1],@x[$b1],25
414 vxor.v @x[$b1],@x[$b1],@x[$c1]
415 vrotri.w @x[$b1],@x[$b1],20
428 vxor.v @x[$b1],@x[$b1],@x[$c1]
429 vrotri.w @x[$b1],@x[$b1],25
838 xvxor.v @x[$b1],@x[$b1],@x[$c1]
839 xvrotri.w @x[$b1],@x[$b1],20
[all …]
H A Dchacha-s390x.pl103 xr (@x[$b1],$xc_);
105 rll (@x[$b1],@x[$b1],12);
117 xr (@x[$b1],$xc_);
119 rll (@x[$b1],@x[$b1],7);
177 vx (@x[$b1],@x[$b1],@x[$c1]);
178 verllf (@x[$b1],@x[$b1],12);
203 vx (@x[$b1],@x[$b1],@x[$c1]);
204 verllf (@x[$b1],@x[$b1],7);
774 vlr ($b1,@K[1]);
852 vaf ($b1,$b1,@K[1]);
[all …]
H A Dchacha-x86_64.pl709 &pshufd ($b1,$b1,0b00111001);
717 &pshufd ($b1,$b1,0b10010011);
1410 "&vprotd (@x[$b1],@x[$b1],12)",
1436 "&vprotd (@x[$b1],@x[$b1],7)",
1875 "&vpxor (@x[$b1],$xc_,@x[$b1])",
1877 "&vpsrld (@x[$b1],@x[$b1],20)",
1878 "&vpor (@x[$b1],$t1,@x[$b1])",
1896 "&vpsrld (@x[$b1],@x[$b1],25)",
1897 "&vpor (@x[$b1],$t0,@x[$b1])",
2927 "&vprold (@x[$b1],@x[$b1],12)",
[all …]
H A Dchacha-armv8-sve.pl179 &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 Dchacha-armv8.pl81 "&add_32 (@x[$a1],@x[$a1],@x[$b1])",
98 "&eor_32 (@x[$b1],@x[$b1],@x[$c1])",
102 "&ror_32 (@x[$b1],@x[$b1],20)",
124 "&eor_32 (@x[$b1],@x[$b1],@x[$c1])",
128 "&ror_32 (@x[$b1],@x[$b1],25)",
419 "&eor ('$xt1',@x[$b1],@x[$c1])",
423 "&ushr (@x[$b1],'$xt1',20)",
427 "&sli (@x[$b1],'$xt1',12)",
449 "&eor ('$xt1',@x[$b1],@x[$c1])",
453 "&ushr (@x[$b1],'$xt1',25)",
[all …]
H A Dchacha-ppc.pl102 "&add (@x[$a1],@x[$a1],@x[$b1])",
119 "&xor (@x[$b1],@x[$b1],@x[$c1])",
123 "&rotlwi (@x[$b1],@x[$b1],12)",
128 "&add (@x[$a1],@x[$a1],@x[$b1])",
145 "&xor (@x[$b1],@x[$b1],@x[$c1])",
149 "&rotlwi (@x[$b1],@x[$b1],7)",
953 "&vxor (@x[$b1],@x[$b1],@x[$c1])",
957 "&vrlw (@x[$b1],@x[$b1],'$twelve')",
962 "&vadduwm (@x[$a1],@x[$a1],@x[$b1])",
979 "&vxor (@x[$b1],@x[$b1],@x[$c1])",
[all …]
H A Dchachap10-ppc.pl114 "&vadduwm (@x[$a1],@x[$a1],@x[$b1])", # Q2
131 "&vxor (@x[$b1],@x[$b1],@x[$c1])",
135 "&vrlw (@x[$b1],@x[$b1],'$twelve')",
140 "&vadduwm (@x[$a1],@x[$a1],@x[$b1])",
157 "&vxor (@x[$b1],@x[$b1],@x[$c1])",
161 "&vrlw (@x[$b1],@x[$b1],'$seven')",
562 "&vxor (@x[$b1],@x[$b1],@x[$c1])",
571 "&vrlw (@x[$b1],@x[$b1],@x[$a7])",
585 "&vadduwm (@x[$a1],@x[$a1],@x[$b1])",
624 "&vxor (@x[$b1],@x[$b1],@x[$c1])",
[all …]
/openssl/test/testutil/
H A Dformat_output.c46 char b1[MAX_STRING_WIDTH + 1], b2[MAX_STRING_WIDTH + 1]; in test_fail_string_common() local
73 b1[n1 = l1 > width ? width : l1] = 0; in test_fail_string_common()
102 test_printf_stderr("%4u:- '%s'\n", cnt, b1); in test_fail_string_common()
319 n1 = convert_bn_memory(m1, bytes, b1, &lz1, bn1); in test_fail_bignum_common()
325 for (i=0; b1[i] != '\0'; i++) 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()
338 test_printf_stderr("-%s\n", b1); in test_fail_bignum_common()
340 test_printf_stderr("-%s:% 5d\n", b1, cnt); in test_fail_bignum_common()
459 hex_convert_memory(m1, n1, b1, 8); in test_fail_memory_common()
[all …]
/openssl/ms/
H A Dcmp.pl20 $n1=sysread(IN0,$b1,4096);
24 last if ($b1 ne $b2);
39 @a1=unpack("C*",$b1);
/openssl/test/
H A Dexptest.c248 BIGNUM *b1 = NULL; in test_mod_exp_x2() local
270 || !TEST_ptr(b1 = BN_new()) in test_mod_exp_x2()
278 BN_rand(b1, factor_size, BN_RAND_TOP_ONE, BN_RAND_BOTTOM_ANY); in test_mod_exp_x2()
285 || !TEST_true(BN_mod(b1, b1, m1, ctx)) in test_mod_exp_x2()
288 || !TEST_true(BN_mod_exp_simple(r_simple1, a1, b1, m1, ctx)) in test_mod_exp_x2()
290 || !TEST_true(BN_mod_exp_mont_consttime_x2(r_mont_const_x2_1, a1, b1, m1, NULL, in test_mod_exp_x2()
303 BN_print_var(b1); in test_mod_exp_x2()
322 BN_free(b1); in test_mod_exp_x2()
H A Dbio_dgram_test.c103 BIO *b1 = NULL, *b2 = NULL; in test_bio_dgram_impl() local
199 b1 = BIO_new_dgram(fd1, 0); in test_bio_dgram_impl()
200 if (!TEST_ptr(b1)) in test_bio_dgram_impl()
207 if (!TEST_int_gt(BIO_dgram_set_peer(b1, addr2), 0)) in test_bio_dgram_impl()
210 if (!TEST_int_gt(BIO_write(b1, "hello", 5), 0)) in test_bio_dgram_impl()
230 if (!TEST_int_gt(BIO_dgram_set_peer(b1, addr3), 0)) in test_bio_dgram_impl()
262 if (!TEST_false(do_sendmmsg(b1, tx_msg, 2, 0, &num_processed) in test_bio_dgram_impl()
267 if (BIO_dgram_get_local_addr_cap(b1) > 0 && use_local) { in test_bio_dgram_impl()
277 if (!TEST_true(do_sendmmsg(b1, tx_msg, 2, 0, &num_processed)) in test_bio_dgram_impl()
359 if (!TEST_true(do_sendmmsg(b1, tx_msg, 2, 0, &num_processed)) in test_bio_dgram_impl()
[all …]
H A Ddestest.c322 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/idea/
H A Di_skey.c93 long n1, n2, q, r, b1, b2, t; in inverse() local
101 b1 = 0; in inverse()
113 b2 = b1 - q * b2; in inverse()
114 b1 = t; in inverse()
/openssl/crypto/bio/
H A Dbss_bio.c608 struct bio_bio_st *b1, *b2; in bio_make_pair() local
613 b1 = bio1->ptr; in bio_make_pair()
616 if (b1->peer != NULL || b2->peer != NULL) { in bio_make_pair()
621 if (b1->buf == NULL) { in bio_make_pair()
622 b1->buf = OPENSSL_malloc(b1->size); in bio_make_pair()
623 if (b1->buf == NULL) in bio_make_pair()
625 b1->len = 0; in bio_make_pair()
626 b1->offset = 0; in bio_make_pair()
637 b1->peer = bio2; in bio_make_pair()
638 b1->closed = 0; in bio_make_pair()
[all …]
H A Dbss_dgram_pair.c338 struct bio_dgram_pair_st *b1, *b2; in dgram_pair_ctrl_make_bio_pair() local
353 b1 = bio1->ptr; in dgram_pair_ctrl_make_bio_pair()
377 if (b1->rbuf.len != b1->req_buf_len) in dgram_pair_ctrl_make_bio_pair()
378 if (ring_buf_init(&b1->rbuf, b1->req_buf_len) == 0) { in dgram_pair_ctrl_make_bio_pair()
386 ring_buf_destroy(&b1->rbuf); in dgram_pair_ctrl_make_bio_pair()
390 b1->peer = bio2; in dgram_pair_ctrl_make_bio_pair()
392 b1->role = 0; in dgram_pair_ctrl_make_bio_pair()
405 ring_buf_destroy(&b1->rbuf); in dgram_pair_ctrl_destroy_bio_pair()
409 if (b1->peer == NULL) in dgram_pair_ctrl_destroy_bio_pair()
412 bio2 = b1->peer; in dgram_pair_ctrl_destroy_bio_pair()
[all …]
/openssl/test/recipes/30-test_evp_pkey_provided/
H A DED25519.priv.txt3 9d:61:b1:9d:ef:fd:5a:60:ba:84:4a:f4:92:ec:2c:
7 d7:5a:98:01:82:b1:0a:b7:d5:4b:fe:d3:c9:64:07:
/openssl/crypto/modes/asm/
H A Daes-gcm-avx512.pl1242 vpclmulqdq \$0x11,$HK,$GH,$T1 # ; $T1 = a1*b1
1245 vpclmulqdq \$0x10,$HK,$GH,$GH # ; $GH = a0*b1
2403 vpclmulqdq \$0x11,$GHKEY1,$GHDAT1,$GH1H # ; a1*b1
2406 vpclmulqdq \$0x10,$GHKEY1,$GHDAT1,$GH1T # ; a0*b1
2421 vpclmulqdq \$0x10,$GHKEY2,$GHDAT2,$GH2M # ; a0*b1
2423 vpclmulqdq \$0x11,$GHKEY2,$GHDAT2,$GH2H # ; a1*b1
2439 vpclmulqdq \$0x10,$GHKEY1,$GHDAT1,$GH3M # ; a0*b1
2441 vpclmulqdq \$0x11,$GHKEY1,$GHDAT1,$GH3H # ; a1*b1
2482 vpclmulqdq \$0x10,$GHKEY2,$GHDAT2,$GH2M # ; a0*b1
2484 vpclmulqdq \$0x11,$GHKEY2,$GHDAT2,$GH2H # ; a1*b1
[all …]
/openssl/crypto/bn/asm/
H A Dc64xplus-gf2m.pl28 ($rp,$a1,$a0,$b1,$b0)=("A4","B4","A6","B6","A8"); # argument vector
131 || MV $b1,$B
136 || XOR $b0,$b1,$B
H A Dx86_64-gf2m.pl174 ($rp,$a1,$a0,$b1,$b0) = $win64? ("%rcx","%rdx","%r8", "%r9","%r10") : # Win64 order
190 movq $b1,%xmm1
243 mov $b1,56(%rsp)
248 mov $b1,$b
/openssl/test/certs/
H A Dcyrillic_crl.utf821 f5:e7:63:de:2d:df:58:ad:68:aa:e6:23:88:3a:b2:1b:40:b1:
26 be:d6:af:24:4e:15:c8:3f:62:b1:f9:7e:3c:83:b5:44:da:8d:

Completed in 70 milliseconds

12