summaryrefslogtreecommitdiff
path: root/inotail.1
AgeCommit message (Expand)AuthorFilesLines
2006-09-21Update manpage according to READMETobias Klauser1-7/+11
2006-09-20Use getopt for command option parsingTobias Klauser1-6/+6
2006-08-23Fix hyphen-used-as-minus-sign warning spit out by lintianTobias Klauser1-1/+1
2006-08-23Unify commandline switch description between binary and manpageTobias Klauser1-5/+5
2006-08-23Fix up doccoTobias Klauser1-2/+2
2006-08-15Updates to manpageTobias Klauser1-4/+6
2006-08-13Add manpageTobias Klauser1-0/+51
it-subject'>crypto: algif - add AEAD support
This patch adds the AEAD support for AF_ALG. The implementation is based on algif_skcipher, but contains heavy modifications to streamline the interface for AEAD uses. To use AEAD, the user space consumer has to use the salg_type named "aead". The AEAD implementation includes some overhead to calculate the size of the ciphertext, because the AEAD implementation of the kernel crypto API makes implied assumption on the location of the authentication tag. When performing an encryption, the tag will be added to the created ciphertext (note, the tag is placed adjacent to the ciphertext). For decryption, the caller must hand in the ciphertext with the tag appended to the ciphertext. Therefore, the selection of the used memory needs to add/subtract the tag size from the source/destination buffers depending on the encryption type. The code is provided with comments explaining when and how that operation is performed. A fully working example using all aspects of AEAD is provided at http://www.chronox.de/libkcapi.html Signed-off-by: Stephan Mueller <smueller@chronox.de> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/algif_aead.c')