New answers tagged gcm
2
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 ...
1
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
2
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 ...
Top 50 recent answers are included
