[dm-crypt] cryptsetup build question

Simpson, John R john_simpson at reyrey.com
Mon Jul 2 19:08:55 CEST 2012

I believe I've answered my own question.




John Simpson

From: dm-crypt-bounces at saout.de [mailto:dm-crypt-bounces at saout.de] On Behalf Of Simpson, John R
Sent: Monday, July 02, 2012 10:37 AM
To: dm-crypt at saout.de
Subject: [dm-crypt] cryptsetup build question

Greetings all,

    I've been tasked with adding support for a local passphrase system to cryptsetup.  The code works, but I'm having trouble determining where to add my C and header file to the cryptsetup build files (configure, configure.in, Makefile.in, Makefile.am, etc.).  My module needs to be compiled and linked in the same way that lib/setup.c, lib/utils.c, etc. are compiled and linked.  We're using cryptsetup 1.0.3 since our platform is RHEL 5, but the build system of the newer versions looks similar.

    Can anyone tell me where to add my files so that they'll be compiled and linked into the cryptsetup library?

Best regards,


p.s. Keep up the good work.  Even the relatively ancient version of cryptsetup on RHEL 5 outperformed TrueCrypt in our environment.

John Simpson

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.saout.de/pipermail/dm-crypt/attachments/20120702/8959c30e/attachment.html>

More information about the dm-crypt mailing list