diff options
| author | 2002-11-21 19:34:25 +0000 | |
|---|---|---|
| committer | 2002-11-21 19:34:25 +0000 | |
| commit | fc652f68ddea432eb4510092c7c7020516b1fcf7 (patch) | |
| tree | 4184cbad485bcdb933695f6513bfa319b0e9098b /sys/crypto/cryptodev.c | |
| parent | lofn works (diff) | |
| download | wireguard-openbsd-fc652f68ddea432eb4510092c7c7020516b1fcf7.tar.xz wireguard-openbsd-fc652f68ddea432eb4510092c7c7020516b1fcf7.zip | |
From Angelos:
- simplistic load balancing across multiple cards
- simplified registration process
- a few style nits.
Diffstat (limited to 'sys/crypto/cryptodev.c')
| -rw-r--r-- | sys/crypto/cryptodev.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/crypto/cryptodev.c b/sys/crypto/cryptodev.c index 91e4e46c77c..25386790a0a 100644 --- a/sys/crypto/cryptodev.c +++ b/sys/crypto/cryptodev.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cryptodev.c,v 1.54 2002/11/12 18:23:13 jason Exp $ */ +/* $OpenBSD: cryptodev.c,v 1.55 2002/11/21 19:34:25 jason Exp $ */ /* * Copyright (c) 2001 Theo de Raadt @@ -304,8 +304,9 @@ cryptodev_op(struct csession *cse, struct crypt_op *cop, struct proc *p) if (cop->len > 256*1024-4) return (E2BIG); - if (cse->txform && (cop->len % cse->txform->blocksize) != 0) + if (cse->txform && (cop->len % cse->txform->blocksize) != 0) { return (EINVAL); + } bzero(&cse->uio, sizeof(cse->uio)); cse->uio.uio_iovcnt = 1; |
