cryptlib
3.4.1
|
Go to the source code of this file.
#define CRYPT_ARGERROR_NUM1 ( -1004 ) /* Error in first numeric arg */ |
#define CRYPT_ARGERROR_NUM2 ( -1005 ) /* Error in second numeric arg */ |
#define CRYPT_ARGERROR_OBJECT ( -1000 ) /* Error in object being sent msg.*/ |
#define CRYPT_ARGERROR_STR1 ( -1002 ) /* Error in first string arg */ |
#define CRYPT_ARGERROR_STR2 ( -1003 ) /* Error in second string arg */ |
#define cryptArgError | ( | status | ) | ( ( status ) >= CRYPT_ARGERROR_NUM2 && ( status ) <= CRYPT_ARGERROR_OBJECT ) |
#define cryptStandardError | ( | status | ) | ( ( status ) >= CRYPT_ENVELOPE_RESOURCE && ( status ) <= CRYPT_OK ) |
#define CURRENT_TIME_VALUE ( ( 2009 - 1970 ) * 365 * 86400L ) |
#define FAILSAFE_ARRAYSIZE | ( | array, | |
elementType | |||
) | ( ( sizeof( array ) / sizeof( elementType ) ) - 1 ) |
#define KEYUSAGE_CA |
#define KEYUSAGE_CRYPT ( CRYPT_KEYUSAGE_KEYENCIPHERMENT ) |
#define KEYUSAGE_KEYAGREEMENT |
#define KEYUSAGE_SIGN |
#define MAX_COMPLIANCE_LEVEL CRYPT_COMPLIANCELEVEL_STANDARD |
#define MAX_INTLENGTH ( INT_MAX - MAX_INTLENGTH_DELTA ) |
#define MAX_PKC_OBJECTSIZE ( CRYPT_MAX_PKCSIZE * 2 ) |
#define MAX_PKCENCRYPTED_SIZE CRYPT_MAX_PKCSIZE |
#define MAX_PKCSIZE_ECCPOINT ( 1 + ( CRYPT_MAX_PKCSIZE_ECC * 2 ) ) |
#define MAX_PRIVATE_KEYSIZE ( ( CRYPT_MAX_PKCSIZE * 8 ) + 256 ) |
#define MAX_URL_SIZE MAX_DNS_SIZE |
#define MAX_WORKING_KEYSIZE bitsToBytes( 256 ) |
#define MIN_KEYSIZE bitsToBytes( 64 ) |
#define MIN_PKCSIZE ( bitsToBytes( 1024 ) - 1 ) |
#define MIN_PKCSIZE_ECC ( bitsToBytes( 192 ) - 1 ) |
#define MIN_PKCSIZE_ECC_THRESHOLD ( bitsToBytes( 120 ) ) |
#define MIN_PKCSIZE_ECCPOINT ( 1 + ( MIN_PKCSIZE_ECC * 2 ) ) |
#define MIN_PKCSIZE_ECCPOINT_THRESHOLD ( 1 + ( MIN_PKCSIZE_ECC_THRESHOLD * 2 ) ) |
#define MIN_PKCSIZE_THRESHOLD ( bitsToBytes( 504 ) ) |
#define MIN_RFC822_SIZE 7 /* [email protected] */ |
#define MIN_STORED_TIME_VALUE ( ( 1995 - 1970 ) * 365 * 86400L ) |
enum KEYFORMAT_TYPE |