From b474b3ec4f599ea21eb95b88a053590903effe1f Mon Sep 17 00:00:00 2001 From: Peter Valchev Date: Sat, 23 Jun 2001 01:29:41 +0000 Subject: hifn now supports up to 256K --- sys/crypto/cryptodev.c | 4 ++-- 1 file 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) -- cgit v1.2.3