summaryrefslogtreecommitdiff
path: root/sys/dev/pci/ubsec.c
diff options
context:
space:
mode:
authorJason Wright <jason@cvs.openbsd.org>2002-04-26 05:06:04 +0000
committerJason Wright <jason@cvs.openbsd.org>2002-04-26 05:06:04 +0000
commit5a56489eaef687575237d927aa58858d19ece1c7 (patch)
tree6d33f200b5fb3ebf80cbd0e33b00a584aa02f1d0 /sys/dev/pci/ubsec.c
parentbb55709bdbaf263eac7b3cf9aa305d66f1be268b (diff)
1024 bit max
Diffstat (limited to 'sys/dev/pci/ubsec.c')
-rw-r--r--sys/dev/pci/ubsec.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/sys/dev/pci/ubsec.c b/sys/dev/pci/ubsec.c
index 7d7b7db8c6e..3eb1d461572 100644
--- a/sys/dev/pci/ubsec.c
+++ b/sys/dev/pci/ubsec.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ubsec.c,v 1.86 2002/04/26 04:24:17 jason Exp $ */
+/* $OpenBSD: ubsec.c,v 1.87 2002/04/26 05:06:03 jason Exp $ */
/*
* Copyright (c) 2000 Jason L. Wright (jason@thought.net)
@@ -1789,17 +1789,17 @@ ubsec_kprocess_modexp(sc, krp)
goto errout;
}
- if (ubsec_dma_malloc(sc, 2048 / 8, &me->me_M, 0)) {
+ if (ubsec_dma_malloc(sc, 1024 / 8, &me->me_M, 0)) {
err = ENOMEM;
goto errout;
}
- if (ubsec_dma_malloc(sc, 2048 / 8, &me->me_E, 0)) {
+ if (ubsec_dma_malloc(sc, 1024 / 8, &me->me_E, 0)) {
err = ENOMEM;
goto errout;
}
- if (ubsec_dma_malloc(sc, 2048 / 8, &me->me_C, 0)) {
+ if (ubsec_dma_malloc(sc, 1024 / 8, &me->me_C, 0)) {
err = ENOMEM;
goto errout;
}
@@ -1831,7 +1831,7 @@ ubsec_kprocess_modexp(sc, krp)
mcr->mcr_reserved = 0;
if (ubsec_kcopyin(&krp->krp_param[0], me->me_M.dma_vaddr,
- 2048 / 8, &len)) {
+ 1024 / 8, &len)) {
err = EOPNOTSUPP;
goto errout;
}
@@ -1850,7 +1850,7 @@ ubsec_kprocess_modexp(sc, krp)
ctx = (struct ubsec_ctx_modexp *)me->me_q.q_ctx.dma_vaddr;
bzero(ctx, sizeof(*ctx));
if (ubsec_kcopyin(&krp->krp_param[2], ctx->me_N,
- 2048 / 8, &len)) {
+ 1024 / 8, &len)) {
err = EOPNOTSUPP;
goto errout;
}