APU ERROR VALUES
APR_ENOKEY The key provided was empty or NULL
APR_ENOIV The initialisation vector provided was NULL
APR_EKEYTYPE The key type was not recognised
APR_ENOSPACE The buffer supplied was not big enough
APR_ECRYPT An error occurred while encrypting or decrypting
APR_EPADDING Padding was not supported
APR_EKEYLENGTH The key length was incorrect
APR_ENOCIPHER The cipher provided was not recognised
APR_ENODIGEST The digest provided was not recognised
APR_ENOENGINE The engine provided was not recognised
APR_EINITENGINE The engine could not be initialised
APR_EREINIT Underlying crypto has already been initialised
APR STATUS VALUES
APR_INCHILD Program is currently executing in the child
#define APR_ECRYPT (APR_UTIL_START_STATUS + 5) |
#define APR_EINITENGINE (APR_UTIL_START_STATUS + 11) |
#define APR_EKEYLENGTH (APR_UTIL_START_STATUS + 7) |
#define APR_EKEYTYPE (APR_UTIL_START_STATUS + 3) |
#define APR_ENOCIPHER (APR_UTIL_START_STATUS + 8) |
#define APR_ENODIGEST (APR_UTIL_START_STATUS + 9) |
#define APR_ENOENGINE (APR_UTIL_START_STATUS + 10) |
#define APR_ENOIV (APR_UTIL_START_STATUS + 2) |
#define APR_ENOKEY (APR_UTIL_START_STATUS + 1) |
#define APR_ENOSPACE (APR_UTIL_START_STATUS + 4) |
#define APR_EPADDING (APR_UTIL_START_STATUS + 6) |
#define APR_EREINIT (APR_UTIL_START_STATUS + 12) |
#define APR_STATUS_IS_ECRYPT |
( |
|
s | ) |
((s) == APR_ECRYPT) |
An error occurred while encrypting or decrypting
The engine could not be initialised
An error occurred with the key length
The key type was not recognised
The cipher provided was not recognised
The digest provided was not recognised
The engine provided was not recognised
#define APR_STATUS_IS_ENOIV |
( |
|
s | ) |
((s) == APR_ENOIV) |
The initialisation vector was not provided
#define APR_STATUS_IS_ENOKEY |
( |
|
s | ) |
((s) == APR_ENOKEY) |
The key was empty or not provided
The buffer provided was not big enough
An error occurred while padding
#define APR_STATUS_IS_EREINIT |
( |
|
s | ) |
((s) == APR_EREINIT) |
Crypto has already been initialised