Home
last modified time | relevance | path

Searched refs:r (Results 1 – 25 of 75) sorted by relevance

123

/test/
A Dsafe_math_test.c57 int err, r, s; in test_int_ops() local
100 r = safe_neg_int(a, &err); in test_int_ops()
106 r = safe_neg_int(b, &err); in test_int_ops()
112 r = safe_abs_int(a, &err); in test_int_ops()
118 r = safe_abs_int(b, &err); in test_int_ops()
146 unsigned int r; in test_uint_ops() local
186 r = safe_neg_uint(a, &err); in test_uint_ops()
191 r = safe_neg_uint(b, &err); in test_uint_ops()
229 size_t r; in test_size_t_ops() local
316 int r, real = 0; in test_int_muldiv() local
[all …]
A Dasn1_dsa_internal_test.c87 BIGNUM *r; in test_decode() local
91 r = BN_new(); in test_decode()
98 || !TEST_BN_eq_word(r, 1) || !TEST_BN_eq_word(s, 2)) { in test_decode()
103 BN_clear(r); in test_decode()
114 BN_clear(r); in test_decode()
124 BN_clear(r); in test_decode()
141 BN_clear(r); in test_decode()
149 BN_clear(r); in test_decode()
157 BN_clear(r); in test_decode()
165 BN_clear(r); in test_decode()
[all …]
A Dstack_test.c201 r = sk_uchar_dup(NULL); in test_uchar_stack()
204 sk_uchar_free(r); in test_uchar_stack()
205 r = sk_uchar_dup(s); in test_uchar_stack()
208 sk_uchar_sort(r); in test_uchar_stack()
226 sk_uchar_zero(r); in test_uchar_stack()
256 sk_uchar_free(r); in test_uchar_stack()
277 STACK_OF(SS) *r = NULL; in test_SS_stack()
302 if (sk_SS_num(r) != 0) in test_SS_stack()
304 sk_SS_free(r); in test_SS_stack()
306 if (!TEST_ptr(r)) in test_SS_stack()
[all …]
A Dexptest.c34 if (!BN_is_zero(r)) { in a_is_zero_mod_one()
37 BN_print_var(r); in a_is_zero_mod_one()
49 BIGNUM *r = NULL; in test_mod_exp_zero() local
58 || !TEST_ptr(r = BN_new())) in test_mod_exp_zero()
68 if (!TEST_true(BN_mod_exp(r, a, p, m, ctx))) in test_mod_exp_zero()
71 if (!TEST_true(a_is_zero_mod_one("BN_mod_exp", r, a))) in test_mod_exp_zero()
74 if (!TEST_true(BN_mod_exp_recp(r, a, p, m, ctx))) in test_mod_exp_zero()
80 if (!TEST_true(BN_mod_exp_simple(r, a, p, m, ctx))) in test_mod_exp_zero()
132 if (!TEST_BN_eq_zero(r)) { in test_mod_exp_zero()
135 BN_print_var(r); in test_mod_exp_zero()
[all …]
A Dcrltest.c424 int r; in test_basic_crl() local
434 if (r) { in test_basic_crl()
444 return r; in test_basic_crl()
457 int r; in test_bad_issuer_crl() local
465 return r; in test_bad_issuer_crl()
471 int r; in test_crl_empty_idp() local
479 return r; in test_crl_empty_idp()
485 int r; in test_known_critical_crl() local
492 return r; in test_known_critical_crl()
498 int r; in test_unknown_critical_crl() local
[all …]
A Dproperty_test.c154 int r = 0; in test_property_parse() local
162 r = 1; in test_property_parse()
166 return r; in test_property_parse()
188 return r; in test_property_query_value_create()
234 r = 1; in test_property_parse_error()
238 return r; in test_property_parse_error()
289 return r; in test_property_merge()
296 int r; in test_property_defn_cache() local
313 if (!r) { in test_property_defn_cache()
328 r = r && TEST_ptr_eq(blue2, blue) in test_property_defn_cache()
[all …]
A Dsmcont.bin8 �ɖ��rڄL5��C��z��.Ů� �a���z8f�>�m�j�_�t�]g�y���V
11 …l�ר�b �E��6W�_ҹk��!��&�Jâ����7��M�y3� �lDw���t�ןL��2ʰ�D ��dN�ۂ�O�`�Sgz��r����fj ���,rX��S��…
21 �@��A���m��9oA�|�:���\Q��7�"�����A�t~r��H�>�l������A� w�hˡAgP�}�U{#�4M}�����I��x3C�h�e�…
22 …��c��z��`Y���U��+ �dk0�@U%b��UU��z<m+;�m��Kvj������0�(�Vd2<淖�X�eZ��뀑��r���������������������…
23 …fK2`�Z,m3 ��B@�B4��B�Z b�Tu>�rƶ����ץ�58B �\�@�� L= ���b��Lj���I^W �����W���g{ �t9��&�N�.�…
26 …+����%����'�*��~~D�l���ؓ��בϗ�����:s�t���[��F+z^��Cf��r;P}��i;���k�O<� ��7�ޛ9������N�|�7��D��
32r脌׺�crG[V`��i�B�w�c�)�d$�#��z �V(�u�t�����2�'}�tժFZ�ϢB�1�P��-%�*���c$�Oӿ� gm�Mo���q��…
33 …���M*��� ֯S_�:��(�����z�x�D�t�O���[�dK�y�P<�OϤ�y��dw�W,�)��C����2�r��nj ��M�7 �q���d…
A Dssl_old_test.c2031 int i, r; in doit_localhost() local
2049 if (r < 0) { in doit_localhost()
2075 if (r < 0) { in doit_localhost()
2110 int i, r; in doit_localhost() local
2128 if (r < 0) { in doit_localhost()
2149 if (r < 0) { in doit_localhost()
2310 int i, r; in doit_biopair() local
2328 if (r < 0) { in doit_biopair()
2389 int i, r; in doit_biopair() local
2464 int r; in doit_biopair() local
[all …]
A Dsecmemtest.c19 char *p = NULL, *q = NULL, *r = NULL, *s = NULL; in test_sec_mem() local
28 r = OPENSSL_secure_malloc(20); in test_sec_mem()
30 if (!TEST_ptr(r) in test_sec_mem()
32 || !TEST_false(CRYPTO_secure_allocated(r))) in test_sec_mem()
126 OPENSSL_secure_free(r); in test_sec_mem()
A Dciphername_test.c387 const char *ciphers = "ALL:eNULL", *p, *q, *r; in test_cipher_name() local
454 r = OPENSSL_cipher_name(p); in test_cipher_name()
455 if (!TEST_str_eq(r, q)) { in test_cipher_name()
457 q, r, id); in test_cipher_name()
A Dbntest.c1210 BN_free(r); in test_kronecker()
2568 BN_free(r); in test_expmodzero()
2612 BN_free(r); in test_expmodone()
2621 BIGNUM *r; in test_smallprime() local
2640 BN_free(r); in test_smallprime()
2646 BIGNUM *r; in test_smallsafeprime() local
2665 BN_free(r); in test_smallsafeprime()
2689 BN_free(r); in test_is_prime()
2712 BN_free(r); in test_not_prime()
3189 if (!TEST_ptr_eq(BN_mod_inverse(r, a, b, ctx), r)) in test_mod_inverse()
[all …]
A Dtest_test.c315 int r = 0; in test_bignum() local
375 r = 1; in test_bignum()
380 return r; in test_bignum()
387 const char *r = "1234567890123456789012345678901234567890123456789012" in test_long_output() local
396 & TEST(0, TEST_str_eq(q, r)) in test_long_output()
397 & TEST(0, TEST_str_eq(r, s)) in test_long_output()
398 & TEST(0, TEST_mem_eq(r, strlen(r), s, strlen(s))); in test_long_output()
403 int r; in test_long_bignum() local
424 r = TEST_true(BN_hex2bn(&a, as)) in test_long_bignum()
438 return r; in test_long_bignum()
A Decdsatest.c85 BIGNUM *r = NULL, *s = NULL; in x9_62_tests() local
91 r_in = ecdsa_cavs_kats[n].r; in x9_62_tests()
113 || !TEST_ptr(r = BN_new()) in x9_62_tests()
115 || !TEST_true(BN_hex2bn(&r, r_in)) in x9_62_tests()
140 if (!TEST_BN_eq(sig_r, r) in x9_62_tests()
152 BN_free(r); in x9_62_tests()
A Drsa_test.c331 unsigned int r; member
364 const int result = rsa_security_bits_cases[n].r; in test_rsa_security_bit()
366 int r = 0; in test_rsa_security_bit() local
388 r = 1; in test_rsa_security_bit()
391 return r; in test_rsa_security_bit()
/test/testutil/
A Dbasic_output.c204 int r; in test_vprintf_stdout() local
210 return r; in test_vprintf_stdout()
215 int r; in test_vprintf_stderr() local
221 return r; in test_vprintf_stderr()
226 int r; in test_flush_stdout() local
232 return r; in test_flush_stdout()
237 int r; in test_flush_stderr() local
248 int r; in test_vprintf_tapout() local
259 int r; in test_vprintf_taperr() local
270 int r; in test_flush_tapout() local
[all …]
A Dfake_random.c38 FAKE_RAND *r = OPENSSL_zalloc(sizeof(*r)); in fake_rand_newctx() local
40 if (r != NULL) in fake_rand_newctx()
41 r->state = EVP_RAND_STATE_UNINITIALISED; in fake_rand_newctx()
42 return r; in fake_rand_newctx()
76 uint32_t r; in fake_rand_generate() local
81 r = test_random(); in fake_rand_generate()
82 l = outlen < sizeof(r) ? outlen : sizeof(r); in fake_rand_generate()
84 memcpy(out, &r, l); in fake_rand_generate()
A Dprovider.c174 int major, minor, patch, r; in fips_provider_version_match() local
216 r = fips_provider_version_eq(libctx, major, minor, patch); in fips_provider_version_match()
219 r = fips_provider_version_ne(libctx, major, minor, patch); in fips_provider_version_match()
222 r = fips_provider_version_le(libctx, major, minor, patch); in fips_provider_version_match()
225 r = fips_provider_version_lt(libctx, major, minor, patch); in fips_provider_version_match()
228 r = fips_provider_version_gt(libctx, major, minor, patch); in fips_provider_version_match()
231 r = fips_provider_version_ge(libctx, major, minor, patch); in fips_provider_version_match()
234 if (r < 0) { in fips_provider_version_match()
238 if (r == 0) in fips_provider_version_match()
/test/recipes/30-test_evp_data/
A Devpkdf_kbkdf_counter.txt33 Ctrl.r = r:8
46 Ctrl.r = r:8
59 Ctrl.r = r:8
72 Ctrl.r = r:8
90 Ctrl.r = r:16
103 Ctrl.r = r:16
116 Ctrl.r = r:16
129 Ctrl.r = r:16
147 Ctrl.r = r:24
160 Ctrl.r = r:24
[all …]
A Devpkdf_scrypt.txt20 Ctrl.r = r:1
28 Ctrl.r = r:8
36 Ctrl.r = r:8
44 Ctrl.r = r:8
52 Ctrl.r = r:8
61 Ctrl.r = r:8
A Devppkey_kdf_scrypt.txt20 Ctrl.r = r:1
28 Ctrl.r = r:8
36 Ctrl.r = r:8
44 Ctrl.r = r:8
52 Ctrl.r = r:8
61 Ctrl.r = r:8
A Devppbe_scrypt.txt20 r = 1
28 r = 8
36 r = 8
48 r = 8
/test/recipes/
A D61-test_bio_prefix.t51 my $r = $_[0] cmp $_[1];
53 diag "Lines differ:\n<: $_[0]\n>: $_[1]\n" unless $r == 0;
54 return $r;
/test/recipes/04-test_pem_reading_data/
A Ddsa-onecolumn.pem14 r
157 r
194 r
218 r
229 r
332 r
393 r
486 r
566 r
740 r
[all …]
A Dcert-onecolumn.pem933 r
943 r
947 r
972 r
1001 r
1009 r
1043 r
1113 r
1205 r
1477 r
[all …]
/test/radix/
A Dquic_ops.c274 int ok = 0, r; in DEF_FUNC() local
280 if (!TEST_true(r)) in DEF_FUNC()
550 int ok = 0, r; in DEF_FUNC() local
559 if (!TEST_true(r) in DEF_FUNC()
571 int ok = 0, r; in DEF_FUNC() local
605 int ok = 0, r; in DEF_FUNC() local
616 if (!TEST_true(r) in DEF_FUNC()
647 int ok = 0, r; in DEF_FUNC() local
665 if (!r) in DEF_FUNC()
688 int ok = 0, r; in DEF_FUNC() local
[all …]

Completed in 44 milliseconds

123