| 1330 | } |
| 1331 | |
| 1332 | static void |
| 1333 | ccp_blkcipher_done(struct ccp_queue *qp, struct ccp_session *s, void *vcrp, |
| 1334 | int error) |
| 1335 | { |
| 1336 | struct cryptop *crp; |
| 1337 | |
| 1338 | explicit_bzero(&s->blkcipher.iv, sizeof(s->blkcipher.iv)); |
| 1339 | |
| 1340 | crp = vcrp; |
| 1341 | |
| 1342 | s->pending--; |
| 1343 | |
| 1344 | if (error != 0) |
| 1345 | crp->crp_etype = error; |
| 1346 | |
| 1347 | DPRINTF(qp->cq_softc->dev, "%s: qp=%p crp=%p\n", __func__, qp, crp); |
| 1348 | crypto_done(crp); |
| 1349 | } |
| 1350 | |
| 1351 | static void |
| 1352 | ccp_collect_iv(struct cryptop *crp, const struct crypto_session_params *csp, |
nothing calls this directly
no test coverage detected