transform: Move internal identifiers out of private range
Avoid any conflicts if implementations use transform types in the private range. Also removed the unused UNKNOWN_TRANSFORM_TYPE identifier.
This commit is contained in:
@@ -29,17 +29,16 @@ typedef enum transform_type_t transform_type_t;
|
||||
* Type of a transform, as in IKEv2 RFC 3.3.2.
|
||||
*/
|
||||
enum transform_type_t {
|
||||
UNDEFINED_TRANSFORM_TYPE = 241,
|
||||
HASH_ALGORITHM = 242,
|
||||
RANDOM_NUMBER_GENERATOR = 243,
|
||||
AEAD_ALGORITHM = 244,
|
||||
COMPRESSION_ALGORITHM = 245,
|
||||
EXTENDED_OUTPUT_FUNCTION = 246,
|
||||
ENCRYPTION_ALGORITHM = 1,
|
||||
PSEUDO_RANDOM_FUNCTION = 2,
|
||||
INTEGRITY_ALGORITHM = 3,
|
||||
DIFFIE_HELLMAN_GROUP = 4,
|
||||
EXTENDED_SEQUENCE_NUMBERS = 5
|
||||
EXTENDED_SEQUENCE_NUMBERS = 5,
|
||||
HASH_ALGORITHM = 256,
|
||||
RANDOM_NUMBER_GENERATOR = 257,
|
||||
AEAD_ALGORITHM = 258,
|
||||
COMPRESSION_ALGORITHM = 259,
|
||||
EXTENDED_OUTPUT_FUNCTION = 260,
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user