summaryrefslogtreecommitdiff
path: root/lib/includes/gnutls/gnutls.h.in
diff options
context:
space:
mode:
authorDmitry Eremin-Solenikov <dbaryshkov@gmail.com>2019-05-07 15:24:53 +0300
committerDmitry Eremin-Solenikov <dbaryshkov@gmail.com>2019-10-06 19:32:05 +0300
commit96fcde09cef9ca68b0d94d0498be3bfd8a609e2b (patch)
tree819a32bdce5f9786791259cc90c029f7fb7411b8 /lib/includes/gnutls/gnutls.h.in
parent73fc1e4b5f481ff6340a4dc37da4b18063bd8e98 (diff)
downloadgnutls-96fcde09cef9ca68b0d94d0498be3bfd8a609e2b.tar.gz
lib: define more GOST curves
Declare GOST curves from GOST R 34.10-2001 and GOST R 34.10-2012 (test curves) and GOST curves defined by TC26 itself. Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Diffstat (limited to 'lib/includes/gnutls/gnutls.h.in')
-rw-r--r--lib/includes/gnutls/gnutls.h.in12
1 files changed, 11 insertions, 1 deletions
diff --git a/lib/includes/gnutls/gnutls.h.in b/lib/includes/gnutls/gnutls.h.in
index 6b35c44342..b26aa004f7 100644
--- a/lib/includes/gnutls/gnutls.h.in
+++ b/lib/includes/gnutls/gnutls.h.in
@@ -986,6 +986,11 @@ typedef enum {
* @GNUTLS_ECC_CURVE_GOST256CPXB: GOST R 34.10 CryptoPro 256 XchB curve
* @GNUTLS_ECC_CURVE_GOST512A: GOST R 34.10 TC26 512 A curve
* @GNUTLS_ECC_CURVE_GOST512B: GOST R 34.10 TC26 512 B curve
+ * @GNUTLS_ECC_CURVE_GOST512C: GOST R 34.10 TC26 512 C curve
+ * @GNUTLS_ECC_CURVE_GOST256A: GOST R 34.10 TC26 256 A curve
+ * @GNUTLS_ECC_CURVE_GOST256B: GOST R 34.10 TC26 256 B curve
+ * @GNUTLS_ECC_CURVE_GOST256C: GOST R 34.10 TC26 256 C curve
+ * @GNUTLS_ECC_CURVE_GOST256D: GOST R 34.10 TC26 256 D curve
*
* Enumeration of ECC curves.
*/
@@ -1005,7 +1010,12 @@ typedef enum {
GNUTLS_ECC_CURVE_GOST256CPXB,
GNUTLS_ECC_CURVE_GOST512A,
GNUTLS_ECC_CURVE_GOST512B,
- GNUTLS_ECC_CURVE_MAX = GNUTLS_ECC_CURVE_GOST512B
+ GNUTLS_ECC_CURVE_GOST512C,
+ GNUTLS_ECC_CURVE_GOST256A,
+ GNUTLS_ECC_CURVE_GOST256B,
+ GNUTLS_ECC_CURVE_GOST256C,
+ GNUTLS_ECC_CURVE_GOST256D,
+ GNUTLS_ECC_CURVE_MAX = GNUTLS_ECC_CURVE_GOST256D
} gnutls_ecc_curve_t;
/**