Home | History | Annotate | Download | only in marvell

Lines Matching refs:crp

344 mvcesa_process(void *arg, struct cryptop *crp, int hint)
354 session = MVCESA_SESSION(crp->crp_sid);
359 if (crp->crp_flags & CRYPTO_F_IMBUF)
360 m = (struct mbuf *)crp->crp_buf;
361 else if (crp->crp_flags & CRYPTO_F_IOV)
362 uio = (struct uio *)crp->crp_buf;
364 buf = (char *)crp->crp_buf;
374 for (crd = crp->crp_desc; crd; crd = crd->crd_next) {
419 crp->crp_etype = mvcesa_des_encdec(sc, ses,
448 crp->crp_etype = mvcesa_authentication(sc, ses,
451 if (crp->crp_etype != 0)
456 crp->crp_etype = mvcesa_authentication(sc,
460 if (crp->crp_etype != 0)
470 memcpy(crp->crp_mac, digest, dlen / 8);
473 if (crp->crp_etype != 0)
478 DPRINTF(("request %08x done\n", (uint32_t)crp));
479 crypto_done(crp);