On Wednesday, August 21, 2013 2:24:52 AM UTC+2, Jeffrey Walton wrote: > On Monday, August 19, 2013 1:50:54 PM UTC-4, Gregor Pintar wrote: >> >> I'm little confused. >> >> Is constant for 256-bit block size in CMAC: >> http://www.cryptopp.com/docs/ref/cmac_8cpp_source.html really correct? >> > Yes, it appears correct. > > Crypto++ self tests include RFC 4493 vectors. See > http://sourceforge.net/p/cryptopp/code/541/tree/trunk/c5/TestVectors/cmac.txt > . > > Running NIST test vectors from SP 800-38B (Example 9 - 12) were also OK. > > What problems are you experiencing? > Tests cover only 64-bit and 128-bit block sizes.
Non-leading coefficients of polynomial 256, 10, 5, 2 (which is defined in http://csrc.nist.gov/groups/ST/toolkit/BCM/documents/proposedmodes/omac/omac-spec.pdf) is 0x425 and not 0x423. -- -- You received this message because you are subscribed to the "Crypto++ Users" Google Group. To unsubscribe, send an email to [email protected]. More information about Crypto++ and this group is available at http://www.cryptopp.com. --- You received this message because you are subscribed to the Google Groups "Crypto++ Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
