From d055d0e5f86cecc221e7c53444dd4724a91f6d7e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Niels=20M=C3=B6ller?= <nisse@lysator.liu.se>
Date: Thu, 6 Feb 2014 17:07:02 +0100
Subject: [PATCH] Updated NEWS and plan.html for _set_key changes.

---
 ChangeLog      |  2 ++
 NEWS           | 10 +++++++++-
 misc/plan.html |  2 +-
 3 files changed, 12 insertions(+), 2 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 24dcf9e0..7f86a2d3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2014-02-06  Niels Möller  <nisse@lysator.liu.se>
 
+	* NEWS: List _set_key incompatibilities.
+
 	* nettle-meta.h (_NETTLE_CIPHER_SEP, _NETTLE_CIPHER_SEP_SET_KEY)
 	(_NETTLE_CIPHER_FIX, _NETTLE_CIPHER): Deleted unused macros.
 
diff --git a/NEWS b/NEWS
index 37988786..c4a4ae2d 100644
--- a/NEWS
+++ b/NEWS
@@ -13,10 +13,18 @@ NEWS for the 2.8 release
           provided only for algorithms with a truly variable keysize,
           and where it makes sense for backwards compatibility.
 
+	  INCOMPATIBLE CHANGE: cast128_set_key no longer accepts a key size
+	  argument. The old function is available under the new name.
+	  cast5_set_key.
+
+	  INCOMPATIBLE CHANGE: The function typedef
+	  nettle_set_key_func no longer accepts a key size argument.
+	  In particular, this affects users of struct nettle_cipher.
+
 	* New AES and Camellia interfaces. There are now separate
           context structs for each key size, e.g., aes128_ctx and
           camellia256_ctx, and corresponding new functions. The old
-          interface, with struct aes_ctx and struct camellia_ctx is
+          interface, with struct aes_ctx and struct camellia_ctx, is
           kept for backwards compatibility, but might be removed in
           later versions.
 
diff --git a/misc/plan.html b/misc/plan.html
index 175e8462..8cd3dd2a 100644
--- a/misc/plan.html
+++ b/misc/plan.html
@@ -66,7 +66,7 @@
   <p class='should'>
     New DSA interface, with a separate struct dsa_params.
   </p>
-  <p class='should'>
+  <p class='done'>
     Drop key size argument from <tt>nettle_set_key_func</tt>.
   </p>
   <p class='should'>
-- 
GitLab