summaryrefslogtreecommitdiff
path: root/lib/crypto-backend.h
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2011-11-10 22:13:12 +0100
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2011-11-10 22:13:41 +0100
commit8b5b5f8c07a735e160efd2fa619f2d5b2ee7ea6b (patch)
tree6796eb8a50ab9f8e877c6e8e185f1fec7dd22ca1 /lib/crypto-backend.h
parent2c4c2351f7c39ee61b3e4eebdb848db9445a6e38 (diff)
downloadgnutls-8b5b5f8c07a735e160efd2fa619f2d5b2ee7ea6b.tar.gz
Corrected ECC key generation.
Diffstat (limited to 'lib/crypto-backend.h')
-rw-r--r--lib/crypto-backend.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/crypto-backend.h b/lib/crypto-backend.h
index 0a2002534a..389e025c67 100644
--- a/lib/crypto-backend.h
+++ b/lib/crypto-backend.h
@@ -245,6 +245,16 @@
* [8] is k (private key)
*/
+#define ECC_PRIME 0
+#define ECC_ORDER 1
+#define ECC_A 2
+#define ECC_B 3
+#define ECC_GX 4
+#define ECC_GY 5
+#define ECC_X 6
+#define ECC_Y 7
+#define ECC_K 8
+
/**
* gnutls_direction_t:
* @GNUTLS_IMPORT: Import direction.