From 187631fa9c0b08e1bcb22e5580b11e6be909dd4b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Niels=20M=C3=B6ller?= <nisse@lysator.liu.se>
Date: Sat, 25 Jan 2014 09:10:50 +0100
Subject: [PATCH] Comment fixes.

---
 gcm.c | 8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)

diff --git a/gcm.c b/gcm.c
index 43edf661..d942deb6 100644
--- a/gcm.c
+++ b/gcm.c
@@ -7,9 +7,6 @@
  * http://www.cryptobarn.com/papers/gcm-spec.pdf.
  */
 
-/* NOTE: Tentative interface, subject to change. No effort will be
-   made to avoid incompatible changes. */
-
 /* nettle, low-level cryptographics library
  *
  * Copyright (C) 2011 Niels Möller
@@ -389,10 +386,7 @@ gcm_hash_sizes(const struct gcm_key *key, union nettle_block16 *x,
   gcm_hash(key, x, GCM_BLOCK_SIZE, buffer);
 }
 
-/*
- * @length: The size of the iv (fixed for now to GCM_NONCE_SIZE)
- * @iv: The iv
- */
+/* NOTE: The key is needed only if length != GCM_IV_SIZE */
 void
 gcm_set_iv(struct gcm_ctx *ctx, const struct gcm_key *key,
 	   size_t length, const uint8_t *iv)
-- 
GitLab