aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlloyd <[email protected]>2008-09-30 22:49:58 +0000
committerlloyd <[email protected]>2008-09-30 22:49:58 +0000
commit2887d3ab9957753a5c9d862efe8d61202b970bb4 (patch)
treeea5c850057a647b68a20e74e452ceb60dbb76d7e
parent37661c5887da26bed48f5844c704a9b827bd7204 (diff)
Move ECC domain parameters to their own module (ec_dompar). Eventually ecdsa
will be split up into ecdsa and eckaeg, however they are pretty stuck together at the moment so I'm leaving them like that until I can get the time to really dig into that code.
-rw-r--r--src/pk/ec_dompar/ec_dompar.cpp (renamed from src/pk/ecdsa/ec_dompar.cpp)0
-rw-r--r--src/pk/ec_dompar/ec_dompar.h (renamed from src/pk/ecdsa/ec_dompar.h)0
-rw-r--r--src/pk/ec_dompar/info.txt17
-rw-r--r--src/pk/ecdsa/info.txt5
4 files changed, 19 insertions, 3 deletions
diff --git a/src/pk/ecdsa/ec_dompar.cpp b/src/pk/ec_dompar/ec_dompar.cpp
index 232233669..232233669 100644
--- a/src/pk/ecdsa/ec_dompar.cpp
+++ b/src/pk/ec_dompar/ec_dompar.cpp
diff --git a/src/pk/ecdsa/ec_dompar.h b/src/pk/ec_dompar/ec_dompar.h
index 8f9cc77d9..8f9cc77d9 100644
--- a/src/pk/ecdsa/ec_dompar.h
+++ b/src/pk/ec_dompar/ec_dompar.h
diff --git a/src/pk/ec_dompar/info.txt b/src/pk/ec_dompar/info.txt
new file mode 100644
index 000000000..44bc35799
--- /dev/null
+++ b/src/pk/ec_dompar/info.txt
@@ -0,0 +1,17 @@
+realname "ECC Domain Parameters"
+
+define ECC_DOMAIN_PARAMATERS
+
+load_on request
+
+<add>
+ec_dompar.cpp
+ec_dompar.h
+</add>
+
+<requires>
+asn1
+bigint
+numbertheory
+gfpmath
+</requires>
diff --git a/src/pk/ecdsa/info.txt b/src/pk/ecdsa/info.txt
index 860e7c1df..0695e9125 100644
--- a/src/pk/ecdsa/info.txt
+++ b/src/pk/ecdsa/info.txt
@@ -1,4 +1,4 @@
-realname "ECDSA"
+realname "ECDSA/ECKAEG"
define ECDSA
@@ -7,8 +7,6 @@ load_on request
<add>
ec.cpp
ec.h
-ec_dompar.cpp
-ec_dompar.h
ecdsa.cpp
ecdsa.h
</add>
@@ -16,6 +14,7 @@ ecdsa.h
<requires>
asn1
bigint
+ec_dompar
numbertheory
gfpmath
pubkey