MCPcopy Create free account
hub / github.com/F-Stack/f-stack / xlp_copyiv

Function xlp_copyiv

freebsd/mips/nlm/dev/sec/nlmsec.c:453–463  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

451 */
452
453static void
454xlp_copyiv(struct xlp_sec_softc *sc, struct xlp_sec_command *cmd,
455 const struct crypto_session_params *csp)
456{
457 struct cryptop *crp = NULL;
458
459 crp = cmd->crp;
460
461 if (crp->crp_flags & CRYPTO_F_IV_SEPARATE)
462 memcpy(cmd->iv, crp->crp_iv, csp->csp_ivlen);
463}
464
465static int
466xlp_get_nsegs(struct cryptop *crp, unsigned int *nsegs)

Callers 1

xlp_sec_processFunction · 0.85

Calls 1

memcpyFunction · 0.50

Tested by

no test coverage detected