logn top-level constant

Map<int, int> const logn

log2(n) per parameter set, used in the signature header byte (0x30 + logn).

Implementation

const Map<int, int> logn = {
  2: 1,
  4: 2,
  8: 3,
  16: 4,
  32: 5,
  64: 6,
  128: 7,
  256: 8,
  512: 9,
  1024: 10,
};