Home
last modified time | relevance | path

Searched refs:l (Results 1 – 25 of 317) sorted by relevance

12345678910>>...13

/openssl/crypto/des/
H A Ddes_enc.c26 l = data[1]; in DES_encrypt1()
28 IP(r, l); in DES_encrypt1()
38 l = ROTATE(l, 29) & 0xffffffffL; in DES_encrypt1()
82 l = ROTATE(l, 3) & 0xffffffffL; in DES_encrypt1()
85 FP(r, l); in DES_encrypt1()
107 l = ROTATE(l, 29) & 0xffffffffL; in DES_encrypt2()
162 IP(l, r); in DES_encrypt3()
170 FP(r, l); in DES_encrypt3()
182 IP(l, r); in DES_decrypt3()
220 for (l -= 8; l >= 0; l -= 8) { in DES_ede3_cbc_encrypt()
[all …]
H A Dfcrypt_b.c34 register DES_LONG l, r, t, u; in fcrypt_body() local
39 l = 0; in fcrypt_body()
47 D_ENCRYPT(l, r, 0); /* 1 */ in fcrypt_body()
48 D_ENCRYPT(r, l, 2); /* 2 */ in fcrypt_body()
49 D_ENCRYPT(l, r, 4); /* 3 */ in fcrypt_body()
50 D_ENCRYPT(r, l, 6); /* 4 */ in fcrypt_body()
63 t = l; in fcrypt_body()
64 l = r; in fcrypt_body()
67 l = ROTATE(l, 3) & 0xffffffffL; in fcrypt_body()
70 PERM_OP(l, r, t, 1, 0x55555555L); in fcrypt_body()
[all …]
H A Ddes_local.h29 # define c2l(c,l) (l =((DES_LONG)(*((c)++))) , \ argument
57 # define l2c(l,c) (*((c)++)=(unsigned char)(((l) )&0xff), \ argument
199 # define IP(l,r) \ argument
202 PERM_OP(r,l,tt, 4,0x0f0f0f0fL); \
203 PERM_OP(l,r,tt,16,0x0000ffffL); \
204 PERM_OP(r,l,tt, 2,0x33333333L); \
205 PERM_OP(l,r,tt, 8,0x00ff00ffL); \
206 PERM_OP(r,l,tt, 1,0x55555555L); \
209 # define FP(l,r) \ argument
212 PERM_OP(l,r,tt, 1,0x55555555L); \
[all …]
H A Decb_enc.c39 register DES_LONG l; in DES_ecb_encrypt() local
44 c2l(in, l); in DES_ecb_encrypt()
45 ll[0] = l; in DES_ecb_encrypt()
46 c2l(in, l); in DES_ecb_encrypt()
47 ll[1] = l; in DES_ecb_encrypt()
49 l = ll[0]; in DES_ecb_encrypt()
50 l2c(l, out); in DES_ecb_encrypt()
51 l = ll[1]; in DES_ecb_encrypt()
52 l2c(l, out); in DES_ecb_encrypt()
53 l = ll[0] = ll[1] = 0; in DES_ecb_encrypt()
/openssl/crypto/bf/
H A Dbf_enc.c32 register BF_LONG l, r; in BF_encrypt() local
37 l = data[0]; in BF_encrypt()
40 l ^= p[0]; in BF_encrypt()
41 BF_ENC(r, l, s, p[1]); in BF_encrypt()
42 BF_ENC(l, r, s, p[2]); in BF_encrypt()
43 BF_ENC(r, l, s, p[3]); in BF_encrypt()
76 l = data[0]; in BF_decrypt()
120 for (l -= 8; l >= 0; l -= 8) { in BF_cbc_encrypt()
133 if (l != -8) { in BF_cbc_encrypt()
151 for (l -= 8; l >= 0; l -= 8) { in BF_cbc_encrypt()
[all …]
H A Dbf_ecb.c34 BF_LONG l, d[2]; in BF_ecb_encrypt() local
36 n2l(in, l); in BF_ecb_encrypt()
37 d[0] = l; in BF_ecb_encrypt()
38 n2l(in, l); in BF_ecb_encrypt()
39 d[1] = l; in BF_ecb_encrypt()
44 l = d[0]; in BF_ecb_encrypt()
45 l2n(l, out); in BF_ecb_encrypt()
46 l = d[1]; in BF_ecb_encrypt()
47 l2n(l, out); in BF_ecb_encrypt()
48 l = d[0] = d[1] = 0; in BF_ecb_encrypt()
H A Dbf_local.h60 # define n2l(c,l) (l =((unsigned long)(*((c)++)))<<24L, \ argument
61 l|=((unsigned long)(*((c)++)))<<16L, \
62 l|=((unsigned long)(*((c)++)))<< 8L, \
63 l|=((unsigned long)(*((c)++))))
66 # define l2n(l,c) (*((c)++)=(unsigned char)(((l)>>24L)&0xff), \ argument
67 *((c)++)=(unsigned char)(((l)>>16L)&0xff), \
68 *((c)++)=(unsigned char)(((l)>> 8L)&0xff), \
69 *((c)++)=(unsigned char)(((l) )&0xff))
/openssl/crypto/cast/
H A Dc_enc.c21 CAST_LONG l, r, t; in CAST_encrypt() local
25 l = data[0]; in CAST_encrypt()
28 E_CAST(0, k, l, r, +, ^, -); in CAST_encrypt()
47 data[1] = l & 0xffffffffL; in CAST_encrypt()
53 CAST_LONG l, r, t; in CAST_decrypt() local
57 l = data[0]; in CAST_decrypt()
89 register long l = length; in CAST_cbc_encrypt() local
96 for (l -= 8; l >= 0; l -= 8) { in CAST_cbc_encrypt()
109 if (l != -8) { in CAST_cbc_encrypt()
127 for (l -= 8; l >= 0; l -= 8) { in CAST_cbc_encrypt()
[all …]
H A Dc_skey.c20 #define CAST_exp(l,A,a,n) \ argument
21 A[n/4]=l; \
22 a[n+3]=(l )&0xff; \
23 a[n+2]=(l>> 8)&0xff; \
24 a[n+1]=(l>>16)&0xff; \
25 a[n+0]=(l>>24)&0xff;
38 CAST_LONG l, *K; in CAST_set_key() local
61 CAST_exp(l, Z, z, 0); in CAST_set_key()
63 CAST_exp(l, Z, z, 4); in CAST_set_key()
65 CAST_exp(l, Z, z, 8); in CAST_set_key()
[all …]
H A Dc_ecb.c23 CAST_LONG l, d[2]; in CAST_ecb_encrypt() local
25 n2l(in, l); in CAST_ecb_encrypt()
26 d[0] = l; in CAST_ecb_encrypt()
27 n2l(in, l); in CAST_ecb_encrypt()
28 d[1] = l; in CAST_ecb_encrypt()
33 l = d[0]; in CAST_ecb_encrypt()
34 l2n(l, out); in CAST_ecb_encrypt()
35 l = d[1]; in CAST_ecb_encrypt()
36 l2n(l, out); in CAST_ecb_encrypt()
37 l = d[0] = d[1] = 0; in CAST_ecb_encrypt()
/openssl/include/internal/
H A Dcommon.h105 # define c2l(c,l) (l = ((unsigned long)(*((c)++))) , \ argument
126 # define l2c(l,c) (*((c)++)=(unsigned char)(((l) )&0xff), \ argument
131 # define n2l(c,l) (l =((unsigned long)(*((c)++)))<<24, \ argument
134 l|=((unsigned long)(*((c)++))))
136 # define n2l8(c,l) (l =((uint64_t)(*((c)++)))<<56, \ argument
137 l|=((uint64_t)(*((c)++)))<<48, \
143 l|=((uint64_t)(*((c)++))))
145 # define l2n(l,c) (*((c)++)=(unsigned char)(((l)>>24)&0xff), \ argument
150 # define l2n8(l,c) (*((c)++)=(unsigned char)(((l)>>56)&0xff), \ argument
179 # define n2l3(c,l) ((l =(((unsigned long)((c)[0]))<<16)| \ argument
[all …]
H A Dring_buf.h80 size_t avail, idx, l; in ring_buf_write_at() local
96 if (buf_len < l) in ring_buf_write_at()
97 l = buf_len; in ring_buf_write_at()
104 buf += l; in ring_buf_write_at()
105 buf_len -= l; in ring_buf_write_at()
133 if (buf_len < l) in ring_buf_push()
134 l = buf_len; in ring_buf_push()
178 size_t idx, l; in ring_buf_get_buf_at() local
195 *buf_len = l; in ring_buf_get_buf_at()
211 size_t l; in ring_buf_cpop_range() local
[all …]
/openssl/test/
H A Dlist_test.c98 OSSL_LIST(int) l; in test_insert()
103 ossl_list_int_init(&l); in test_insert()
119 c = ossl_list_int_head(&l); in test_insert()
120 d = ossl_list_int_tail(&l); in test_insert()
136 c = ossl_list_int_head(&l); in test_insert()
137 d = ossl_list_int_tail(&l); in test_insert()
152 if (!TEST_ptr(ossl_list_int_head(&l)) in test_insert()
153 || !TEST_ptr(ossl_list_int_tail(&l)) in test_insert()
161 if (!TEST_ptr(ossl_list_int_head(&l)) in test_insert()
168 ossl_list_int_remove(&l, elem); in test_insert()
[all …]
/openssl/crypto/ct/
H A Dct_local.h34 #define l2n3(l,c) ((c[0]=(unsigned char)(((l)>>16)&0xff), \ argument
35 c[1]=(unsigned char)(((l)>> 8)&0xff), \
38 #define n2l8(c,l) (l =((uint64_t)(*((c)++)))<<56, \ argument
39 l|=((uint64_t)(*((c)++)))<<48, \
40 l|=((uint64_t)(*((c)++)))<<40, \
41 l|=((uint64_t)(*((c)++)))<<32, \
42 l|=((uint64_t)(*((c)++)))<<24, \
43 l|=((uint64_t)(*((c)++)))<<16, \
44 l|=((uint64_t)(*((c)++)))<< 8, \
45 l|=((uint64_t)(*((c)++))))
[all …]
/openssl/include/crypto/
H A Dmd32_common.h126 # define HOST_c2l(c,l) (l =(((unsigned long)(*((c)++)))<<24), \ argument
127 l|=(((unsigned long)(*((c)++)))<<16), \
130 # define HOST_l2c(l,c) (*((c)++)=(unsigned char)(((l)>>24)&0xff), \ argument
134 l)
138 # define HOST_c2l(c,l) (l =(((unsigned long)(*((c)++))) ), \ argument
142 # define HOST_l2c(l,c) (*((c)++)=(unsigned char)(((l) )&0xff), \ argument
146 l)
158 HASH_LONG l; in HASH_UPDATE() local
164 l = (c->Nl + (((HASH_LONG) len) << 3)) & 0xffffffffUL; in HASH_UPDATE()
165 if (l < c->Nl) /* overflow */ in HASH_UPDATE()
[all …]
/openssl/crypto/md4/
H A Dmd4_dgst.c64 X(0) = l; in md4_block_data_order()
66 X(1) = l; in md4_block_data_order()
70 X(2) = l; in md4_block_data_order()
73 X(3) = l; in md4_block_data_order()
76 X(4) = l; in md4_block_data_order()
79 X(5) = l; in md4_block_data_order()
82 X(6) = l; in md4_block_data_order()
85 X(7) = l; in md4_block_data_order()
88 X(8) = l; in md4_block_data_order()
91 X(9) = l; in md4_block_data_order()
[all …]
/openssl/test/recipes/30-test_evp_data/
H A Devpkdf_kbkdf_counter.txt31 Ctrl.use-l = use-l:0
44 Ctrl.use-l = use-l:0
57 Ctrl.use-l = use-l:0
70 Ctrl.use-l = use-l:0
88 Ctrl.use-l = use-l:0
101 Ctrl.use-l = use-l:0
114 Ctrl.use-l = use-l:0
127 Ctrl.use-l = use-l:0
145 Ctrl.use-l = use-l:0
158 Ctrl.use-l = use-l:0
[all …]
/openssl/doc/designs/ddd/
H A Dddd-05-mem-nonblocking.c141 int rc, l; local
144 if (l <= 0) {
159 return l;
170 int rc, l; local
173 if (l <= 0) {
187 return l;
299 int l, l2; local
359 int l, tx_len; local
422 if (l > 0) {
423 tx_p += l;
[all …]
H A Dddd-02-conn-nonblocking-threads.c142 int l; in tx() local
147 if (l <= 0) { in tx()
156 return l; in tx()
167 int l; in rx() local
172 if (l <= 0) { in rx()
181 return l; in rx()
264 int res = 1, l, tx_len; in main() local
293 if (l > 0) { in main()
294 tx_p += l; in main()
295 tx_len -= l; in main()
[all …]
/openssl/crypto/idea/
H A Didea_local.h65 #define n2l(c,l) (l =((unsigned long)(*((c)++)))<<24L, \ argument
66 l|=((unsigned long)(*((c)++)))<<16L, \
67 l|=((unsigned long)(*((c)++)))<< 8L, \
68 l|=((unsigned long)(*((c)++))))
71 #define l2n(l,c) (*((c)++)=(unsigned char)(((l)>>24L)&0xff), \ argument
72 *((c)++)=(unsigned char)(((l)>>16L)&0xff), \
74 *((c)++)=(unsigned char)(((l) )&0xff))
77 #define s2n(l,c) (*((c)++)=(unsigned char)(((l) )&0xff), \ argument
78 *((c)++)=(unsigned char)(((l)>> 8L)&0xff))
81 #define n2s(c,l) (l =((IDEA_INT)(*((c)++)))<< 8L, \ argument
[all …]
/openssl/crypto/md5/
H A Dmd5_dgst.c64 X(0) = l; in md5_block_data_order()
66 X(1) = l; in md5_block_data_order()
70 X(2) = l; in md5_block_data_order()
73 X(3) = l; in md5_block_data_order()
76 X(4) = l; in md5_block_data_order()
79 X(5) = l; in md5_block_data_order()
82 X(6) = l; in md5_block_data_order()
85 X(7) = l; in md5_block_data_order()
88 X(8) = l; in md5_block_data_order()
91 X(9) = l; in md5_block_data_order()
[all …]
/openssl/crypto/rc2/
H A Drc2_cbc.c24 register long l = length; in RC2_cbc_encrypt() local
31 for (l -= 8; l >= 0; l -= 8) { in RC2_cbc_encrypt()
44 if (l != -8) { in RC2_cbc_encrypt()
62 for (l -= 8; l >= 0; l -= 8) { in RC2_cbc_encrypt()
75 if (l != -8) { in RC2_cbc_encrypt()
99 unsigned long l; in RC2_encrypt() local
101 l = d[0]; in RC2_encrypt()
104 l = d[1]; in RC2_encrypt()
145 unsigned long l; in RC2_decrypt() local
147 l = d[0]; in RC2_decrypt()
[all …]
H A Drc2_ecb.c31 unsigned long l, d[2]; in RC2_ecb_encrypt() local
33 c2l(in, l); in RC2_ecb_encrypt()
34 d[0] = l; in RC2_ecb_encrypt()
35 c2l(in, l); in RC2_ecb_encrypt()
36 d[1] = l; in RC2_ecb_encrypt()
41 l = d[0]; in RC2_ecb_encrypt()
42 l2c(l, out); in RC2_ecb_encrypt()
43 l = d[1]; in RC2_ecb_encrypt()
44 l2c(l, out); in RC2_ecb_encrypt()
45 l = d[0] = d[1] = 0; in RC2_ecb_encrypt()
H A Drc2_local.h11 #define c2l(c,l) (l =((unsigned long)(*((c)++))) , \ argument
12 l|=((unsigned long)(*((c)++)))<< 8L, \
13 l|=((unsigned long)(*((c)++)))<<16L, \
14 l|=((unsigned long)(*((c)++)))<<24L)
41 #define l2c(l,c) (*((c)++)=(unsigned char)(((l) )&0xff), \ argument
42 *((c)++)=(unsigned char)(((l)>> 8L)&0xff), \
43 *((c)++)=(unsigned char)(((l)>>16L)&0xff), \
44 *((c)++)=(unsigned char)(((l)>>24L)&0xff))
/openssl/crypto/rc5/
H A Drc5_ecb.c23 unsigned long l, d[2]; in RC5_32_ecb_encrypt() local
25 c2l(in, l); in RC5_32_ecb_encrypt()
26 d[0] = l; in RC5_32_ecb_encrypt()
27 c2l(in, l); in RC5_32_ecb_encrypt()
28 d[1] = l; in RC5_32_ecb_encrypt()
33 l = d[0]; in RC5_32_ecb_encrypt()
34 l2c(l, out); in RC5_32_ecb_encrypt()
35 l = d[1]; in RC5_32_ecb_encrypt()
36 l2c(l, out); in RC5_32_ecb_encrypt()
37 l = d[0] = d[1] = 0; in RC5_32_ecb_encrypt()

Completed in 53 milliseconds

12345678910>>...13