Update cesa(4) for separate output buffers changes in r361481.
This does not add support for separate output buffers but updates the driver to cope with the changes. Pointy hat to: jhb
This commit is contained in:
parent
23230d520a
commit
72d874fa90
@ -1712,7 +1712,7 @@ cesa_process(device_t dev, struct cryptop *crp, int hint)
|
||||
csp = crypto_get_params(crp->crp_session);
|
||||
|
||||
/* Check and parse input */
|
||||
if (crp->crp_ilen > CESA_MAX_REQUEST_SIZE) {
|
||||
if (crypto_buffer_len(&crp->crp_buf) > CESA_MAX_REQUEST_SIZE) {
|
||||
crp->crp_etype = E2BIG;
|
||||
crypto_done(crp);
|
||||
return (0);
|
||||
|
Loading…
Reference in New Issue
Block a user