Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-2-0]: src/sys/netinet6 Pull up following revision(s) (requested b...



details:   https://anonhg.NetBSD.org/src/rev/cb979da3ec1a
branches:  netbsd-2-0
changeset: 564856:cb979da3ec1a
user:      riz <riz%NetBSD.org@localhost>
date:      Tue Oct 11 16:29:31 2005 +0000

description:
Pull up following revision(s) (requested by kleink in ticket #5899):
        sys/netinet6/esp_aesctr.c: revision 1.2
AES counter mode uses 8byte IV, not 16 bytes.
msa%burp.tkv.asdf.org@localhost, Juha.Leppilahti%iki.fi@localhost

diffstat:

 sys/netinet6/esp_aesctr.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 7492a2f56a5d -r cb979da3ec1a sys/netinet6/esp_aesctr.c
--- a/sys/netinet6/esp_aesctr.c Tue Oct 11 16:23:32 2005 +0000
+++ b/sys/netinet6/esp_aesctr.c Tue Oct 11 16:29:31 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: esp_aesctr.c,v 1.1 2003/07/25 09:48:18 itojun Exp $    */
+/*     $NetBSD: esp_aesctr.c,v 1.1.2.1 2005/10/11 16:29:31 riz Exp $   */
 /*     $KAME: esp_aesctr.c,v 1.2 2003/07/20 00:29:37 itojun Exp $      */
 
 /*
@@ -31,7 +31,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: esp_aesctr.c,v 1.1 2003/07/25 09:48:18 itojun Exp $");
+__KERNEL_RCSID(0, "$NetBSD: esp_aesctr.c,v 1.1.2.1 2005/10/11 16:29:31 riz Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -61,7 +61,7 @@
 union cblock {
        struct {
                u_int8_t nonce[4];
-               u_int8_t iv[16];
+               u_int8_t iv[8];
                u_int32_t ctr;
        } v __attribute__((__packed__));
        u_int8_t cblock[16];



Home | Main Index | Thread Index | Old Index