X-Git-Url: https://git.distorted.org.uk/~mdw/secnet/blobdiff_plain/088f80a16f384041909c6df6c5fbc98c0d76427f..9c6af4eca6bfb7bed6f86b1f32479f933979c080:/magic.h diff --git a/magic.h b/magic.h index 15d8498..9c071c0 100644 --- a/magic.h +++ b/magic.h @@ -75,6 +75,7 @@ #define LABEL_MSG2 MSGCODE( 2, 0) #define LABEL_MSG3 MSGCODE( 3, 0) #define LABEL_MSG3BIS MSGCODE( 3, 1) +#define LABEL_MSG3TER MSGCODE( 3, 2) #define LABEL_MSG4 MSGCODE( 4, 0) #define LABEL_MSG5 MSGCODE( 5, 0) #define LABEL_MSG6 MSGCODE( 6, 0) @@ -99,7 +100,8 @@ */ /* uses of the 32-bit capability bitmap */ -#define CAPAB_TRANSFORM_MASK 0x0000ffff +#define CAPAB_INEXPLICIT_TRANSFORM_MASK 0x0000ffff /* DH group implicit */ +#define CAPAB_EXPLICIT_TRANSFORM_DH 0x00008000 /* Explicit xform and DH */ #define CAPAB_PRIORITY_MOBILE 0x80000000 /* mobile site has MSG1 priority */ /* remaining bits are unused */ @@ -108,7 +110,9 @@ #define CAPAB_BIT_USER_MAX 7 #define CAPAB_BIT_SERPENT256CBC 8 #define CAPAB_BIT_EAXSERPENT 9 -#define CAPAB_BIT_MAX 15 +#define CAPAB_BIT_TRADZP 10 +#define CAPAB_BIT_EXPLICIT_TRANSFORM_DH 15 +#define CAPAB_BIT_MAX 31 #define CAPAB_BIT_ANCIENTTRANSFORM CAPAB_BIT_SERPENT256CBC