summaryrefslogtreecommitdiff
path: root/sys/crypto/crypto.h
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2001-05-14 02:45:20 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2001-05-14 02:45:20 +0000
commitb78308743dc00df1326e4eb14a4183b8278db2e6 (patch)
treefaf7cf04770fed3c818633aa576e3880b8330f6d /sys/crypto/crypto.h
parentc21492bd5b932238f99aaff022d4e53eb00c8010 (diff)
use real uio
Diffstat (limited to 'sys/crypto/crypto.h')
-rw-r--r--sys/crypto/crypto.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/sys/crypto/crypto.h b/sys/crypto/crypto.h
index bcc5e56f563..fc3428ba45d 100644
--- a/sys/crypto/crypto.h
+++ b/sys/crypto/crypto.h
@@ -132,7 +132,7 @@ struct cryptop
caddr_t crp_iv;
caddr_t crp_mac;
- int crp_mac_trunc_len;
+ int crp_mac_trunc_len;
};
@@ -158,10 +158,12 @@ struct cryptocap
};
+#if 0
struct criov {
int niov;
struct iovec iov[IOV_MAX];
};
+#endif
#ifdef _KERNEL
extern int crypto_newsession(u_int64_t *, struct cryptoini *, int);
@@ -178,9 +180,9 @@ extern void crypto_done(struct cryptop *);
struct mbuf;
int mbuf2pages __P((struct mbuf *, int *, long *, int *, int, int *));
-int iov2pages __P((struct criov *, int *, long *, int *, int, int *));
-void criov_copydata __P((struct criov *, int, int, caddr_t));
-void criov_copyback __P((struct criov *, int, int, caddr_t));
+int iov2pages __P((struct uio *, int *, long *, int *, int, int *));
+void cuio_copydata __P((struct uio *, int, int, caddr_t));
+void cuio_copyback __P((struct uio *, int, int, caddr_t));
extern struct cryptop *crypto_getreq(int);
extern void crypto_freereq(struct cryptop *);