Home
last modified time | relevance | path

Searched refs:i (Results 1 – 25 of 1062) sorted by relevance

12345678910>>...43

/openssl/test/
H A Dstack_test.c92 for (i = 0; i < n; i++) { in test_int_stack()
103 for (i = 0; i < n; i++) in test_int_stack()
187 for (i = 0; i < n; i++) { in test_uchar_stack()
208 for (i = 0; i < n; i++) in test_uchar_stack()
231 for (i = 0; i < 3; i++) in test_uchar_stack()
245 for (i = 0; i < 2; i++) in test_uchar_stack()
281 for (i = 0; i < n; i++) { in test_SS_stack()
305 for (i = 0; i < n; i++) { in test_SS_stack()
332 for (i = 0; i < n-1; i++) in test_SS_stack()
354 for (i = 0; i < n; i++) { in test_SU_stack()
[all …]
H A Dthreadpool_test.c165 for (i = 0; i < OSSL_NELEM(t); ++i) { in test_thread_internal()
199 for (i = 0; i < OSSL_NELEM(t); ++i) { in test_thread_internal()
200 local[i] = i + 1; in test_thread_internal()
205 for (i = 0; i < OSSL_NELEM(t); ++i) { in test_thread_internal()
209 for (i = 0; i < OSSL_NELEM(t); ++i) { in test_thread_internal()
210 if (!TEST_int_eq(retval[i], i + 1) || !TEST_int_eq(local[i], i + 2)) in test_thread_internal()
221 for (i = 0; i < OSSL_NELEM(t); ++i) { in test_thread_internal()
222 local[i] = i + 1; in test_thread_internal()
227 for (i = 0; i < OSSL_NELEM(t); ++i) { in test_thread_internal()
231 for (i = 0; i < OSSL_NELEM(t); ++i) { in test_thread_internal()
[all …]
H A Dlhash_test.c55 for (i = 0; i < n_int_tests; i++) in int_find()
105 for (i = 0; i < n_int_tests; i++) in test_int_lhash()
116 for (i = 0; i < n_int_tests; i++) in test_int_lhash()
121 for (i = 0; i < n_int_tests; i++) in test_int_lhash()
168 for (i = 0; i < n_dels; i++) { in test_int_lhash()
285 for (i = 0; i < n_dels; i++) { in test_int_hashtable()
357 for (i = 0; i < n; i++) { in test_stress()
372 for (i = 0; i < n; i++) { in test_stress()
435 for (i = 0; i < n; i++) { in test_hashtable_stress()
455 for (i = 0; i < n; i++) { in test_hashtable_stress()
[all …]
H A Dpackettest.c357 for (i = 1; i < BUF_LEN; i++) in test_PACKET_get_length_prefixed_1()
358 buf1[i] = (i * 2) & 0xff; in test_PACKET_get_length_prefixed_1()
381 for (i = 1; i <= 1024; i++) in test_PACKET_get_length_prefixed_2()
405 for (i = 0; i < 1024; i++) in test_PACKET_get_length_prefixed_3()
406 buf1[i] = (i * 2) & 0xff; in test_PACKET_get_length_prefixed_3()
430 for (i = 1; i < BUF_LEN; i++) in test_PACKET_as_length_prefixed_1()
431 buf1[i] = (i * 2) & 0xff; in test_PACKET_as_length_prefixed_1()
453 for (i = 1; i <= 1024; i++) in test_PACKET_as_length_prefixed_2()
505 for (i = 0; i < OSSL_NELEM(cases); ++i) { in test_PACKET_get_quic_vlint()
546 for (i = 0; i < OSSL_NELEM(cases); ++i) { in test_PACKET_get_quic_length_prefixed()
[all …]
H A Drand_test.c75 for (i = 1; i < 100; i += 13) { in test_rand_uniform()
82 for (i = 1; i < 100; i += 17) in test_rand_uniform()
146 for (i = 0; i < sizeof(buf); i++) in fips_health_tests()
147 buf[i] = 0xff & i; in fips_health_tests()
148 if (!TEST_true(fips_health_test_one(buf, i, i))) in fips_health_tests()
152 for (i = 0; i < 20; i++) in fips_health_tests()
153 buf[i] = 0xff & (i > 10 ? 200 : i); in fips_health_tests()
154 if (!TEST_false(fips_health_test_one(buf, i, i))) in fips_health_tests()
158 for (i = 0; i < sizeof(buf); i++) in fips_health_tests()
159 buf[i] = 0xff & (i >= 512 && i % 8 == 0 ? 0x80 : i); in fips_health_tests()
[all …]
/openssl/crypto/ec/curve448/
H A Dscalar.c57 for (i = 0; i < C448_SCALAR_LIMBS; i++) { in sc_subx()
58 chain = (chain + accum[i]) - sub->limb[i]; in sc_subx()
65 for (i = 0; i < C448_SCALAR_LIMBS; i++) { in sc_subx()
79 for (i = 0; i < C448_SCALAR_LIMBS; i++) { in sc_montmul()
130 for (i = 0; i < C448_SCALAR_LIMBS; i++) { in ossl_curve448_scalar_add()
144 for (i = 0; i < C448_SCALAR_LIMBS; i++) { in scalar_decode_short()
161 for (i = 0; i < C448_SCALAR_LIMBS; i++) in ossl_curve448_scalar_decode()
219 for (i = 0; i < C448_SCALAR_LIMBS; i++) { in ossl_curve448_scalar_encode()
232 for (i = 0; i < C448_SCALAR_LIMBS; i++) { in ossl_curve448_scalar_halve()
237 for (i = 0; i < C448_SCALAR_LIMBS - 1; i++) in ossl_curve448_scalar_halve()
[all …]
/openssl/crypto/ec/
H A Decp_nistputil.c79 int i = 0; in ossl_ec_GFp_nistp_points_make_affine_internal() local
90 for (i = 1; i < (int)num; i++) { in ossl_ec_GFp_nistp_points_make_affine_internal()
92 felem_mul(tmp_felem(i), tmp_felem(i - 1), Z(i)); in ossl_ec_GFp_nistp_points_make_affine_internal()
94 felem_assign(tmp_felem(i), tmp_felem(i - 1)); in ossl_ec_GFp_nistp_points_make_affine_internal()
102 for (i = num - 1; i >= 0; i--) { in ossl_ec_GFp_nistp_points_make_affine_internal()
118 felem_mul(tmp_felem(i - 1), tmp_felem(i), Z(i)); in ossl_ec_GFp_nistp_points_make_affine_internal()
124 felem_mul(X(i), X(i), Z(i)); /* X/(Z^2) */ in ossl_ec_GFp_nistp_points_make_affine_internal()
126 felem_mul(Y(i), Y(i), Z(i)); /* Y/(Z^3) */ in ossl_ec_GFp_nistp_points_make_affine_internal()
127 felem_contract(X(i), X(i)); in ossl_ec_GFp_nistp_points_make_affine_internal()
128 felem_contract(Y(i), Y(i)); in ossl_ec_GFp_nistp_points_make_affine_internal()
[all …]
/openssl/crypto/bn/asm/
H A Dbn-586.pl172 for ($i=0; $i<32; $i+=4)
199 for ($i=0; $i<7; $i++)
284 for ($i=0; $i<32; $i+=4)
313 for ($i=0; $i<7; $i++)
405 for ($i=0; $i<7; $i++)
459 for ($i=0; $i<8; $i++)
485 for ($i=0; $i<7; $i++)
531 for ($i=0; $i<8; $i++)
557 for ($i=0; $i<7; $i++)
603 for ($i=0; $i<8; $i++)
[all …]
H A Dsparct4-mont.pl177 for($i=0; $i<14 && $i<$NUM; $i++) {
198 for($i=0; $i<14 && $i<$NUM; $i++) {
241 for($i=0; $i<14 && $i<$NUM; $i++) {
289 for($i=0; $i<14 && $i<$NUM; $i++) {
308 for($i=0; $i<12 && $i<$NUM; $i++) {
355 for ($i=8;$i<=32;$i+=8) {
499 for($i=0; $i<14 && $i<$NUM; $i++) {
513 for($i=0; $i<14 && $i<$NUM; $i++) {
553 for($i=0; $i<14 && $i<$NUM; $i+=2) {
574 for($i=0; $i<5; $i++) {
[all …]
H A Dsparcv9-gf2m.pl106 and $b,@i[0],@i[0]
107 and $b,@i[1],@i[1]
146 and @i[0],`0xf<<3`,@i[0]
148 ldx [$tab+@i[0]],@i[0]
151 and @i[1],`0xf<<3`,@i[1]
153 ldx [$tab+@i[1]],@i[1]
159 and @i[0],`0xf<<3`,@i[0]
164 ldx [$tab+@i[0]],@i[0]
169 and @i[1],`0xf<<3`,@i[1]
171 push(@i,shift(@i)); push(@T,shift(@T));
[all …]
/openssl/crypto/aes/asm/
H A Daest4-sparcv9.pl293 for ($i=0; $i<6; $i++) {
331 for ($i=0; $i<7; $i++) {
365 for ($i=0; $i<10; $i++) {
434 for ($i=0; $i<4; $i++) {
454 for ($i=0; $i<4; $i++) {
511 for ($i=0; $i<4; $i++) {
531 for ($i=0; $i<4; $i++) {
561 for ($i=0; $i<5; $i++) {
581 for ($i=0; $i<5; $i++) {
617 for ($i=1; $i<6; $i++) {
[all …]
/openssl/crypto/err/
H A Derr_local.h34 es->err_data[i] = NULL; in err_clear_data()
43 es->err_buffer[i] = in err_set_error()
59 es->err_file[i] = NULL; in err_set_debug()
65 es->err_line[i] = line; in err_set_debug()
79 es->err_data[i] = data; in err_set_data()
87 es->err_marks[i] = 0; in err_clear()
88 es->err_flags[i] = 0; in err_clear()
89 es->err_buffer[i] = 0; in err_clear()
90 es->err_line[i] = -1; in err_clear()
92 es->err_file[i] = NULL; in err_clear()
[all …]
H A Derr_save.c28 size_t i; in OSSL_ERR_STATE_save() local
34 for (i = 0; i < ERR_NUM_ERRORS; i++) in OSSL_ERR_STATE_save()
48 size_t i, j, count; in OSSL_ERR_STATE_save_to_mark() local
57 for (i = 0; i < ERR_NUM_ERRORS; ++i) in OSSL_ERR_STATE_save_to_mark()
72 for (i = 0, j = top; i < count; ++i) { in OSSL_ERR_STATE_save_to_mark()
98 if (i > 0) { in OSSL_ERR_STATE_save_to_mark()
109 for (; i < ERR_NUM_ERRORS; ++i) in OSSL_ERR_STATE_save_to_mark()
115 size_t i; in OSSL_ERR_STATE_restore() local
125 for (i = (size_t)es->bottom; i != (size_t)es->top;) { in OSSL_ERR_STATE_restore()
128 i = (i + 1) % ERR_NUM_ERRORS; in OSSL_ERR_STATE_restore()
[all …]
/openssl/crypto/sha/asm/
H A Dsha1-alpha.pl48 ldq_u @X[$i+2],($i+2)*4+0($inp)
52 extql @X[$i],$inp,@X[$i]
53 extqh @X[$i+1],$inp,@X[$i+1]
55 or @X[$i+1],@X[$i],@X[$i] # pair of 32-bit values are fetched
61 sll @X[$i],24,@X[$i]
65 zapnot @X[$i],0x88,@X[$i]
70 or @X[$i],$t0,@X[$i]
75 or @X[$i],$t3,@X[$i]
86 zapnot @X[$i],0xf,@X[$i]
106 zapnot @X[$i],0xf,@X[$i]
[all …]
/openssl/crypto/ec/curve448/arch_32/
H A Df_impl32.c33 for (i = 0; i < 8; i++) {
34 aa[i] = a[i] + a[i + 8];
35 bb[i] = b[i] + b[i + 8];
40 for (i = 0; i < j + 1; i++) {
41 accum2 += widemul(a[j - i], b[i]);
42 accum1 += widemul(aa[j - i], bb[i]);
48 for (i = j + 1; i < 8; i++) {
49 accum0 -= widemul(a[8 + j - i], b[i]);
50 accum2 += widemul(aa[8 + j - i], bb[i]);
79 int i;
[all …]
H A Df_impl.h25 unsigned int i; in gf_add_RAW() local
27 for (i = 0; i < NLIMBS; i++) in gf_add_RAW()
28 out->limb[i] = a->limb[i] + b->limb[i]; in gf_add_RAW()
33 unsigned int i; in gf_sub_RAW() local
35 for (i = 0; i < NLIMBS; i++) in gf_sub_RAW()
36 out->limb[i] = a->limb[i] - b->limb[i]; in gf_sub_RAW()
41 unsigned int i; in gf_bias() local
44 for (i = 0; i < NLIMBS; i++) in gf_bias()
45 a->limb[i] += (i == NLIMBS / 2) ? co2 : co1; in gf_bias()
55 for (i = NLIMBS - 1; i > 0; i--) in gf_weak_reduce()
[all …]
/openssl/engines/
H A De_devcrypto.c173 for (i = 0; i < OSSL_NELEM(cipher_data); i++) in find_cipher_data_index()
444 i < OSSL_NELEM(cipher_data); i++) { in prepare_cipher_methods()
539 for (i = 0, known_cipher_nids_amount = 0; i < OSSL_NELEM(cipher_data); i++) { in rebuild_known_cipher_nids()
574 for (i = 0; i < OSSL_NELEM(cipher_data); i++) { in destroy_all_cipher_methods()
596 for (i = 0; i < OSSL_NELEM(cipher_data); i++) in devcrypto_select_all_ciphers()
632 for (i = 0; i < OSSL_NELEM(cipher_data); i++) { in dump_cipher_info()
715 for (i = 0; i < OSSL_NELEM(digest_data); i++) in find_digest_data_index()
884 for (i = 0, known_digest_nids_amount = 0; i < OSSL_NELEM(digest_data); i++) { in rebuild_known_digest_nids()
1004 for (i = 0; i < OSSL_NELEM(digest_data); i++) { in destroy_all_digest_methods()
1026 for (i = 0; i < OSSL_NELEM(digest_data); i++) in devcrypto_select_all_digests()
[all …]
/openssl/crypto/modes/asm/
H A Dghash-ia64.pl170 for (my $i=0;$i<8;$i++) {
173 ld8 r`16+2*$i`=[r9],16 } // Htable[$i].lo
175 ldf8 f`32+2*$i`=[r11],16 // Htable[`8+$i`].lo
219 for($i=0;$i<8;$i++) { # generate first half of Hshr4[]
240 for($i=0;$i<6;$i++) { # generate second half of Hshr4[]
244 shr.u r`16+2*$i+1`=r`16+2*$i+1`,4 };;
247 shrp r`18+2*$i`=r`18+2*$i+1`,r`18+2*$i`,4 }
251 { .mmi; shr.u r`16+2*$i+1`=r`16+2*$i+1`,4 };;
254 shrp r`18+2*$i`=r`18+2*$i+1`,r`18+2*$i`,4 }
257 shr.u r`18+2*$i+1`=r`18+2*$i+1`,4 };;
[all …]
/openssl/providers/implementations/ciphers/
H A Dcipher_aes_cbc_hmac_sha256_hw.c173 for (i = 1; i < x4; i++) { in tls1_multi_block_encrypt()
186 for (i = 0; i < x4; i++) { in tls1_multi_block_encrypt()
238 for (i = 0; i < x4; i++) { in tls1_multi_block_encrypt()
247 for (i = 0; i < x4; i++) { in tls1_multi_block_encrypt()
265 for (i = 0; i < x4; i++) { in tls1_multi_block_encrypt()
297 for (i = 0; i < x4; i++) { in tls1_multi_block_encrypt()
344 for (i = 0; i < x4; i++) { in tls1_multi_block_encrypt()
593 for (i = res; i < SHA256_CBLOCK; i++, j++) in aesni_cbc_hmac_sha256_cipher()
635 for (i = 0; i < 8; i++) { in aesni_cbc_hmac_sha256_cipher()
702 for (i = 0; i < sizeof(hmac_key); i++) in aesni_cbc_hmac_sha256_set_mac_key()
[all …]
H A Dcipher_aes_cbc_hmac_sha1_hw.c169 for (i = 1; i < x4; i++) { in tls1_multi_block_encrypt()
181 for (i = 0; i < x4; i++) { in tls1_multi_block_encrypt()
230 for (i = 0; i < x4; i++) { in tls1_multi_block_encrypt()
239 for (i = 0; i < x4; i++) { in tls1_multi_block_encrypt()
257 for (i = 0; i < x4; i++) { in tls1_multi_block_encrypt()
289 for (i = 0; i < x4; i++) { in tls1_multi_block_encrypt()
324 for (i = 0; i < x4; i++) { in tls1_multi_block_encrypt()
551 for (i = res; i < SHA_CBLOCK; i++, j++) in aesni_cbc_hmac_sha1_cipher()
584 for (i = 0; i < 5; i++) { in aesni_cbc_hmac_sha1_cipher()
649 for (i = 0; i < sizeof(hmac_key); i++) in aesni_cbc_hmac_sha1_set_mac_key()
[all …]
/openssl/crypto/evp/
H A De_aes_cbc_hmac_sha256.c202 for (i = 1; i < x4; i++) { in tls1_1_multi_block_encrypt()
214 for (i = 0; i < x4; i++) { in tls1_1_multi_block_encrypt()
266 for (i = 0; i < x4; i++) { in tls1_1_multi_block_encrypt()
275 for (i = 0; i < x4; i++) { in tls1_1_multi_block_encrypt()
293 for (i = 0; i < x4; i++) { in tls1_1_multi_block_encrypt()
325 for (i = 0; i < x4; i++) { in tls1_1_multi_block_encrypt()
372 for (i = 0; i < x4; i++) { in tls1_1_multi_block_encrypt()
666 for (i = 0; i < 8; i++) { in aesni_cbc_hmac_sha256_cipher()
733 for (res = 0, i = 0; i < pad; i++) in aesni_cbc_hmac_sha256_cipher()
773 for (i = 0; i < sizeof(hmac_key); i++) in aesni_cbc_hmac_sha256_ctrl()
[all …]
H A De_aes_cbc_hmac_sha1.c207 for (i = 1; i < x4; i++) { in tls1_1_multi_block_encrypt()
219 for (i = 0; i < x4; i++) { in tls1_1_multi_block_encrypt()
268 for (i = 0; i < x4; i++) { in tls1_1_multi_block_encrypt()
277 for (i = 0; i < x4; i++) { in tls1_1_multi_block_encrypt()
295 for (i = 0; i < x4; i++) { in tls1_1_multi_block_encrypt()
327 for (i = 0; i < x4; i++) { in tls1_1_multi_block_encrypt()
362 for (i = 0; i < x4; i++) { in tls1_1_multi_block_encrypt()
670 for (i = 0; i < 5; i++) { in aesni_cbc_hmac_sha1_cipher()
735 for (res = 0, i = 0; i < pad; i++) in aesni_cbc_hmac_sha1_cipher()
799 for (i = 0; i < sizeof(hmac_key); i++) in aesni_cbc_hmac_sha1_ctrl()
[all …]
/openssl/crypto/bio/
H A Dbf_buff.c89 int i, num = 0; in buffer_read() local
104 if (i != 0) { in buffer_read()
110 num += i; in buffer_read()
113 outl -= i; in buffer_read()
114 out += i; in buffer_read()
144 if (i <= 0) { in buffer_read()
222 num += i; in buffer_write()
223 in += i; in buffer_write()
224 inl -= i; in buffer_write()
267 for (i = 0; i < ctx->ibuf_len; i++) { in buffer_ctrl()
[all …]
/openssl/crypto/whrlpool/asm/
H A Dwp-mmx.pl117 for($i=0;$i<8;$i++) { &movq(@mm[$i],&QWP($i*8,"esi")); } # L=H
119 for($i=0;$i<8;$i++) { &movq(&QWP($i*8,"esp"),@mm[$i]); } # K=L
120 for($i=0;$i<8;$i++) { &pxor(@mm[$i],&QWP($i*8,"edi")); } # L^=inp
121 for($i=0;$i<8;$i++) { &movq(&QWP(64+$i*8,"esp"),@mm[$i]); } # S=L
132 for($i=0;$i<8;$i++) {
165 for($i=0;$i<8;$i++) { &movq(&QWP($i*8,"esp"),@mm[$i]); } # K=L
167 for($i=0;$i<8;$i++) {
205 for($i=0;$i<8;$i++) { &movq(&QWP(64+$i*8,"esp"),@mm[$i]); } # S=L
213 for($i=0;$i<8;$i++) { &pxor(@mm[$i],&QWP($i*8,"edi")); } # L^=inp
214 for($i=0;$i<8;$i++) { &pxor(@mm[$i],&QWP($i*8,"esi")); } # L^=H
[all …]
/openssl/crypto/asn1/
H A Df_string.c18 int i, n = 0; in i2a_ASN1_STRING() local
29 for (i = 0; i < a->length; i++) { in i2a_ASN1_STRING()
30 if ((i != 0) && (i % 35 == 0)) { in i2a_ASN1_STRING()
63 i = bufsize; in a2i_ASN1_STRING()
66 if (i == 0) in a2i_ASN1_STRING()
70 if (i == 0) in a2i_ASN1_STRING()
76 i = j; in a2i_ASN1_STRING()
84 if (i < 2) in a2i_ASN1_STRING()
90 i -= again; in a2i_ASN1_STRING()
96 i /= 2; in a2i_ASN1_STRING()
[all …]

Completed in 84 milliseconds

12345678910>>...43