Home
last modified time | relevance | path

Searched refs:i (Results 51 – 75 of 978) sorted by relevance

12345678910>>...40

/openssl/crypto/ec/curve448/arch_64/
H A Df_impl64.c31 unsigned int i, j;
33 for (i = 0; i < 4; i++) {
34 aa[i] = a[i] + a[i + 4];
35 bb[i] = b[i] + b[i + 4];
36 bbb[i] = bb[i] + b[i + 4];
39 for (i = 0; i < 4; i++) {
82 int i;
84 for (i = 0; i < 4; i++) {
109 unsigned int i;
112 for (i = 0; i < 4; i++)
[all …]
/openssl/crypto/asn1/
H A Dasn1_lib.c49 int i, ret; in ASN1_get_object() local
81 tag = i; in ASN1_get_object()
121 int i; in asn1_get_length() local
164 int i, ttag; in ASN1_put_object() local
172 for (i = 0, ttag = tag; ttag > 0; i++) in ASN1_put_object()
203 int i, len; in asn1_put_length() local
209 for (i = 0; len > 0; i++) in asn1_put_length()
393 int i; in ASN1_STRING_cmp() local
441 int i; in ossl_sk_ASN1_UTF8STRING2text() local
451 for (i = 0; i < sk_ASN1_UTF8STRING_num(text); i++) { in ossl_sk_ASN1_UTF8STRING2text()
[all …]
H A Da_print.c43 int i; in ASN1_UNIVERSALSTRING_to_string() local
51 for (i = 0; i < s->length; i += 4) { in ASN1_UNIVERSALSTRING_to_string()
57 if (i < s->length) in ASN1_UNIVERSALSTRING_to_string()
60 for (i = 3; i < s->length; i += 4) { in ASN1_UNIVERSALSTRING_to_string()
61 *(p++) = s->data[i]; in ASN1_UNIVERSALSTRING_to_string()
71 int i, n; in ASN1_STRING_print() local
79 for (i = 0; i < v->length; i++) { in ASN1_STRING_print()
80 if ((p[i] > '~') || ((p[i] < ' ') && in ASN1_STRING_print()
81 (p[i] != '\n') && (p[i] != '\r'))) in ASN1_STRING_print()
84 buf[n] = p[i]; in ASN1_STRING_print()
/openssl/crypto/des/
H A Dstr2key.c22 int i, length; in DES_string_to_key() local
26 for (i = 0; i < length; i++) { in DES_string_to_key()
27 register unsigned char j = str[i]; in DES_string_to_key()
29 if ((i % 16) < 8) in DES_string_to_key()
30 (*key)[i % 8] ^= (j << 1); in DES_string_to_key()
36 (*key)[7 - (i % 8)] ^= j; in DES_string_to_key()
49 int i, length; in DES_string_to_2keys() local
54 for (i = 0; i < length; i++) { in DES_string_to_2keys()
57 if ((i % 32) < 16) { in DES_string_to_2keys()
58 if ((i % 16) < 8) in DES_string_to_2keys()
[all …]
/openssl/test/
H A Dpkey_meth_test.c24 int i; in test_asn1_meths() local
30 for (i = 0; i < EVP_PKEY_asn1_get_count(); i++) { in test_asn1_meths()
31 ameth = EVP_PKEY_asn1_get0(i); in test_asn1_meths()
40 for (i = 0; i < EVP_PKEY_asn1_get_count(); i++) { in test_asn1_meths()
43 ameth = EVP_PKEY_asn1_get0(i); in test_asn1_meths()
57 size_t i; in test_pkey_meths() local
63 for (i = 0; i < EVP_PKEY_meth_get_count(); i++) { in test_pkey_meths()
64 pmeth = EVP_PKEY_meth_get0(i); in test_pkey_meths()
73 for (i = 0; i < EVP_PKEY_meth_get_count(); i++) { in test_pkey_meths()
74 pmeth = EVP_PKEY_meth_get0(i); in test_pkey_meths()
H A Dbio_enc_test.c44 int i, lref, len; in do_bio_cipher() local
66 for (i = 1; i < lref; i++) { in do_bio_cipher()
79 out[i] = ~ref[i]; in do_bio_cipher()
80 len = BIO_read(b, out, i); in do_bio_cipher()
82 if (!TEST_uchar_eq(out[i], (unsigned char)~ref[i])) { in do_bio_cipher()
96 for (i = 1; i < lref / 2; i++) { in do_bio_cipher()
144 for (i = 1; i < lref; i++) { in do_bio_cipher()
157 out[i] = ~ref[i]; in do_bio_cipher()
158 len = BIO_read(b, out, i); in do_bio_cipher()
160 if (!TEST_uchar_eq(out[i], (unsigned char)~ref[i])) { in do_bio_cipher()
[all …]
H A Dquic_ackm_test.c76 for (i = 0; i < h->num_pkts; ++i) { in helper_destroy()
361 for (i = 0; i < c->pn_table_len; ++i) { in test_tx_ack_case_actual()
389 for (i = 0; i < c->pn_table_len; ++i) { in test_tx_ack_case_actual()
405 for (i = 0; i < c->pn_table_len; ++i) { in test_tx_ack_case_actual()
449 for (i = 0; i < 3; ++i) { in test_tx_ack_case_actual()
536 for (i = 0; i < num_pkts; ++i) { in test_tx_ack_time_script()
546 for (i = 0; i < s->num_pn; ++i) { in test_tx_ack_time_script()
589 for (i = 0; i < num_pkts; ++i) { in test_tx_ack_time_script()
855 for (i = 0; i < QUIC_PN_SPACE_NUM; ++i) in test_rx_ack_actual()
889 for (i = 0; i < s->num_pn; ++i) { in test_rx_ack_actual()
[all …]
/openssl/apps/lib/
H A Dwin32_init.c23 int i; in cleanup() local
27 for (i = 0; i < newargc; i++) in cleanup()
73 for (slash = 0, i = 0; i < wlen; i++) in process_glob()
74 if (wstr[i] == L'/' || wstr[i] == L'\\') in process_glob()
79 for (i = slash; i < wlen; i++) in process_glob()
80 if (wstr[i] == L'*' || wstr[i] == L'?') in process_glob()
83 if (i == wlen) in process_glob()
216 for (i = (p - q) / 2; i > 0; i--) in win32_utf8argv()
226 for (i = p - q; i > 0; i--) in win32_utf8argv()
291 int i; in win32_utf8argv() local
[all …]
/openssl/crypto/sha/asm/
H A Dsha1-sparcv9.pl62 my $xi=($i&1)?@X[($i/2)%8]:$Xi;
78 if ($i&1 && $i<15) {
89 my $j=$i/2;
328 for($i=0;$i<7;$i++)
331 sllx @X[$i+1],$tmp1,@X[$i+1]
332 or $Xi,@X[$i],@X[$i]
341 for ($i=0;$i<16;$i++) { &BODY_00_15($i,@V); unshift(@V,pop(@V)); }
342 for (;$i<20;$i++) { &BODY_16_19($i,@V); unshift(@V,pop(@V)); }
343 for (;$i<40;$i++) { &BODY_20_39($i,@V); unshift(@V,pop(@V)); }
344 for (;$i<60;$i++) { &BODY_40_59($i,@V); unshift(@V,pop(@V)); }
[all …]
H A Dsha1-sparcv9a.pl91 my ($i)=@_;
194 $code.=<<___ if ($i&1 && $i>=2);
208 $code.=<<___ if (!($i&1) && $i<64);
226 $code.=<<___ if ($i&1 && $i<64);
392 ldd [$inp+`8*($i+1-70)`],@X[2*($i+1-70)]
498 for ($i=0;$i<20;$i++) { &BODY_00_19($i,@V); unshift(@V,pop(@V)); }
499 for (;$i<40;$i++) { &BODY_20_39($i,@V); unshift(@V,pop(@V)); }
500 for (;$i<60;$i++) { &BODY_40_59($i,@V); unshift(@V,pop(@V)); }
501 for (;$i<70;$i++) { &BODY_20_39($i,@V); unshift(@V,pop(@V)); }
507 for (;$i<80;$i++) { &BODY_70_79($i,@V); unshift(@V,pop(@V)); }
[all …]
H A Dsha256-mb-x86_64.pl299 for($i=0;$i<4;$i++) {
334 for($i=0;$i<16;$i++) { &ROUND_00_15($i,@V); unshift(@V,pop(@V)); }
342 for(;$i<32;$i++) { &ROUND_16_XX($i,@V); unshift(@V,pop(@V)); }
481 for($i=0;$i<2;$i++) {
631 for($i=4;$i<16-3;$i++) {
1004 for($i=0;$i<4;$i++) {
1038 for($i=0;$i<16;$i++) { &ROUND_00_15_avx($i,@V); unshift(@V,pop(@V)); }
1054 for($i=0;$i<4;$i++) {
1197 for($i=0;$i<8;$i++) {
1229 for($i=0;$i<16;$i++) { &ROUND_00_15_avx($i,@V); unshift(@V,pop(@V)); }
[all …]
H A Dsha1-parisc.pl73 my $j=$i+1;
104 my $j=$i+1;
138 my $j=$i+1;
198 for ($i=0;$i<15;$i++) { # load input block
199 $code.="\tldw `4*$i`($t0),@X[$i]\n"; }
205 for ($i=0;$i<16;$i++) { # align input
206 $code.="\tvshd @X[$i],@X[$i+1],@X[$i]\n"; }
212 for ($i=0;$i<20;$i++) { &BODY_00_19($i,@V); unshift(@V,pop(@V)); }
218 for (;$i<40;$i++) { &BODY_20_39($i,@V); unshift(@V,pop(@V)); }
224 for (;$i<60;$i++) { &BODY_40_59($i,@V); unshift(@V,pop(@V)); }
[all …]
H A Dsha1-mb-x86_64.pl417 for($i=0;$i<4;$i++) {
448 for($i=0;$i<20;$i++) { &BODY_00_19($i,@V); unshift(@V,pop(@V)); }
450 for(;$i<40;$i++) { &BODY_20_39($i,@V); unshift(@V,pop(@V)); }
577 for($i=0;$i<2;$i++) {
663 for($i=2;$i<20-4;$i++) {
1085 for($i=0;$i<4;$i++) {
1116 for($i=0;$i<20;$i++) { &BODY_00_19_avx($i,@V); unshift(@V,pop(@V)); }
1126 for($i=0;$i<4;$i++) {
1257 for($i=0;$i<8;$i++) {
1286 for($i=0;$i<20;$i++) { &BODY_00_19_avx($i,@V); unshift(@V,pop(@V)); }
[all …]
/openssl/crypto/bn/
H A Dbn_mod.c79 i++; in bn_mod_add_fixed_top()
80 ai += (i - a->dmax) >> (8 * sizeof(i) - 1); in bn_mod_add_fixed_top()
81 bi += (i - b->dmax) >> (8 * sizeof(i) - 1); in bn_mod_add_fixed_top()
85 for (i = 0; i < mtop; i++) { in bn_mod_add_fixed_top()
86 rp[i] = (carry & tp[i]) | (~carry & rp[i]); in bn_mod_add_fixed_top()
157 ai += (i - a->dmax) >> (8 * sizeof(i) - 1); in bn_mod_sub_fixed_top()
158 bi += (i - b->dmax) >> (8 * sizeof(i) - 1); in bn_mod_sub_fixed_top()
161 for (i = 0, mask = 0 - borrow, carry = 0; i < mtop; i++) { in bn_mod_sub_fixed_top()
164 rp[i] = (rp[i] + ta) & BN_MASK2; in bn_mod_sub_fixed_top()
168 for (i = 0, mask = 0 - borrow, carry = 0; i < mtop; i++) { in bn_mod_sub_fixed_top()
[all …]
H A Dbn_exp2.c90 for (i = 1; i < j; i++) { in BN_mod_exp2_mont()
92 !BN_mod_mul_montgomery(val1[i], val1[i - 1], d, mont, ctx)) in BN_mod_exp2_mont()
118 for (i = 1; i < j; i++) { in BN_mod_exp2_mont()
120 !BN_mod_mul_montgomery(val2[i], val2[i - 1], d, mont, ctx)) in BN_mod_exp2_mont()
147 i = b - window1 + 1; in BN_mod_exp2_mont()
149 i++; in BN_mod_exp2_mont()
150 wpos1 = i; in BN_mod_exp2_mont()
152 for (i = b - 1; i >= wpos1; i--) { in BN_mod_exp2_mont()
166 i++; in BN_mod_exp2_mont()
167 wpos2 = i; in BN_mod_exp2_mont()
[all …]
H A Dbn_exp.c70 for (i = 1; i < bits; i++) { in BN_exp()
223 for (i = 1; i < j; i++) { in BN_mod_exp_recp()
257 for (i = 1; i < window; i++) { in BN_mod_exp_recp()
271 for (i = 0; i < j; i++) { in BN_mod_exp_recp()
366 for (i = 1; i < j; i++) { in BN_mod_exp_mont()
387 for (i = 1; i < j; i++) in BN_mod_exp_mont()
427 for (i = 0; i < j; i++) { in BN_mod_exp_mont()
452 for (i = 1; i < j; i++) in BN_mod_exp_mont()
746 for (i = 1; i < top; i++) in BN_mod_exp_mont_consttime()
836 for (i = 3; i < 32; i++) { in BN_mod_exp_mont_consttime()
[all …]
/openssl/crypto/bn/asm/
H A Dx86-gf2m.pl62 @i=("esi","edi");
97 &and (@i[0],$b);
101 &and (@i[1],$b);
105 &and (@i[0],$b);
115 push(@i,shift(@i)); push(@T,shift(@T));
157 &and (@i[1],$b);
165 &shl (@i[1],30);
172 &and (@i[1],$b);
190 push(@i,shift(@i)); push(@T,shift(@T));
195 &mov (@i[1],&DWP(0,"esp",@i[0],4));
[all …]
H A Dco-586.pl148 for ($i=0; $i<$tot; $i++)
173 $na=$as+($i < ($num-1));
180 &comment("saved r[$i]");
188 $as++ if ($i < ($num-1));
189 $ae++ if ($i >= ($num-1));
192 $be++ if ($i < ($num-1));
194 &comment("save r[$i]");
237 for ($i=0; $i<$tot; $i++)
250 $v=2 if ($i+1) == $tot;
284 $as++ if ($i < ($num-1));
[all …]
/openssl/crypto/evp/
H A Dbio_enc.c123 if (i > outl) in enc_read()
126 ret = i; in enc_read()
127 out += i; in enc_read()
128 outl -= i; in enc_read()
220 if (i <= 0) in enc_read()
223 ret += i; in enc_read()
225 outl -= i; in enc_read()
226 out += i; in enc_read()
256 n -= i; in enc_write()
284 n -= i; in enc_write()
[all …]
H A Ddh_support.c41 size_t i; in ossl_dh_gen_type_id2name() local
43 for (i = 0; i < OSSL_NELEM(dhtype2id); ++i) { in ossl_dh_gen_type_id2name()
44 if (dhtype2id[i].id == id) in ossl_dh_gen_type_id2name()
45 return dhtype2id[i].name; in ossl_dh_gen_type_id2name()
53 size_t i; in ossl_dh_gen_type_name2id() local
55 for (i = 0; i < OSSL_NELEM(dhtype2id); ++i) { in ossl_dh_gen_type_name2id()
56 if ((dhtype2id[i].type == TYPE_ANY in ossl_dh_gen_type_name2id()
57 || type == dhtype2id[i].type) in ossl_dh_gen_type_name2id()
58 && strcmp(dhtype2id[i].name, name) == 0) in ossl_dh_gen_type_name2id()
59 return dhtype2id[i].id; in ossl_dh_gen_type_name2id()
/openssl/crypto/
H A Dex_data.c66 int i; in ossl_crypto_cleanup_all_ex_data_int() local
72 for (i = 0; i < CRYPTO_EX_INDEX__COUNT; ++i) { in ossl_crypto_cleanup_all_ex_data_int()
237 for (i = 0; i < mx; i++) in ossl_crypto_new_ex_data_ex()
246 for (i = 0; i < mx; i++) { in ossl_crypto_new_ex_data_ex()
249 storage[i]->new_func(obj, ptr, ad, i, in ossl_crypto_new_ex_data_ex()
301 for (i = 0; i < mx; i++) in CRYPTO_dup_ex_data()
322 for (i = 0; i < mx; i++) { in CRYPTO_dup_ex_data()
387 for (i = 0; i < mx; i++) { in CRYPTO_free_ex_data()
389 storage[i].index = i; in CRYPTO_free_ex_data()
397 for (i = 0; i < mx; i++) { in CRYPTO_free_ex_data()
[all …]
/openssl/crypto/camellia/asm/
H A Dcmllt4-sparcv9.pl513 for ($i=2; $i<26;$i++) { # load key schedule
515 ldd [$key + `8*$i`], %f`12+2*$i`
536 for ($i=2; $i<24;$i++) { # load key schedule
538 ldd [$key + `8*$i`], %f`62-2*$i`
551 for ($i=0; $i<3; $i++) {
558 $code.=<<___ if ($i<2);
578 for ($i=0; $i<3; $i++) {
633 for ($i=1; $i<3; $i++) {
693 for ($i=1; $i<3; $i++) {
761 for ($i=1; $i<3; $i++) {
[all …]
/openssl/ms/
H A Duplink-ia64.pl24 for ($i=1;$i<=$N;$i++) {
26 .proc lazy$i#
27 lazy$i:
36 mov out1=$i };;
37 { .mib; add loc2=8*$i,out0
46 .endp lazy$i#
55 for ($i=1;$i<=$N;$i++) { print " data8 \@fptr(lazy$i#)\n"; }
/openssl/crypto/ec/asm/
H A Decp_nistz256-x86.pl85 for($i=0;$i<64;$i++) {
929 for ($i=0;$i<7;$i++) {
1157 for($i=0;$i<24;$i+=4) {
1209 for($i=0;$i<64;$i+=4) {
1400 for($i=0;$i<96;$i+=16) {
1424 for($i=0;$i<96;$i+=16) {
1623 for($i=64;$i<96;$i+=4) {
1634 for($i=0;$i<64;$i+=4) {
1675 for($i=0;$i<96;$i+=16) {
1699 for($i=0;$i<64;$i+=16) {
[all …]
/openssl/crypto/bf/
H A Dbf_skey.c24 int i; in BF_set_key() local
36 for (i = 0; i < (BF_ROUNDS + 2); i++) { in BF_set_key()
56 p[i] ^= ri; in BF_set_key()
61 for (i = 0; i < (BF_ROUNDS + 2); i += 2) { in BF_set_key()
63 p[i] = in[0]; in BF_set_key()
64 p[i + 1] = in[1]; in BF_set_key()
68 for (i = 0; i < 4 * 256; i += 2) { in BF_set_key()
70 p[i] = in[0]; in BF_set_key()
71 p[i + 1] = in[1]; in BF_set_key()

Completed in 105 milliseconds

12345678910>>...40