| 149 | #define CIOCCRYPTAEAD32 _IOWR('c', 109, struct crypt_aead32) |
| 150 | |
| 151 | static void |
| 152 | session_op_from_32(const struct session_op32 *from, struct session2_op *to) |
| 153 | { |
| 154 | |
| 155 | memset(to, 0, sizeof(*to)); |
| 156 | CP(*from, *to, cipher); |
| 157 | CP(*from, *to, mac); |
| 158 | CP(*from, *to, keylen); |
| 159 | PTRIN_CP(*from, *to, key); |
| 160 | CP(*from, *to, mackeylen); |
| 161 | PTRIN_CP(*from, *to, mackey); |
| 162 | CP(*from, *to, ses); |
| 163 | to->crid = CRYPTOCAP_F_HARDWARE; |
| 164 | } |
| 165 | |
| 166 | static void |
| 167 | session2_op_from_32(const struct session2_op32 *from, struct session2_op *to) |
no test coverage detected