diff --git a/docs/constants_8h.html b/docs/constants_8h.html index d7437df..9cc7d8f 100644 --- a/docs/constants_8h.html +++ b/docs/constants_8h.html @@ -90,8 +90,10 @@ - + + + @@ -147,12 +149,27 @@

Macros

#define CECIES_VERSION   210
#define CECIES_VERSION   212
 
#define CECIES_VERSION_STR   "2.1.2"
 
#define CECIES_X25519_KEY_SIZE   32
 
#define CECIES_X448_KEY_SIZE   56
- +
#define CECIES_VERSION   210#define CECIES_VERSION   212

The version number of this CECIES implementation.

+
+ +
+

◆ CECIES_VERSION_STR

+ +
+
+ + + + +
#define CECIES_VERSION_STR   "2.1.2"
+
+

The version number of this CECIES implementation (nicely-formatted string).

+
diff --git a/docs/constants_8h_source.html b/docs/constants_8h_source.html index 23dc349..5a10b86 100644 --- a/docs/constants_8h_source.html +++ b/docs/constants_8h_source.html @@ -92,48 +92,45 @@
27 extern "C" {
28 #endif
29 
-
33 #define CECIES_VERSION 210
+
33 #define CECIES_VERSION 212
34 
-
38 #define CECIES_X25519_KEY_SIZE 32
+
38 #define CECIES_VERSION_STR "2.1.2"
39 
-
43 #define CECIES_X448_KEY_SIZE 56
+
43 #define CECIES_X25519_KEY_SIZE 32
44 
-
45 /*
-
46  * Some error codes:
-
47  */
-
48 
-
49 #define CECIES_ENCRYPT_ERROR_CODE_NULL_ARG 1000
-
50 #define CECIES_ENCRYPT_ERROR_CODE_INVALID_ARG 1001
-
51 #define CECIES_ENCRYPT_ERROR_CODE_INSUFFICIENT_OUTPUT_BUFFER_SIZE 1002
-
52 #define CECIES_ENCRYPT_ERROR_CODE_OUT_OF_MEMORY 1003
+
48 #define CECIES_X448_KEY_SIZE 56
+
49 
+
50 /*
+
51  * Some error codes:
+
52  */
53 
-
54 #define CECIES_DECRYPT_ERROR_CODE_NULL_ARG 2000
-
55 #define CECIES_DECRYPT_ERROR_CODE_INVALID_ARG 2001
-
56 #define CECIES_DECRYPT_ERROR_CODE_INSUFFICIENT_OUTPUT_BUFFER_SIZE 2002
-
57 #define CECIES_DECRYPT_ERROR_CODE_OUT_OF_MEMORY 2003
+
54 #define CECIES_ENCRYPT_ERROR_CODE_NULL_ARG 1000
+
55 #define CECIES_ENCRYPT_ERROR_CODE_INVALID_ARG 1001
+
56 #define CECIES_ENCRYPT_ERROR_CODE_INSUFFICIENT_OUTPUT_BUFFER_SIZE 1002
+
57 #define CECIES_ENCRYPT_ERROR_CODE_OUT_OF_MEMORY 1003
58 
-
59 #define CECIES_KEYGEN_ERROR_CODE_NULL_ARG 7000
-
60 #define CECIES_KEYGEN_ERROR_CODE_INVALID_ARG 7001
-
61 
-
65 static const unsigned char empty32[32] = {
-
66  //
-
67  0x00, 0x00, 0x00, 0x00, //
-
68  0x00, 0x00, 0x00, 0x00, //
-
69  0x00, 0x00, 0x00, 0x00, //
-
70  0x00, 0x00, 0x00, 0x00, //
-
71  0x00, 0x00, 0x00, 0x00, //
+
59 #define CECIES_DECRYPT_ERROR_CODE_NULL_ARG 2000
+
60 #define CECIES_DECRYPT_ERROR_CODE_INVALID_ARG 2001
+
61 #define CECIES_DECRYPT_ERROR_CODE_INSUFFICIENT_OUTPUT_BUFFER_SIZE 2002
+
62 #define CECIES_DECRYPT_ERROR_CODE_OUT_OF_MEMORY 2003
+
63 
+
64 #define CECIES_KEYGEN_ERROR_CODE_NULL_ARG 7000
+
65 #define CECIES_KEYGEN_ERROR_CODE_INVALID_ARG 7001
+
66 
+
70 static const unsigned char empty32[32] = {
+
71  //
72  0x00, 0x00, 0x00, 0x00, //
73  0x00, 0x00, 0x00, 0x00, //
74  0x00, 0x00, 0x00, 0x00, //
-
75 };
-
76 
-
80 static const unsigned char empty64[64] = {
-
81  //
-
82  0x00, 0x00, 0x00, 0x00, //
-
83  0x00, 0x00, 0x00, 0x00, //
-
84  0x00, 0x00, 0x00, 0x00, //
-
85  0x00, 0x00, 0x00, 0x00, //
-
86  0x00, 0x00, 0x00, 0x00, //
+
75  0x00, 0x00, 0x00, 0x00, //
+
76  0x00, 0x00, 0x00, 0x00, //
+
77  0x00, 0x00, 0x00, 0x00, //
+
78  0x00, 0x00, 0x00, 0x00, //
+
79  0x00, 0x00, 0x00, 0x00, //
+
80 };
+
81 
+
85 static const unsigned char empty64[64] = {
+
86  //
87  0x00, 0x00, 0x00, 0x00, //
88  0x00, 0x00, 0x00, 0x00, //
89  0x00, 0x00, 0x00, 0x00, //
@@ -145,15 +142,15 @@
95  0x00, 0x00, 0x00, 0x00, //
96  0x00, 0x00, 0x00, 0x00, //
97  0x00, 0x00, 0x00, 0x00, //
-
98 };
-
99 
-
103 static const unsigned char empty256[256] = {
-
104  //
-
105  0x00, 0x00, 0x00, 0x00, //
-
106  0x00, 0x00, 0x00, 0x00, //
-
107  0x00, 0x00, 0x00, 0x00, //
-
108  0x00, 0x00, 0x00, 0x00, //
-
109  0x00, 0x00, 0x00, 0x00, //
+
98  0x00, 0x00, 0x00, 0x00, //
+
99  0x00, 0x00, 0x00, 0x00, //
+
100  0x00, 0x00, 0x00, 0x00, //
+
101  0x00, 0x00, 0x00, 0x00, //
+
102  0x00, 0x00, 0x00, 0x00, //
+
103 };
+
104 
+
108 static const unsigned char empty256[256] = {
+
109  //
110  0x00, 0x00, 0x00, 0x00, //
111  0x00, 0x00, 0x00, 0x00, //
112  0x00, 0x00, 0x00, 0x00, //
@@ -213,17 +210,22 @@
166  0x00, 0x00, 0x00, 0x00, //
167  0x00, 0x00, 0x00, 0x00, //
168  0x00, 0x00, 0x00, 0x00, //
-
169 };
-
170 
-
171 #ifdef __cplusplus
-
172 } // extern "C"
-
173 #endif
-
174 
-
175 #endif // CECIES_CONSTANTS_H
+
169  0x00, 0x00, 0x00, 0x00, //
+
170  0x00, 0x00, 0x00, 0x00, //
+
171  0x00, 0x00, 0x00, 0x00, //
+
172  0x00, 0x00, 0x00, 0x00, //
+
173  0x00, 0x00, 0x00, 0x00, //
+
174 };
+
175 
+
176 #ifdef __cplusplus
+
177 } // extern "C"
+
178 #endif
+
179 
+
180 #endif // CECIES_CONSTANTS_H
-
empty256
static const unsigned char empty256[256]
Definition: constants.h:103
-
empty32
static const unsigned char empty32[32]
Definition: constants.h:65
-
empty64
static const unsigned char empty64[64]
Definition: constants.h:80
+
empty256
static const unsigned char empty256[256]
Definition: constants.h:108
+
empty32
static const unsigned char empty32[32]
Definition: constants.h:70
+
empty64
static const unsigned char empty64[64]
Definition: constants.h:85