git: dm_target_crypt - cleanup & minor improvements

Alex Hornung alexh at crater.dragonflybsd.org
Fri Jul 23 11:19:18 PDT 2010


commit ff3e567544ed66dab5651dc333932841805c18d0
Author: Alex Hornung <ahornung at gmail.com>
Date:   Sun Jul 18 09:13:25 2010 +0100

    dm_target_crypt - cleanup & minor improvements
    
    * Overwrite memory used for keys, essiv hash and other private data when
      destroying a crypt target.
    
    * Rename the static functions so it's easier to see what they do,
      without the huge dm_target_crypt prefix.
    
    * Rename dm_target_crypt_work to _crypto_start to clearly indicate that
      the crypto operations are split phase.
    
    * Explicitly convert the sector number used for the iv generators to
      little endian for future compatibility.
    
    Big-Thanks-to: Aggelos Economopoulos

Summary of changes:
 sys/dev/disk/dm/dm_target_crypt.c |   54 ++++++++++++++++++++++---------------
 1 files changed, 32 insertions(+), 22 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/ff3e567544ed66dab5651dc333932841805c18d0


-- 
DragonFly BSD source repository





More information about the Commits mailing list