summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2009-12-09 11:21:17 +0000
committerWerner Koch <wk@gnupg.org>2009-12-09 11:21:17 +0000
commit3147b0eb8c0c42e4c77c4b4405be5e3f1af74534 (patch)
treed5867a6c2cefc2bf5d1422396a0377dcdcb4eb61 /doc
parent379ba9a761d1fa259e673ed9552fc2e73b5b2ea3 (diff)
downloadlibgcrypt-3147b0eb8c0c42e4c77c4b4405be5e3f1af74534.tar.gz
Implemented the AES-Wrap algorithm
Diffstat (limited to 'doc')
-rw-r--r--doc/gcrypt.texi14
1 files changed, 14 insertions, 0 deletions
diff --git a/doc/gcrypt.texi b/doc/gcrypt.texi
index 6cb4bddf..5e736244 100644
--- a/doc/gcrypt.texi
+++ b/doc/gcrypt.texi
@@ -1644,6 +1644,20 @@ Output Feedback mode.
@cindex CTR, Counter mode
Counter mode.
+@item GCRY_CIPHER_MODE_AESWRAP
+@cindex AES-Wrap mode
+This mode is used to implement the AES-Wrap algorithm according to
+RFC-3394. It may be used with any 128 bit block length algorithm,
+however the specs require one of the 3 AES algorithms. These special
+conditions apply: If @code{gcry_cipher_setiv} has not been used the
+standard IV is used; if it has been used the lower 64 bit of the IV
+are used as the Alternative Initial Value. On encryption the provided
+output buffer must be 64 bit (8 byte) larger than the input buffer;
+in-place encryption is still allowed. On decryption the output buffer
+may be specified 64 bit (8 byte) shorter than then input buffer. As
+per specs the input length must be at least 128 bits and the length
+must be a multiple of 64 bits.
+
@end table
@node Working with cipher handles