summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2010-07-20 13:54:20 +0000
committerMatt Johnston <matt@ucc.asn.au>2010-07-20 13:54:20 +0000
commita8c28714cddd45cdaadcce2fef5cb0325500b33f (patch)
tree1155bbdef0b42b93391ebef28403d8a3f5d6560d
parenteabfd803c92dfe202f282634c011c6bfff3da047 (diff)
Comment public/private parts
--HG-- extra : convert_revision : 914cbb822f488fa5d17affdad01fcc7dae6006b1
-rw-r--r--dss.h1
-rw-r--r--rsa.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/dss.h b/dss.h
index 0b69256..99a34ef 100644
--- a/dss.h
+++ b/dss.h
@@ -38,6 +38,7 @@ struct DSS_key {
mp_int* q;
mp_int* g;
mp_int* y;
+ /* x is the private part */
mp_int* x;
};
diff --git a/rsa.h b/rsa.h
index 545ba9b..4b9f390 100644
--- a/rsa.h
+++ b/rsa.h
@@ -36,6 +36,7 @@ struct RSA_key {
mp_int* n;
mp_int* e;
+ /* d, p, and q are private parts */
mp_int* d;
mp_int* p;
mp_int* q;