cecies
Macros
constants.h File Reference

CECIES constants. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define CECIES_VERSION   401
 
#define CECIES_VERSION_STR   "4.0.1"
 
#define CECIES_X25519_KEY_SIZE   32
 
#define CECIES_X448_KEY_SIZE   56
 
#define CECIES_ENCRYPT_ERROR_CODE_NULL_ARG   1000
 
#define CECIES_ENCRYPT_ERROR_CODE_INVALID_ARG   1001
 
#define CECIES_ENCRYPT_ERROR_CODE_INSUFFICIENT_OUTPUT_BUFFER_SIZE   1002
 
#define CECIES_ENCRYPT_ERROR_CODE_OUT_OF_MEMORY   1003
 
#define CECIES_ENCRYPT_ERROR_CODE_COMPRESSION_FAILED   1004
 
#define CECIES_DECRYPT_ERROR_CODE_NULL_ARG   2000
 
#define CECIES_DECRYPT_ERROR_CODE_INVALID_ARG   2001
 
#define CECIES_DECRYPT_ERROR_CODE_INSUFFICIENT_OUTPUT_BUFFER_SIZE   2002
 
#define CECIES_DECRYPT_ERROR_CODE_OUT_OF_MEMORY   2003
 
#define CECIES_KEYGEN_ERROR_CODE_NULL_ARG   7000
 
#define CECIES_KEYGEN_ERROR_CODE_INVALID_ARG   7001
 

Detailed Description

CECIES constants.

Author
Raphael Beck

Macro Definition Documentation

◆ CECIES_VERSION

#define CECIES_VERSION   401

The version number of this CECIES implementation. TODO: increase this and below string version accordingly BEFORE releasing new updates!

◆ CECIES_VERSION_STR

#define CECIES_VERSION_STR   "4.0.1"

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

◆ CECIES_X25519_KEY_SIZE

#define CECIES_X25519_KEY_SIZE   32

Key size (in bytes) of an X25519 key (both public and private key have the same length).

◆ CECIES_X448_KEY_SIZE

#define CECIES_X448_KEY_SIZE   56

Key size (in bytes) of an X448 key (both public and private key have the same length).