Skip to content

Commit

Permalink
Mode changed
Browse files Browse the repository at this point in the history
  • Loading branch information
Maxim Radugin committed Sep 5, 2013
1 parent 1ddca5c commit ccda71a
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 3 deletions.
19 changes: 16 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,17 @@
dmcryptfile
===========
Encrypts/decrypts file in dm-crypt compatible way, using kernel crypto API.
Copyright (c) 2013 Maxim Radugin.

Usage: dmcryptfile <arguments>

This utility is designed to encrypt disk/partition image files in userspace
without root priviledges and without using device mapper and cryptsetup.
Currently supports only plain mode, no LUKS support!
Backend code is taken from cryptsetup.
Input key size should be of desired cipher key size.
Key is passed directly to the cipher algorithm, no hashing or any other
processing is performed. It is up to the user to provide strong key.
For available ciphers, chain modes and key sizes check /proc/crypto.
Only plain IV mode is supported.
Input file size must be multiple of sector size i.e. 512 bytes.
If input file is not multiple of sector size, output will be truncated.

Encrypts/decrypts file in plain dm-crypt compatible way, using kernel crypto API.
Empty file modified crypto_backend.h
100755 → 100644
Empty file.
Empty file modified crypto_kernel.c
100755 → 100644
Empty file.
Empty file modified dmcryptfile.c
100755 → 100644
Empty file.

0 comments on commit ccda71a

Please sign in to comment.