summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorMoritz Schulte <mo@g10code.com>2003-03-24 19:31:42 +0000
committerMoritz Schulte <mo@g10code.com>2003-03-24 19:31:42 +0000
commitfb36096b185981e80d2da6264c489e8fea223b5c (patch)
tree02630bbc55e74d8ba901cade47204873cd9c6506 /doc
parenta93a5075b0f9a00892e64773c3d5419107662922 (diff)
downloadlibgcrypt-fb36096b185981e80d2da6264c489e8fea223b5c.tar.gz
2003-03-22 Simon Josefsson <jas@extundo.com>
* gcrypt.texi: Add CBC-MAC.
Diffstat (limited to 'doc')
-rw-r--r--doc/ChangeLog4
-rw-r--r--doc/gcrypt.texi11
2 files changed, 13 insertions, 2 deletions
diff --git a/doc/ChangeLog b/doc/ChangeLog
index d5ba4bd5..9db2465f 100644
--- a/doc/ChangeLog
+++ b/doc/ChangeLog
@@ -1,3 +1,7 @@
+2003-03-22 Simon Josefsson <jas@extundo.com>
+
+ * gcrypt.texi: Add CBC-MAC.
+
2003-03-04 Moritz Schulte <moritz@g10code.com>
* gcrypt.texi (Cipher Functions): Added gcry_cipher_reset.
diff --git a/doc/gcrypt.texi b/doc/gcrypt.texi
index db620145..ac247139 100644
--- a/doc/gcrypt.texi
+++ b/doc/gcrypt.texi
@@ -72,7 +72,7 @@ entitled ``GNU Free Documentation License''.
@top Main Menu
This is Edition @value{EDITION}, last updated @value{UPDATED}, of
@cite{The `Libgcrypt' Reference Manual}, for Version
-@value{VERSION} of the @acronym{GPGME} library.
+@value{VERSION} of the @acronym{Libgcrypt} library.
@end ifnottex
@menu
@@ -396,7 +396,12 @@ This flag enables the CFB sync mode, which is a special feature of
Libgcrypt's CFB mode implementation to allow for OpenPGP's CFB variant.
See @code{gcry_cipher_sync}.
@item GCRY_CIPHER_CBC_CTS
-Enable cipher text stealing for the CBS mode.
+Enable cipher text stealing (CTS) for the CBC mode. Cannot be used
+simultaneous as GCRY_CIPHER_CBC_MAC.
+@item GCRY_CIPHER_CBC_MAC
+Compute CBC-MAC keyed checksums. This is the same as CBC mode, but
+only output the last block. Cannot be used simultaneous as
+GCRY_CIPHER_CBC_CTS.
@end table
@end deftypefun
@@ -690,6 +695,8 @@ this is the hashed data is highly confidential.
@item GCRY_MD_FLAG_HMAC
Turn the algorithm into a HMAC message authentication algorithm. Note
that the function @code{gcry_md_setkey} must be used set the MAC key.
+If you want CBC message authenentication codes based on a cipher, see
+@xref{Cipher Functions}.
@end table
@c begin table of hash flags