]> sourceware.org Git - lvm2.git/commit - libdm/libdm-deptree.c
Support crypt segment in libdevmapper tree.
authorMilan Broz <mbroz@redhat.com>
Tue, 9 Jun 2009 16:10:20 +0000 (16:10 +0000)
committerMilan Broz <mbroz@redhat.com>
Tue, 9 Jun 2009 16:10:20 +0000 (16:10 +0000)
commit12ca060e9fa95f25ec917581efbaeda6b0ed6d98
tree1ee555cd7190f79424e88c397d3d07687fd0a8bc
parent33048414d4e081627fab7bbb69051550aaeb930a
Support crypt segment in libdevmapper tree.

- it can support multiple segments, but note that
to work properly, correct IV (initialization vector)
offset parameter must be set properly.

Because most usage of IV start offset is when we join
several crypto segments together (so iv_offset is the segment
start offset), DM_CRYPT_IV_DEFAULT is defined to simplify
the process.

Function accepts the string in cipher agrument (already
including chainmode and iv type; chainmode and iv parameters are NULL
in this case) or user can provide split parameters which will
join into dm-crypt cipher specification "cipher-chainmode-iv".

All these parameters must be supplied in correct dm-crypt format.
WHATS_NEW_DM
libdm/.exported_symbols
libdm/libdevmapper.h
libdm/libdm-deptree.c
This page took 0.029105 seconds and 5 git commands to generate.