* Helper function that moves ICV by 4B up, and removes SQN.hibits. * icv parameter points to the new start of ICV. */
| 287 | * icv parameter points to the new start of ICV. |
| 288 | */ |
| 289 | static inline void |
| 290 | remove_sqh(void *picv, uint32_t icv_len) |
| 291 | { |
| 292 | uint32_t i, *icv; |
| 293 | |
| 294 | RTE_ASSERT(icv_len % sizeof(uint32_t) == 0); |
| 295 | |
| 296 | icv = picv; |
| 297 | icv_len = icv_len / sizeof(uint32_t); |
| 298 | for (i = 0; i != icv_len; i++) |
| 299 | icv[i] = icv[i + 1]; |
| 300 | } |
| 301 | |
| 302 | /* |
| 303 | * setup crypto ops for LOOKASIDE_NONE (pure crypto) type of devices. |
no outgoing calls
no test coverage detected