Skip to content

Commit

Permalink
Correct comment.
Browse files Browse the repository at this point in the history
MFC after:	3 days
  • Loading branch information
pjd authored and pjd committed Jul 4, 2012
1 parent 7c1cf16 commit 25a4db9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sys/geom/eli/g_eli_key_cache.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 25a4db9

Please sign in to comment.