Use the COP_FLAG_UPDATE/FINAL flags. Patch by Glenn Schmottlach.
[cryptodev-linux.git] / README
blob2c18a8773097f60b1c6c072e9a13344cc1c26a52
1 This is a /dev/crypto device driver, equivalent to those in OpenBSD or
2 FreeBSD. The main idea is to access of existing ciphers in kernel space 
3 from userspace, thus enabling re-use of a hardware implementation of a
4 cipher.
6 For questions and suggestions please use the mailing lists at:
7 http://home.gna.org/cryptodev-linux/lists.html
10 === How to combine with cryptographic libraries ===
12 * GnuTLS: 
14 GnuTLS needs to be compiled with --enable-cryptodev in order to take
15 advantage of /dev/crypto. GnuTLS 3.0.14 or later is recommended.
17 * OpenSSL:
19 The current releases of openssl support /dev/crypto by replacing
20 eng_cryptodev.c with the version available in the extras subdirectory. 
21 In order to compile use the -DHAVE_CRYPTODEV -DUSE_CRYPTODEV_DIGESTS flags.