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

Function blake2_process

freebsd/crypto/blake2/blake2_cryptodev.c:224–236  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

222}
223
224static int
225blake2_process(device_t dev, struct cryptop *crp, int hint __unused)
226{
227 struct blake2_session *ses;
228 int error;
229
230 ses = crypto_get_driver_session(crp->crp_session);
231 error = blake2_cipher_process(ses, crp);
232
233 crp->crp_etype = error;
234 crypto_done(crp);
235 return (0);
236}
237
238static device_method_t blake2_methods[] = {
239 DEVMETHOD(device_identify, blake2_identify),

Callers

nothing calls this directly

Calls 3

blake2_cipher_processFunction · 0.85
crypto_doneFunction · 0.85

Tested by

no test coverage detected