| 221 | } |
| 222 | |
| 223 | static void |
| 224 | crypt_aead_from_32(const struct crypt_aead32 *from, struct crypt_aead *to) |
| 225 | { |
| 226 | |
| 227 | CP(*from, *to, ses); |
| 228 | CP(*from, *to, op); |
| 229 | CP(*from, *to, flags); |
| 230 | CP(*from, *to, len); |
| 231 | CP(*from, *to, aadlen); |
| 232 | CP(*from, *to, ivlen); |
| 233 | PTRIN_CP(*from, *to, src); |
| 234 | PTRIN_CP(*from, *to, dst); |
| 235 | PTRIN_CP(*from, *to, aad); |
| 236 | PTRIN_CP(*from, *to, tag); |
| 237 | PTRIN_CP(*from, *to, iv); |
| 238 | } |
| 239 | |
| 240 | static void |
| 241 | crypt_aead_to_32(const struct crypt_aead *from, struct crypt_aead32 *to) |