git: dm - Add crypt target

Alex Hornung alexh at crater.dragonflybsd.org
Sun Jul 11 14:08:48 PDT 2010


commit dd9da8fe28e3cccfb997b96310c6797767c360d2
Author: Alex Hornung <ahornung at gmail.com>
Date:   Sun Jun 27 02:10:19 2010 +0100

    dm - Add crypt target
    
    * Add an initial crypt target. It's WIP, full of bugs, but is a general
      outline of how I want to approach the crypt target for dm.
    
    * As per Aggelos' recommendation, I'm using pbkdf2 and hmac sha from
      other crypto implementations instead of rolling my own, for good
      cryptography's sake :P

Summary of changes:
 sys/dev/disk/dm/Makefile          |    3 +-
 sys/dev/disk/dm/dm.h              |   10 +-
 sys/dev/disk/dm/dm_target.c       |   17 +-
 sys/dev/disk/dm/dm_target_crypt.c |  892 +++++++++++++++++++++++++++++++++++++
 4 files changed, 919 insertions(+), 3 deletions(-)
 create mode 100644 sys/dev/disk/dm/dm_target_crypt.c

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


-- 
DragonFly BSD source repository





More information about the Commits mailing list