macro_rules! def_labels {
    ($l:ident) => { ... };
}
Expand description

Define domain separation labels for an LcEncoding trait implementation

Use this to conveniently define the LABEL_xx values for domain separation, e.g.:

impl LcEncoding for ... {
    ...

    def_labels!(my_encoding_name);

    ...
}

Note that the argument may only contain alphanumerics and underscores, and cannot be just an underscore (same rules as Rust identifiers).