Hot answers tagged gcm
To answer your question: yes, GMAC does have niche applications where it performs better than either HMAC or CMAC; however it might not make sense for you. First of all, you are correct in that GMAC requires an IV, and bad things happen if a particular IV value is reused; this rather rules out GMAC for some applications, and is a cost even for applications ...
Regarding GCM mode and the uniqueness of the nonce, it should be noted that EAX mode and OCB mode also require unique nonces. One potential problem EAX mode has, which neither GCM or CCM have, is that it is hard to implement it in such way that you can guarantee that the probability of nonce collisions is zero; only that it is acceptably low. OCB mode has ...
A simple precision in addition to previous answers & comments about GCM vs CCM : NIST has published a mode dedicated to storage encryption REf : The XTS-AES Mode for Confidentiality on Storage Devices - NIST SP800-38E If this can eventually be useful for your specific need
Only top voted, non community-wiki answers of a minimum length are eligible