zfsrogue/spl-crypto — pull request #6 by lundman (2012-11-19 07:24:02+00:00)
Title:  spl-crypto rework.

Split sun-ctr out of sun-ccm to make own module,
Added sun-gcm cipher method (also uses sun-ctr).
Made ciphers to be configurable from commandline, and pick right cipher when
used.
Added testing (ensuring cipher exists) on creation, so it can fail cleanly
when sun-ccm module has not been loaded.
Added crypto_mac function, even though it has yet to be called.
Ensured keylen commandline changes work.