summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorSimon Josefsson <simon@josefsson.org>2007-02-05 10:03:27 +0000
committerSimon Josefsson <simon@josefsson.org>2007-02-05 10:03:27 +0000
commit924b6abe3e72ddba84de3997ee1a710735a0e44a (patch)
treeab391e9be325d58b474a6b69f59ed6ff3616cdad /includes
parent61eb9069204fe282ff1d479b28a4396cd7fd3589 (diff)
downloadgnutls-924b6abe3e72ddba84de3997ee1a710735a0e44a.tar.gz
Enum types for SHA-256/384/512.
Diffstat (limited to 'includes')
-rw-r--r--includes/gnutls/gnutls.h.in17
1 files changed, 13 insertions, 4 deletions
diff --git a/includes/gnutls/gnutls.h.in b/includes/gnutls/gnutls.h.in
index 310cd8ce96..b267055c5b 100644
--- a/includes/gnutls/gnutls.h.in
+++ b/includes/gnutls/gnutls.h.in
@@ -1,5 +1,5 @@
/* -*- c -*-
- * Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation
+ * Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007 Free Software Foundation
*
* Author: Nikos Mavroyanopoulos
*
@@ -118,7 +118,10 @@ extern "C"
GNUTLS_MAC_MD5,
GNUTLS_MAC_SHA1,
GNUTLS_MAC_RMD160,
- GNUTLS_MAC_MD2
+ GNUTLS_MAC_MD2,
+ GNUTLS_MAC_SHA256,
+ GNUTLS_MAC_SHA384,
+ GNUTLS_MAC_SHA512
} gnutls_mac_algorithm_t;
/* The enumerations here should have the same value with
@@ -130,7 +133,10 @@ extern "C"
GNUTLS_DIG_MD5 = GNUTLS_MAC_MD5,
GNUTLS_DIG_SHA1 = GNUTLS_MAC_SHA1,
GNUTLS_DIG_RMD160 = GNUTLS_MAC_RMD160,
- GNUTLS_DIG_MD2 = GNUTLS_MAC_MD2
+ GNUTLS_DIG_MD2 = GNUTLS_MAC_MD2,
+ GNUTLS_DIG_SHA256 = GNUTLS_MAC_SHA256,
+ GNUTLS_DIG_SHA384 = GNUTLS_MAC_SHA384,
+ GNUTLS_DIG_SHA512 = GNUTLS_MAC_SHA512
} gnutls_digest_algorithm_t;
/* exported for other gnutls headers. This is the maximum number of
@@ -286,7 +292,10 @@ extern "C"
GNUTLS_SIGN_DSA_SHA1,
GNUTLS_SIGN_RSA_MD5,
GNUTLS_SIGN_RSA_MD2,
- GNUTLS_SIGN_RSA_RMD160
+ GNUTLS_SIGN_RSA_RMD160,
+ GNUTLS_SIGN_RSA_SHA256,
+ GNUTLS_SIGN_RSA_SHA384,
+ GNUTLS_SIGN_RSA_SHA512
} gnutls_sign_algorithm_t;
const char *gnutls_sign_algorithm_get_name (gnutls_sign_algorithm_t