Home
last modified time | relevance | path

Searched refs:j (Results 1 – 25 of 316) sorted by relevance

12345678910>>...13

/openssl/crypto/des/
H A Dstr2key.c27 register unsigned char j = str[i]; in DES_string_to_key() local
30 (*key)[i % 8] ^= (j << 1); in DES_string_to_key()
33 j = ((j << 4) & 0xf0) | ((j >> 4) & 0x0f); in DES_string_to_key()
34 j = ((j << 2) & 0xcc) | ((j >> 2) & 0x33); in DES_string_to_key()
35 j = ((j << 1) & 0xaa) | ((j >> 1) & 0x55); in DES_string_to_key()
36 (*key)[7 - (i % 8)] ^= j; in DES_string_to_key()
55 register unsigned char j = str[i]; in DES_string_to_2keys() local
63 j = ((j << 4) & 0xf0) | ((j >> 4) & 0x0f); in DES_string_to_2keys()
64 j = ((j << 2) & 0xcc) | ((j >> 2) & 0x33); in DES_string_to_2keys()
65 j = ((j << 1) & 0xaa) | ((j >> 1) & 0x55); in DES_string_to_2keys()
[all …]
/openssl/crypto/bn/asm/
H A Dx86-mont.pl161 &xor ($j,$j); # j=0
199 &lea ($j,&DWP(1,$j));
221 &xor ($j,$j); # j=0
316 &xor ($j,$j); # j=0
332 &lea ($j,&DWP(1,$j));
348 &xor ($j,$j);
365 &lea ($j,&DWP(1,$j));
384 &xor ($j,$j);
402 &lea ($j,&DWP(1,$j));
432 &xor ($j,$j);
[all …]
H A Ds390x-mont.pl83 $j="%r7";
150 la $j,8 # j=1
155 lg $alo,0($j,$ap)
172 la $j,8($j) # j++
202 la $j,8 # j=1
226 la $j,8($j) # j++
246 la $j,0
253 la $j,8($j)
260 la $j,0
268 stg $j,$stdframe($j,$sp) # zap tp
[all …]
H A Dppc64-mont-fixed.pl169 for (my $j = 0; $j < $n; $j++) {
171 std $tp[$j],`$j*$SIZE_T`($rp)
206 for (my $j = 1; $j < $n - 1; $j++) {
238 for (my $j = 1; $j < $n; $j++) {
242 $self->mul_add($tp[$j], $tp[$j], $apj, $bpi, $c0);
260 for (my $j = 1; $j < $n; $j++) {
293 for (my $j = 1; $j < $n - 1; $j++) {
353 for (my $j = 0; $j <= $n+1; $j++) {
355 std $tp[$j],-`($j+2)*8`($sp)
374 for (my $j = 0; $j <= $n+1; $j++) {
[all …]
H A Dx86_64-mont.pl185 xor $j,$j # j=0
201 lea 1($j),$j # j++
220 lea 1($j),$j # j++
247 xor $j,$j # j=0
265 lea 1($j),$j # j++
287 lea 1($j),$j # j++
432 xor $j,$j # j=0
459 lea 4($j),$j # j++
515 lea 4($j),$j # j++
569 xor $j,$j # j=0
[all …]
H A Dsparcv9-mont.pl75 $j="%l1";
121 mov 12,$j
150 add $j,4,$j ! j++
223 add $j,4,$j ! j++
340 add $j,4,$j ! j++
424 add $j,4,$j ! j++
482 add $j,4,$j
493 add $j,4,$j
507 add $j,4,$j
524 add $j,4,$j ! j++
[all …]
/openssl/test/
H A Dbftest.c237 for (j = 0; j < 8; j++) in print_test_data()
240 for (j = 0; j < 8; j++) in print_test_data()
243 for (j = 0; j < 8; j++) in print_test_data()
250 for (j = 0; j < 8; j++) in print_test_data()
255 for (j = 0; j < 8; j++) in print_test_data()
258 for (j = 0; j < i + 1; j++) in print_test_data()
265 for (j = 0; j < 16; j++) in print_test_data()
268 for (j = 0; j < 8; j++) in print_test_data()
272 for (j = 0; j < strlen(cbc_data) + 1; j++) in print_test_data()
277 for (j = 0; j < 32; j++) in print_test_data()
[all …]
H A Dconstant_time_test.c256 int j; in test_binops() local
259 for (j = 0; j < (int)OSSL_NELEM(test_values); ++j) { in test_binops()
283 int j; in test_binops_8() local
286 for (j = 0; j < (int)OSSL_NELEM(test_values_8); ++j) { in test_binops_8()
309 int j; in test_binops_s() local
312 for (j = 0; j < (int)OSSL_NELEM(test_values_s); ++j) { in test_binops_s()
340 for (j = 0; j < OSSL_NELEM(signed_test_values); ++j) { in test_signed()
357 for (j = 0; j < sizeof(test_values_8); ++j) { in test_8values()
369 size_t j; in test_32values() local
372 for (j = 0; j < OSSL_NELEM(test_values_32); j++) { in test_32values()
[all …]
H A Dquic_txpim_test.c18 size_t i, j; in test_txpim() local
33 for (j = 0; j < OSSL_NELEM(chunks); ++j) { in test_txpim()
34 chunks[j].stream_id = 100 - j; in test_txpim()
35 chunks[j].start = 1000 * i + j * 10; in test_txpim()
36 chunks[j].end = chunks[j].start + 5; in test_txpim()
38 if (!TEST_true(ossl_quic_txpim_pkt_append_chunk(pkts[i], chunks + j))) in test_txpim()
/openssl/crypto/sha/asm/
H A Dsha1-sparcv9a.pl99 fxors @X[($j+13)%16],@X[$j],@X[$j] !-1/-1/-1:X[0]^=X[13]
100 fxors @X[($j+14)%16],@X[$j+1],@X[$j+1]! 0/ 0/ 0:X[1]^=X[14]
104 fpadd32 @X[$j],@X[$j],@X[$j] ! 4/ 8/ 6:X[0,1]<<=1
153 $j=($j+16)%16;
159 fxors @X[($j+14)%16],@X[$j+1],@X[$j+1]! 0/ 0/ 0:X[1]^=X[14]
178 fpadd32 @X[$j],@X[$j],@X[$j] ! 4/ 8/ 6:X[0,1]<<=1
206 $j=($j+16)%16;
229 fpadd32 @X[$j],@X[$j],@X[$j] ! 4/ 8/ 6:X[0,1]<<=1
285 $j=($j+16)%16;
306 fpadd32 @X[$j],@X[$j],@X[$j] ! 4/ 8/ 6:X[0,1]<<=1
[all …]
H A Dsha1-alpha.pl116 xor @X[($j+2)%16],@X[$j%16],@X[$j%16]
121 xor @X[($j+8)%16],@X[$j%16],@X[$j%16]
126 xor @X[($j+13)%16],@X[$j%16],@X[$j%16]
134 addl @X[$j%16],@X[$j%16],@X[$j%16]
149 xor @X[($j+2)%16],@X[$j%16],@X[$j%16]
154 xor @X[($j+8)%16],@X[$j%16],@X[$j%16]
159 xor @X[($j+13)%16],@X[$j%16],@X[$j%16]
164 addl @X[$j%16],@X[$j%16],@X[$j%16]
206 xor @X[($j+2)%16],@X[$j%16],@X[$j%16]
211 xor @X[($j+8)%16],@X[$j%16],@X[$j%16]
[all …]
H A Dsha1-mips.pl135 lw @X[$j],$j*4($inp)
137 lwl @X[$j],$j*4+$MSB($inp)
138 lwr @X[$j],$j*4+$LSB($inp)
145 lwl @X[$j],$j*4+$MSB($inp)
148 lwr @X[$j],$j*4+$LSB($inp)
187 xor @X[$j%16],@X[($j+2)%16]
190 xor @X[$j%16],@X[($j+8)%16]
196 rotr @X[$j%16],@X[$j%16],31
212 addu @X[$j%16],@X[$j%16]
253 addu @X[$j%16],@X[$j%16]
[all …]
H A Dsha1-armv8.pl90 eor @Xw[$j],@Xw[$j],@Xw[($j+2)&15]
94 eor @Xw[$j],@Xw[$j],@Xw[($j+8)&15]
98 eor @Xw[$j],@Xw[$j],@Xw[($j+13)&15]
102 ror @Xw[$j],@Xw[$j],#31
117 eor @Xw[$j],@Xw[$j],@Xw[($j+2)&15]
121 eor @Xw[$j],@Xw[$j],@Xw[($j+8)&15]
125 eor @Xw[$j],@Xw[$j],@Xw[($j+13)&15]
128 ror @Xw[$j],@Xw[$j],#31
141 eor @Xw[$j],@Xw[$j],@Xw[($j+2)&15]
145 eor @Xw[$j],@Xw[$j],@Xw[($j+8)&15]
[all …]
H A Dsha1-parisc.pl88 xor @X[($j+2)%16],@X[$j%16],@X[$j%16]
91 xor @X[($j+8)%16],@X[$j%16],@X[$j%16]
96 xor @X[($j+13)%16],@X[$j%16],@X[$j%16]
98 shd @X[$j%16],@X[$j%16],31,@X[$j%16]
109 xor @X[($j+8)%16],@X[$j%16],@X[$j%16]
112 xor @X[($j+13)%16],@X[$j%16],@X[$j%16]
116 shd @X[$j%16],@X[$j%16],31,@X[$j%16]
142 xor @X[($j+2)%16],@X[$j%16],@X[$j%16]
145 xor @X[($j+8)%16],@X[$j%16],@X[$j%16]
149 xor @X[($j+13)%16],@X[$j%16],@X[$j%16]
[all …]
H A Dsha1-ppc.pl120 xor @X[$j%16],@X[$j%16],@X[($j+2)%16]
123 xor @X[$j%16],@X[$j%16],@X[($j+8)%16]
128 xor @X[$j%16],@X[$j%16],@X[($j+13)%16]
130 rotlwi @X[$j%16],@X[$j%16],1
141 xor @X[$j%16],@X[$j%16],@X[($j+2)%16]
144 xor @X[$j%16],@X[$j%16],@X[($j+8)%16]
147 xor @X[$j%16],@X[$j%16],@X[($j+13)%16]
149 rotlwi @X[$j%16],@X[$j%16],1
174 xor @X[$j%16],@X[$j%16],@X[($j+2)%16]
177 xor @X[$j%16],@X[$j%16],@X[($j+8)%16]
[all …]
H A Dsha1-ia64.pl61 my $j=$i+1;
62 my $Xn=@X[$j%16];
109 xor tmp3=$X[($j+8)%16],$X[($j+13)%16] // forward Xupdate
127 my $j=$i+1;
128 my $Xn=@X[$j%16];
139 xor tmp3=$X[($j+8)%16],$X[($j+13)%16] // forward Xupdate
157 my $j=$i+1;
158 my $Xn=@X[$j%16];
205 my $j=$i+1;
206 my $Xn=@X[$j%16];
[all …]
/openssl/crypto/rsa/
H A Drsa_x931.c46 int j; in RSA_padding_add_X931() local
53 j = tlen - flen - 2; in RSA_padding_add_X931()
55 if (j < 0) { in RSA_padding_add_X931()
63 if (j == 0) { in RSA_padding_add_X931()
67 if (j > 1) { in RSA_padding_add_X931()
69 p += j - 1; in RSA_padding_add_X931()
82 int i = 0, j; in RSA_padding_check_X931() local
92 j = flen - 3; in RSA_padding_check_X931()
103 j -= i; in RSA_padding_check_X931()
111 j = flen - 2; in RSA_padding_check_X931()
[all …]
/openssl/crypto/x509/
H A Dx509_obj.c29 int n, lold, l, l1, l2, num, j, type; in X509_NAME_oneline() local
94 for (j = 0; j < num; j++) in X509_NAME_oneline()
95 if (q[j] != 0) in X509_NAME_oneline()
107 for (l2 = j = 0; j < num; j++) { in X509_NAME_oneline()
108 if (!gs_doit[j & 3]) in X509_NAME_oneline()
111 if (q[j] == '/' || q[j] == '+') in X509_NAME_oneline()
141 for (j = 0; j < num; j++) { in X509_NAME_oneline()
142 if (!gs_doit[j & 3]) in X509_NAME_oneline()
145 n = q[j]; in X509_NAME_oneline()
156 n = os_toascii[q[j]]; in X509_NAME_oneline()
[all …]
H A Dv3_tlsf.c65 size_t j; in STACK_OF() local
71 for (j = 0; j < OSSL_NELEM(tls_feature_tbl); j++) in STACK_OF()
72 if (tlsextid == tls_feature_tbl[j].num) in STACK_OF()
74 if (j < OSSL_NELEM(tls_feature_tbl)) in STACK_OF()
75 X509V3_add_value(NULL, tls_feature_tbl[j].name, &ext_list); in STACK_OF()
95 size_t j; in v2i_TLS_FEATURE() local
110 for (j = 0; j < OSSL_NELEM(tls_feature_tbl); j++) in v2i_TLS_FEATURE()
111 if (OPENSSL_strcasecmp(extval, tls_feature_tbl[j].name) == 0) in v2i_TLS_FEATURE()
113 if (j < OSSL_NELEM(tls_feature_tbl)) in v2i_TLS_FEATURE()
114 tlsextid = tls_feature_tbl[j].num; in v2i_TLS_FEATURE()
/openssl/crypto/ec/curve448/
H A Dscalar.c75 unsigned int i, j; in sc_montmul() local
84 for (j = 0; j < C448_SCALAR_LIMBS; j++) { in sc_montmul()
85 chain += ((c448_dword_t) mand) * mier[j] + accum[j]; in sc_montmul()
94 for (j = 0; j < C448_SCALAR_LIMBS; j++) { in sc_montmul()
95 chain += (c448_dword_t) mand *mier[j] + accum[j]; in sc_montmul()
96 if (j) in sc_montmul()
100 chain += accum[j]; in sc_montmul()
142 size_t i, j, k = 0; in scalar_decode_short() local
147 for (j = 0; j < sizeof(c448_word_t) && k < nbytes; j++, k++) in scalar_decode_short()
217 unsigned int i, j, k = 0; in ossl_curve448_scalar_encode() local
[all …]
/openssl/crypto/err/
H A Derr_save.c48 size_t i, j, count; in OSSL_ERR_STATE_save_to_mark() local
72 for (i = 0, j = top; i < count; ++i) { in OSSL_ERR_STATE_save_to_mark()
73 j = (j + 1) % ERR_NUM_ERRORS; in OSSL_ERR_STATE_save_to_mark()
88 thread_es->err_flags[j] = 0; in OSSL_ERR_STATE_save_to_mark()
89 thread_es->err_buffer[j] = 0; in OSSL_ERR_STATE_save_to_mark()
90 thread_es->err_data[j] = NULL; in OSSL_ERR_STATE_save_to_mark()
91 thread_es->err_data_size[j] = 0; in OSSL_ERR_STATE_save_to_mark()
92 thread_es->err_data_flags[j] = 0; in OSSL_ERR_STATE_save_to_mark()
93 thread_es->err_file[j] = NULL; in OSSL_ERR_STATE_save_to_mark()
94 thread_es->err_line[j] = 0; in OSSL_ERR_STATE_save_to_mark()
[all …]
/openssl/crypto/bio/
H A Dbio_dump.c34 int i, j, rows, n; in BIO_dump_indent_cb() local
50 for (j = 0; j < dump_width; j++) { in BIO_dump_indent_cb()
52 if (((i * dump_width) + j) >= len) { in BIO_dump_indent_cb()
57 j == 7 ? '-' : ' '); in BIO_dump_indent_cb()
66 for (j = 0; j < dump_width; j++) { in BIO_dump_indent_cb()
67 if (((i * dump_width) + j) >= len) in BIO_dump_indent_cb()
133 int i, j = 0; in BIO_hex_string() local
139 if (i && !j) in BIO_hex_string()
144 if (++j >= width) { in BIO_hex_string()
145 j = 0; in BIO_hex_string()
[all …]
/openssl/crypto/rc4/asm/
H A Drc4-md5-x86_64.pl241 my $j=$i%16;
243 my $xmm="%xmm".($j&1);
252 #md5# add 4*`$j`($inp),$a
261 #md5# rol \$$rot0[$j%4],$a
281 my $j=$i%16;
283 my $xmm="%xmm".($j&1);
301 #md5# rol \$$rot1[$j%4],$a
321 my $j=$i%16;
323 my $xmm="%xmm".($j&1);
360 my $j=$i%16;
[all …]
/openssl/crypto/ec/curve448/arch_32/
H A Df_impl32.c31 int i, j;
38 for (j = 0; j < 8; j++) {
40 for (i = 0; i < j + 1; i++) {
41 accum2 += widemul(a[j - i], b[i]);
42 accum1 += widemul(aa[j - i], bb[i]);
43 accum0 += widemul(a[8 + j - i], b[8 + 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]);
55 c[j] = ((uint32_t)(accum0)) & mask;
[all …]
/openssl/crypto/md2/
H A Dmd2_dgst.c126 register int i, j; in md2_block() local
131 j = sp2[MD2_BLOCK - 1]; in md2_block()
136 j = sp2[i] ^= S[t ^ j]; in md2_block()
140 for (j = 0; j < 48; j += 8) { in md2_block()
141 t = state[j + 0] ^= S[t]; in md2_block()
142 t = state[j + 1] ^= S[t]; in md2_block()
143 t = state[j + 2] ^= S[t]; in md2_block()
144 t = state[j + 3] ^= S[t]; in md2_block()
145 t = state[j + 4] ^= S[t]; in md2_block()
146 t = state[j + 5] ^= S[t]; in md2_block()
[all …]

Completed in 39 milliseconds

12345678910>>...13