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

Function aesni_process

freebsd/crypto/aesni/aesni.c:372–385  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

370}
371
372static int
373aesni_process(device_t dev, struct cryptop *crp, int hint __unused)
374{
375 struct aesni_session *ses;
376 int error;
377
378 ses = crypto_get_driver_session(crp->crp_session);
379
380 error = aesni_cipher_process(ses, crp);
381
382 crp->crp_etype = error;
383 crypto_done(crp);
384 return (0);
385}
386
387static uint8_t *
388aesni_cipher_alloc(struct cryptop *crp, int start, int length, bool *allocated)

Callers

nothing calls this directly

Calls 3

aesni_cipher_processFunction · 0.85
crypto_doneFunction · 0.85

Tested by

no test coverage detected