Lines Matching refs:data
20 void DES_encrypt1(DES_LONG *data, DES_key_schedule *ks, int enc) in DES_encrypt1() argument
25 r = data[0]; in DES_encrypt1()
26 l = data[1]; in DES_encrypt1()
86 data[0] = l; in DES_encrypt1()
87 data[1] = r; in DES_encrypt1()
91 void DES_encrypt2(DES_LONG *data, DES_key_schedule *ks, int enc) in DES_encrypt2() argument
96 r = data[0]; in DES_encrypt2()
97 l = data[1]; in DES_encrypt2()
150 data[0] = ROTATE(l, 3) & 0xffffffffL; in DES_encrypt2()
151 data[1] = ROTATE(r, 3) & 0xffffffffL; in DES_encrypt2()
155 void DES_encrypt3(DES_LONG *data, DES_key_schedule *ks1, in DES_encrypt3() argument
160 l = data[0]; in DES_encrypt3()
161 r = data[1]; in DES_encrypt3()
163 data[0] = l; in DES_encrypt3()
164 data[1] = r; in DES_encrypt3()
165 DES_encrypt2((DES_LONG *)data, ks1, DES_ENCRYPT); in DES_encrypt3()
166 DES_encrypt2((DES_LONG *)data, ks2, DES_DECRYPT); in DES_encrypt3()
167 DES_encrypt2((DES_LONG *)data, ks3, DES_ENCRYPT); in DES_encrypt3()
168 l = data[0]; in DES_encrypt3()
169 r = data[1]; in DES_encrypt3()
171 data[0] = l; in DES_encrypt3()
172 data[1] = r; in DES_encrypt3()
175 void DES_decrypt3(DES_LONG *data, DES_key_schedule *ks1, in DES_decrypt3() argument
180 l = data[0]; in DES_decrypt3()
181 r = data[1]; in DES_decrypt3()
183 data[0] = l; in DES_decrypt3()
184 data[1] = r; in DES_decrypt3()
185 DES_encrypt2((DES_LONG *)data, ks3, DES_DECRYPT); in DES_decrypt3()
186 DES_encrypt2((DES_LONG *)data, ks2, DES_ENCRYPT); in DES_decrypt3()
187 DES_encrypt2((DES_LONG *)data, ks1, DES_DECRYPT); in DES_decrypt3()
188 l = data[0]; in DES_decrypt3()
189 r = data[1]; in DES_decrypt3()
191 data[0] = l; in DES_decrypt3()
192 data[1] = r; in DES_decrypt3()