g13: First chunk of code to support dm-crypt.
authorWerner Koch <wk@gnupg.org>
Wed, 21 Oct 2015 06:38:10 +0000 (08:38 +0200)
committerWerner Koch <wk@gnupg.org>
Sat, 13 Feb 2016 16:06:38 +0000 (17:06 +0100)
commit81494fd30d3815502247a721f50d9eadf86a73fa
tree5bb17e6db5ffcbbfd0d28dc3379038683b78468f
parentd711f5c7697cd4bc5dc6d9fd01706cabc771dad2
g13: First chunk of code to support dm-crypt.

* g13/call-syshelp.c, g13/call-syshelp.h: New.
* g13/g13-syshelp.c, g13/g13-syshelp.h: New.
* g13/sh-cmd.c: New.
* g13/sh-blockdev.c: New.
* g13/sh-exectool.c: New.
* g13/sh-dmcrypt.c: New.
* g13/Makefile.am (sbin_PROGRAMS): Add g13-syshelp.c
(g13_syshelp_SOURCES): New.
(g13_syshelp_LDADD): New.

* g13/g13.c (opts): Add option --type.
(g13_deinit_default_ctrl): New.
(main): Implement that option.  Call g13_deinit_default_ctrl.
* g13/g13.h (struct call_syshelp_s): New declaration.
(server_control_s): Add field syshelp_local.
* g13/keyblob.h (KEYBLOB_TAG_CREATED): New.
(KEYBLOB_TAG_ALGOSTR): New.
(KEYBLOB_TAG_HDRCOPY): New.
* g13/backend.c (be_parse_conttype_name): New.
(be_get_detached_name): Add CONTTYPE_DM_CRYPT.

Signed-off-by: Werner Koch <wk@gnupg.org>
14 files changed:
g13/Makefile.am
g13/backend.c
g13/backend.h
g13/call-syshelp.c [new file with mode: 0644]
g13/call-syshelp.h [new file with mode: 0644]
g13/g13-syshelp.c [new file with mode: 0644]
g13/g13-syshelp.h [new file with mode: 0644]
g13/g13.c
g13/g13.h
g13/keyblob.h
g13/sh-blockdev.c [new file with mode: 0644]
g13/sh-cmd.c [new file with mode: 0644]
g13/sh-dmcrypt.c [new file with mode: 0644]
g13/sh-exectool.c [new file with mode: 0644]