Source-Changes-HG archive

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

[src/trunk]: src/regress/sys/crypto/cast128 sync with sys/crypto/cast128 change



details:   https://anonhg.NetBSD.org/src/rev/50907a7b89eb
branches:  trunk
changeset: 518297:50907a7b89eb
user:      itojun <itojun%NetBSD.org@localhost>
date:      Wed Nov 28 00:52:24 2001 +0000

description:
sync with sys/crypto/cast128 change

diffstat:

 regress/sys/crypto/cast128/casttest.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 65a7e286e154 -r 50907a7b89eb regress/sys/crypto/cast128/casttest.c
--- a/regress/sys/crypto/cast128/casttest.c     Wed Nov 28 00:19:53 2001 +0000
+++ b/regress/sys/crypto/cast128/casttest.c     Wed Nov 28 00:52:24 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: casttest.c,v 1.2 2000/11/08 06:02:01 itojun Exp $      */
+/*     $NetBSD: casttest.c,v 1.3 2001/11/28 00:52:24 itojun Exp $      */
 /*     $KAME: casttest.c,v 1.2 2000/11/08 05:58:25 itojun Exp $        */
 
 /*
@@ -161,7 +161,7 @@
                if (k_len[z] != 16)
                        continue;
 
-               set_cast128_subkey(subkey, k);
+               set_cast128_subkey(subkey, k, k_len[z]);
 
                cast128_encrypt_round16(out, in, subkey);
 



Home | Main Index | Thread Index | Old Index