I had find a paper about VMAC algorithm:VMAC: Message Authentication Code using Universal Hashing.
Now I want to implement this algorithm, But i don't find test vectors about it.
Who can give some advise? Where can i find it's code ?
Cryptography Stack Exchange is a question and answer site for software developers, mathematicians and others interested in cryptography. It only takes a minute to sign up.
Sign up to join this communityI had find a paper about VMAC algorithm:VMAC: Message Authentication Code using Universal Hashing.
Now I want to implement this algorithm, But i don't find test vectors about it.
Who can give some advise? Where can i find it's code ?
VMAC was a joint work by Wei Dai and Ted Krovetz. It so happens that Wei Dai at that time was also actively working on his own cryptographic library (Crypto++), which of course also includes VMAC.
You can find the test vectors here and the optimized implementation here.
Two examples for VMAC-AES-128 are:
Key: "abcdefghijklmnop"
IV: "bcdefghi"
Message: ""
MAC: 472766C70F74ED23481D6D7DE4E80DAC
Message: "abc"
MAC: 4EE815A06A1D71EDD36FC75D51188A42