X-Git-Url: https://git.distorted.org.uk/~mdw/secnet/blobdiff_plain/9c6a8729f6553615786878b382d4d44d2a54eec0..ceacd8902d6024c2f38c1cdf453ae3401aa00da1:/magic.h diff --git a/magic.h b/magic.h index 4fe83f3..38982de 100644 --- a/magic.h +++ b/magic.h @@ -35,33 +35,34 @@ #define LABEL_MSG9 0x09090909 #define LABEL_PROD 0x0a0a0a0a -/* uses of the 32-bit capability bitmap */ -#define CAPAB_EARLY 0x00000000 /* no Early flags yet (see NOTES) */ -#define CAPAB_TRANSFORM_MASK 0x0000ffff -/* remaining 16 bits are unused */ - /* - * The transform capability mask is a set of bits, one for each - * transform supported. The transform capability numbers are set in - * the configuration (and should correspond between the two sites), - * although there are sensible defaults. + * The capability mask is a set of bits, one for each optional feature + * supported. The capability numbers for transforms are set in the + * configuration (and should correspond between the two sites), although + * there are sensible defaults. * - * Advertising a nonzero transform capability mask promises that - * the receiver understands LABEL_MSG3BIS messages, which - * contain an additional byte specifying the transform capability - * number actually chosen by the MSG3 sender. + * Advertising a nonzero capability mask promises that the receiver + * understands LABEL_MSG3BIS messages, which contain an additional byte + * specifying the transform capability number actually chosen by the MSG3 + * sender. * * Aside from that, an empty bitmask is treated the same as - * 1u<