Go to the documentation of this file.
37#ifndef CECIES_CONSTANTS_H
38#define CECIES_CONSTANTS_H
48#define CECIES_VERSION 401
53#define CECIES_VERSION_STR "4.0.1"
58#define CECIES_X25519_KEY_SIZE 32
63#define CECIES_X448_KEY_SIZE 56
69#define CECIES_ENCRYPT_ERROR_CODE_NULL_ARG 1000
70#define CECIES_ENCRYPT_ERROR_CODE_INVALID_ARG 1001
71#define CECIES_ENCRYPT_ERROR_CODE_INSUFFICIENT_OUTPUT_BUFFER_SIZE 1002
72#define CECIES_ENCRYPT_ERROR_CODE_OUT_OF_MEMORY 1003
73#define CECIES_ENCRYPT_ERROR_CODE_COMPRESSION_FAILED 1004
75#define CECIES_DECRYPT_ERROR_CODE_NULL_ARG 2000
76#define CECIES_DECRYPT_ERROR_CODE_INVALID_ARG 2001
77#define CECIES_DECRYPT_ERROR_CODE_INSUFFICIENT_OUTPUT_BUFFER_SIZE 2002
78#define CECIES_DECRYPT_ERROR_CODE_OUT_OF_MEMORY 2003
80#define CECIES_KEYGEN_ERROR_CODE_NULL_ARG 7000
81#define CECIES_KEYGEN_ERROR_CODE_INVALID_ARG 7001