summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Valchev <pvalchev@cvs.openbsd.org>2001-06-23 01:29:41 +0000
committerPeter Valchev <pvalchev@cvs.openbsd.org>2001-06-23 01:29:41 +0000
commitb474b3ec4f599ea21eb95b88a053590903effe1f (patch)
treee12014196e03012f17b81f38bdfdd30b5e67376e
parent7f2b68d88d83e131f27a3560522d915fa10870f3 (diff)
hifn now supports up to 256K
-rw-r--r--sys/crypto/cryptodev.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/crypto/cryptodev.c b/sys/crypto/cryptodev.c
index 6175170f15d..6a5a72684cd 100644
--- a/sys/crypto/cryptodev.c
+++ b/sys/crypto/cryptodev.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cryptodev.c,v 1.13 2001/06/18 10:55:01 deraadt Exp $ */
+/* $OpenBSD: cryptodev.c,v 1.14 2001/06/23 01:29:40 pvalchev Exp $ */
/*
* Copyright (c) 2001 Theo de Raadt
@@ -279,7 +279,7 @@ crypto_op(struct csession *cse, struct crypt_op *cop, struct proc *p)
struct cryptodesc *crde = NULL, *crda = NULL;
int i, error;
- if (cop->len > 64*1024-4) /* XXX -4 because of hifn bug */
+ if (cop->len > 256*1024-4)
return (E2BIG);
if (cse->txform && (cop->len % cse->txform->blocksize) != 0)