OMAC/CMAC only specifies constants for 64-bit
(0x1B) and 128-bit
(0x87) block size. I would like to know how to get constants for other block sizes.
http://en.wikipedia.org/wiki/CMAC says it "is the non-leading coefficients of the lexicographically first irreducible degree-b binary polynomial with the minimal number of ones.", but I'm not good at math and I don't know how to implement that.
So does anybody know how to implement that?