| 399 | } |
| 400 | |
| 401 | static int |
| 402 | process_cipher_data(struct nitrox_softreq *sr) |
| 403 | { |
| 404 | struct rte_crypto_op *op = sr->op; |
| 405 | int err; |
| 406 | |
| 407 | softreq_copy_iv(sr, 0); |
| 408 | err = create_cipher_inbuf(sr); |
| 409 | if (unlikely(err)) |
| 410 | return err; |
| 411 | |
| 412 | err = create_cipher_outbuf(sr); |
| 413 | if (unlikely(err)) |
| 414 | return err; |
| 415 | |
| 416 | create_cipher_gph(op->sym->cipher.data.length, sr->iv.len, &sr->gph); |
| 417 | |
| 418 | return 0; |
| 419 | } |
| 420 | |
| 421 | static int |
| 422 | extract_cipher_auth_digest(struct nitrox_softreq *sr, |
no test coverage detected