I have a need for a cross-platform (hopefully C) library that can create and mount encrypted filesystem containers. The same functionality of TrueCrypt but as a library so I would not have to externally include and invoke the Truecrypt executables.
Any alternate suggestions or solutions are also very welcome.
Thanks!
Try openSSL
libssl supports a lot of popular cryptography algorithms. It also has wrapper methods for some (at least blowfish) which will simulate a stream cipher on a block cipher such as blowfish.
SYMMETRIC CIPHERS
PUBLIC KEY CRYPTOGRAPHY AND KEY AGREEMENT
CERTIFICATES
AUTHENTICATION CODES, HASH FUNCTIONS
http://openssl.linux-mirror.org/docs/crypto/crypto.html