CryptoDit/error.h
2026-01-31 16:45:53 +01:00

17 lines
399 B
C

#ifndef H_ERROR
#define H_ERROR
/* Define all Common errors */
#define COMMON_ERR_MALLOC 0x100
/* Define all FIPS errors */
#define FIPS_ERR_LOAD_KEY 0x200
#define FIPS_ERR_NEW_BIO 0x201
#define FIPS_ERR_READ_BIO 0x202
#define FIPS_ERR_LOAD_RSA_KEY 0x203
#define FIPS_ERR_LOAD_RSA_PRIV_KEY 0x204
#define FIPS_ERR_LOAD_X509 0x205
#endif