From 5cafb2b8899f66f2f834d3f1d6d00edf65ea7d0d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Niels=20M=C3=B6ller?= <nisse@lysator.liu.se>
Date: Tue, 2 Nov 2004 21:47:58 +0100
Subject: [PATCH] (Cipher functions): Updated AES documentation, for
 aes_set_encrypt_key and aes_set_decrypt_key. (UPDATED-FOR): Set to 1.11. I
 think the manual should be updated with all user-visible changes.

Rev: src/nettle/ChangeLog:1.292
Rev: src/nettle/nettle.texinfo:1.28
---
 ChangeLog      | 7 +++++++
 nettle.texinfo | 8 ++++----
 2 files changed, 11 insertions(+), 4 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 80d484b0..4dd63a79 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2004-11-02  Niels Möller  <nisse@lysator.liu.se>
+
+	* nettle.texinfo (Cipher functions): Updated AES documentation,
+	for aes_set_encrypt_key and aes_set_decrypt_key.
+	(UPDATED-FOR): Set to 1.11. I think the manual should be updated
+	with all user-visible changes.
+
 2004-10-26  Niels Möller  <nisse@lysator.liu.se>
 
 	* configure.ac: Bumped version to 1.12.
diff --git a/nettle.texinfo b/nettle.texinfo
index c33765cb..080ccd99 100644
--- a/nettle.texinfo
+++ b/nettle.texinfo
@@ -13,7 +13,7 @@
 * Nettle: (nettle).           A low-level cryptographics library.
 @end direntry
 
-@set UPDATED-FOR 1.5
+@set UPDATED-FOR 1.11
 
 @c Latin-1 doesn't work with TeX output.
 @c Also lookout for é characters.
@@ -632,9 +632,9 @@ The AES block-size, 16
 Default AES key size, 32
 @end defvr
 
-@deftypefun void aes_set_key (struct aes_ctx *@var{ctx}, unsigned @var{length}, const uint8_t *@var{key})
-Initialize the cipher. The same function is used for both encryption and
-decryption. 
+@deftypefun void aes_set_encrypt_key (struct aes_ctx *@var{ctx}, unsigned @var{length}, const uint8_t *@var{key})
+@deftypefunx void aes_set_decrypt_key (struct aes_ctx *@var{ctx}, unsigned @var{length}, const uint8_t *@var{key})
+Initialize the cipher, for encryption or decryption, respectively.
 @end deftypefun
 
 @deftypefun void aes_encrypt (struct aes_ctx *@var{ctx}, unsigned @var{length}, const uint8_t *@var{dst}, uint8_t *@var{src})
-- 
GitLab