libkate: Format - header packet type 0x84 - curves

# Format - header packet type 0x84 - curves

This header contains a (possibly empty) list of predefined curves that may be referred to by data packets. This header is mandatory, even if no curves are predefined.

As with all headers, the first 8 bytes are composed of the header type (0x84) and the 7 byte kate signature ("kate\0\0\0").

Next, we find a variable length integer, holding the number of predefined curves this header contains. A negative value is an error.

Next, we find a list of curve definitions, as many as defined int the previously read number.

Next, we find a warp.

Next, the data ends.