summaryrefslogtreecommitdiff
path: root/include/xmlsec/app.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/xmlsec/app.h')
-rw-r--r--include/xmlsec/app.h31
1 files changed, 26 insertions, 5 deletions
diff --git a/include/xmlsec/app.h b/include/xmlsec/app.h
index 7b8e510b..97f7d3db 100644
--- a/include/xmlsec/app.h
+++ b/include/xmlsec/app.h
@@ -1,4 +1,4 @@
-/**
+/*
* XML Security Library (http://www.aleksey.com/xmlsec).
*
*
@@ -16,10 +16,6 @@
#error To use dynamic crypto engines loading define XMLSEC_CRYPTO_DYNAMIC_LOADING
#endif /* !defined(IN_XMLSEC) && !defined(XMLSEC_CRYPTO_DYNAMIC_LOADING) */
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
#include <libxml/tree.h>
#include <libxml/xmlIO.h>
@@ -30,6 +26,10 @@ extern "C" {
#include <xmlsec/transforms.h>
#include <xmlsec/dl.h>
+#ifdef __cplusplus
+extern "C" {
+#endif /* __cplusplus */
+
/**********************************************************************
*
* Crypto Init/shutdown
@@ -162,6 +162,27 @@ XMLSEC_EXPORT xmlSecTransformId xmlSecTransformAes192CbcGetKlass
#define xmlSecTransformAes256CbcId xmlSecTransformAes256CbcGetKlass()
XMLSEC_EXPORT xmlSecTransformId xmlSecTransformAes256CbcGetKlass(void);
/**
+* xmlSecTransformAes128GcmId:
+*
+* The AES128 GCM cipher transform klass.
+*/
+#define xmlSecTransformAes128GcmId xmlSecTransformAes128GcmGetKlass()
+XMLSEC_EXPORT xmlSecTransformId xmlSecTransformAes128GcmGetKlass(void);
+/**
+* xmlSecTransformAes192GcmId:
+*
+* The AES192 GCM cipher transform klass.
+*/
+#define xmlSecTransformAes192GcmId xmlSecTransformAes192GcmGetKlass()
+XMLSEC_EXPORT xmlSecTransformId xmlSecTransformAes192GcmGetKlass(void);
+/**
+* xmlSecTransformAes256GcmId:
+*
+* The AES256 GCM cipher transform klass.
+*/
+#define xmlSecTransformAes256GcmId xmlSecTransformAes256GcmGetKlass()
+XMLSEC_EXPORT xmlSecTransformId xmlSecTransformAes256GcmGetKlass(void);
+/**
* xmlSecTransformKWAes128Id:
*
* The AES 128 key wrap transform klass.