summaryrefslogtreecommitdiff
path: root/sys/crypto/cryptodev.h
diff options
context:
space:
mode:
authorAngelos D. Keromytis <angelos@cvs.openbsd.org>2001-06-25 17:35:48 +0000
committerAngelos D. Keromytis <angelos@cvs.openbsd.org>2001-06-25 17:35:48 +0000
commit31ff067ccc03f1e976a938b03963dc5c8a86bfa6 (patch)
treed0c80a48644d8e37ec2cb5c9abc71752422ef47d /sys/crypto/cryptodev.h
parent869e7858ac0526aac40cb503b478515eeb80b980 (diff)
Update comments.
Diffstat (limited to 'sys/crypto/cryptodev.h')
-rw-r--r--sys/crypto/cryptodev.h11
1 files changed, 5 insertions, 6 deletions
diff --git a/sys/crypto/cryptodev.h b/sys/crypto/cryptodev.h
index 7c31b8ea6a1..cbae99c577e 100644
--- a/sys/crypto/cryptodev.h
+++ b/sys/crypto/cryptodev.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: cryptodev.h,v 1.7 2001/06/24 22:11:02 angelos Exp $ */
+/* $OpenBSD: cryptodev.h,v 1.8 2001/06/25 17:35:47 angelos Exp $ */
/*
* The author of this code is Angelos D. Keromytis (angelos@cis.upenn.edu)
@@ -139,11 +139,10 @@ struct DH_buf {
caddr_t dh_priv_key; /*
* Buffer for private key the private key
* buffer is placed here because it can
- * be both an input and an output. If
- * CRD_F_RNG_NEEDED is set, then priv_key
- * is an input - otherwise it does not
- * have to be given and will be an output
- * after the public key generation.
+ * be both an input and an output. If this
+ * is left empty, the crypto framework or
+ * the underlying hardware will provide it for
+ * SEND. Must be present on RECEIVE.
*/
caddr_t dh_pub_key; /* SEND/RECEIVE - I/O buffer for public key */
caddr_t dh_ss_key; /* RECEIVE - output buffer for shared secret key */