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

Function crypto_task_invoke

freebsd/opencrypto/crypto.c:1657–1669  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1655}
1656
1657static void
1658crypto_task_invoke(void *ctx, int pending)
1659{
1660 struct cryptocap *cap;
1661 struct cryptop *crp;
1662 int result;
1663
1664 crp = (struct cryptop *)ctx;
1665 cap = crp->crp_session->cap;
1666 result = crypto_invoke(cap, crp, 0);
1667 if (result == ERESTART)
1668 crypto_batch_enqueue(crp);
1669}
1670
1671/*
1672 * Dispatch a crypto request to the appropriate crypto devices.

Callers

nothing calls this directly

Calls 2

crypto_invokeFunction · 0.85
crypto_batch_enqueueFunction · 0.85

Tested by

no test coverage detected