svn commit: r238115 - head/sys/geom/eli

Pawel Jakub Dawidek pjd at FreeBSD.org
Wed Jul 4 17:44:40 UTC 2012


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);


More information about the svn-src-head mailing list