Take the 2-minute tour ×
Cryptography Stack Exchange is a question and answer site for software developers, mathematicians and others interested in cryptography. It's 100% free, no registration required.

We are using the encryption built into Solaris 11 ZFS, which offers the choice between CCM (CBC counter mode) and GCM (Galois counter mode). What are the pros and cons of choosing each of these cipher modes?

share|improve this question
    
GCM might be a bit faster(depends on CPU), but I don't like it. It feels very fragile. –  CodesInChaos Mar 27 '13 at 12:03
1  
@CodesInChaos: why do you think GCM "feels very fragile"? My chief reservation about it is that it is not widely implemented yet, and that makes it next to impossible to use in some contexts (e.g. Java Card Classic). –  fgrieu Mar 27 '13 at 14:08
1  
Unless you have any special requirements, either would be fine. Both modes are approved by NIST. Personally I prefer the design of GCM. It's a bit more modern than CCM (EAX mode was proposed as a replacement for CCM). More specs on GCM here, and CCM here. –  hunter Mar 27 '13 at 14:51
    
As Hunter says, can you not use EAX or one of the other storage-specific options? [ another reference] –  figlesquidge Dec 19 '13 at 14:56
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.