Author: pjd
Date: Wed Jul  4 17:44:39 2012
New Revision: 238115
URL: http://svn.freebsd.org/changeset/base/238115

Log:
  Correct comment.
  
  MFC after:    3 days

Modified:
  head/sys/geom/eli/g_eli_key_cache.c

Modified: head/sys/geom/eli/g_eli_key_cache.c
==============================================================================
--- head/sys/geom/eli/g_eli_key_cache.c Wed Jul  4 17:43:25 2012        
(r238114)
+++ head/sys/geom/eli/g_eli_key_cache.c Wed Jul  4 17:44:39 2012        
(r238115)
@@ -200,7 +200,7 @@ g_eli_key_init(struct g_eli_softc *sc)
                        bcopy(mkey, sc->sc_ekey, G_ELI_DATAKEYLEN);
                else {
                        /*
-                        * The encryption key is: ekey = 
HMAC_SHA512(Master-Key, 0x10)
+                        * The encryption key is: ekey = HMAC_SHA512(Data-Key, 
0x10)
                         */
                        g_eli_crypto_hmac(mkey, G_ELI_MAXKEYLEN, "\x10", 1,
                            sc->sc_ekey, 0);
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to