From 8b5b5f8c07a735e160efd2fa619f2d5b2ee7ea6b Mon Sep 17 00:00:00 2001 From: Nikos Mavrogiannopoulos Date: Thu, 10 Nov 2011 22:13:12 +0100 Subject: Corrected ECC key generation. --- lib/crypto-backend.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'lib/crypto-backend.h') 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. -- cgit v1.2.1