Source-Changes-HG archive

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

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



details:   https://anonhg.NetBSD.org/src/rev/67dfc60b64c8
branches:  netbsd-2
changeset: 564077:67dfc60b64c8
user:      riz <riz%NetBSD.org@localhost>
date:      Tue Oct 11 16:29:36 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 b771f1f9b719 -r 67dfc60b64c8 sys/netinet6/esp_aesctr.c
--- a/sys/netinet6/esp_aesctr.c Tue Oct 11 16:21:16 2005 +0000
+++ b/sys/netinet6/esp_aesctr.c Tue Oct 11 16:29:36 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.8.1 2005/10/11 16:29:36 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.8.1 2005/10/11 16:29:36 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