Lines Matching refs:from
152 session_op_from_32(const struct session_op32 *from, struct session2_op *to) in session_op_from_32() argument
156 CP(*from, *to, cipher); in session_op_from_32()
157 CP(*from, *to, mac); in session_op_from_32()
158 CP(*from, *to, keylen); in session_op_from_32()
159 PTRIN_CP(*from, *to, key); in session_op_from_32()
160 CP(*from, *to, mackeylen); in session_op_from_32()
161 PTRIN_CP(*from, *to, mackey); in session_op_from_32()
162 CP(*from, *to, ses); in session_op_from_32()
167 session2_op_from_32(const struct session2_op32 *from, struct session2_op *to) in session2_op_from_32() argument
170 session_op_from_32((const struct session_op32 *)from, to); in session2_op_from_32()
171 CP(*from, *to, crid); in session2_op_from_32()
175 session_op_to_32(const struct session2_op *from, struct session_op32 *to) in session_op_to_32() argument
178 CP(*from, *to, cipher); in session_op_to_32()
179 CP(*from, *to, mac); in session_op_to_32()
180 CP(*from, *to, keylen); in session_op_to_32()
181 PTROUT_CP(*from, *to, key); in session_op_to_32()
182 CP(*from, *to, mackeylen); in session_op_to_32()
183 PTROUT_CP(*from, *to, mackey); in session_op_to_32()
184 CP(*from, *to, ses); in session_op_to_32()
188 session2_op_to_32(const struct session2_op *from, struct session2_op32 *to) in session2_op_to_32() argument
191 session_op_to_32(from, (struct session_op32 *)to); in session2_op_to_32()
192 CP(*from, *to, crid); in session2_op_to_32()
196 crypt_op_from_32(const struct crypt_op32 *from, struct crypt_op *to) in crypt_op_from_32() argument
199 CP(*from, *to, ses); in crypt_op_from_32()
200 CP(*from, *to, op); in crypt_op_from_32()
201 CP(*from, *to, flags); in crypt_op_from_32()
202 CP(*from, *to, len); in crypt_op_from_32()
203 PTRIN_CP(*from, *to, src); in crypt_op_from_32()
204 PTRIN_CP(*from, *to, dst); in crypt_op_from_32()
205 PTRIN_CP(*from, *to, mac); in crypt_op_from_32()
206 PTRIN_CP(*from, *to, iv); in crypt_op_from_32()
210 crypt_op_to_32(const struct crypt_op *from, struct crypt_op32 *to) in crypt_op_to_32() argument
213 CP(*from, *to, ses); in crypt_op_to_32()
214 CP(*from, *to, op); in crypt_op_to_32()
215 CP(*from, *to, flags); in crypt_op_to_32()
216 CP(*from, *to, len); in crypt_op_to_32()
217 PTROUT_CP(*from, *to, src); in crypt_op_to_32()
218 PTROUT_CP(*from, *to, dst); in crypt_op_to_32()
219 PTROUT_CP(*from, *to, mac); in crypt_op_to_32()
220 PTROUT_CP(*from, *to, iv); in crypt_op_to_32()
224 crypt_aead_from_32(const struct crypt_aead32 *from, struct crypt_aead *to) in crypt_aead_from_32() argument
227 CP(*from, *to, ses); in crypt_aead_from_32()
228 CP(*from, *to, op); in crypt_aead_from_32()
229 CP(*from, *to, flags); in crypt_aead_from_32()
230 CP(*from, *to, len); in crypt_aead_from_32()
231 CP(*from, *to, aadlen); in crypt_aead_from_32()
232 CP(*from, *to, ivlen); in crypt_aead_from_32()
233 PTRIN_CP(*from, *to, src); in crypt_aead_from_32()
234 PTRIN_CP(*from, *to, dst); in crypt_aead_from_32()
235 PTRIN_CP(*from, *to, aad); in crypt_aead_from_32()
236 PTRIN_CP(*from, *to, tag); in crypt_aead_from_32()
237 PTRIN_CP(*from, *to, iv); in crypt_aead_from_32()
241 crypt_aead_to_32(const struct crypt_aead *from, struct crypt_aead32 *to) in crypt_aead_to_32() argument
244 CP(*from, *to, ses); in crypt_aead_to_32()
245 CP(*from, *to, op); in crypt_aead_to_32()
246 CP(*from, *to, flags); in crypt_aead_to_32()
247 CP(*from, *to, len); in crypt_aead_to_32()
248 CP(*from, *to, aadlen); in crypt_aead_to_32()
249 CP(*from, *to, ivlen); in crypt_aead_to_32()
250 PTROUT_CP(*from, *to, src); in crypt_aead_to_32()
251 PTROUT_CP(*from, *to, dst); in crypt_aead_to_32()
252 PTROUT_CP(*from, *to, aad); in crypt_aead_to_32()
253 PTROUT_CP(*from, *to, tag); in crypt_aead_to_32()
254 PTROUT_CP(*from, *to, iv); in crypt_aead_to_32()
258 crparam_from_32(const struct crparam32 *from, struct crparam *to) in crparam_from_32() argument
261 PTRIN_CP(*from, *to, crp_p); in crparam_from_32()
262 CP(*from, *to, crp_nbits); in crparam_from_32()
266 crparam_to_32(const struct crparam *from, struct crparam32 *to) in crparam_to_32() argument
269 PTROUT_CP(*from, *to, crp_p); in crparam_to_32()
270 CP(*from, *to, crp_nbits); in crparam_to_32()
274 crypt_kop_from_32(const struct crypt_kop32 *from, struct crypt_kop *to) in crypt_kop_from_32() argument
278 CP(*from, *to, crk_op); in crypt_kop_from_32()
279 CP(*from, *to, crk_status); in crypt_kop_from_32()
280 CP(*from, *to, crk_iparams); in crypt_kop_from_32()
281 CP(*from, *to, crk_oparams); in crypt_kop_from_32()
282 CP(*from, *to, crk_crid); in crypt_kop_from_32()
284 crparam_from_32(&from->crk_param[i], &to->crk_param[i]); in crypt_kop_from_32()
288 crypt_kop_to_32(const struct crypt_kop *from, struct crypt_kop32 *to) in crypt_kop_to_32() argument
292 CP(*from, *to, crk_op); in crypt_kop_to_32()
293 CP(*from, *to, crk_status); in crypt_kop_to_32()
294 CP(*from, *to, crk_iparams); in crypt_kop_to_32()
295 CP(*from, *to, crk_oparams); in crypt_kop_to_32()
296 CP(*from, *to, crk_crid); in crypt_kop_to_32()
298 crparam_to_32(&from->crk_param[i], &to->crk_param[i]); in crypt_kop_to_32()
303 session2_op_from_op(const struct session_op *from, struct session2_op *to) in session2_op_from_op() argument
307 memcpy(to, from, sizeof(*from)); in session2_op_from_op()
312 session2_op_to_op(const struct session2_op *from, struct session_op *to) in session2_op_to_op() argument
315 memcpy(to, from, sizeof(*to)); in session2_op_to_op()