Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Oct 2002 09:19:21 -0400
From:      Craig Rodrigues <rodrigc@attbi.com>
To:        Yamada Ken Takeshi <ken@tydfam.jp>
Cc:        wa1ter@hotmail.com, freebsd-current@FreeBSD.ORG
Subject:   Re: -current buildworld breakage
Message-ID:  <20021026091921.B43973@attbi.com>
In-Reply-To: <20021026.221302.884008985.ken@tydfam.jp>; from ken@tydfam.jp on Sat, Oct 26, 2002 at 10:13:02PM %2B0900
References:  <apdc9a$2s82$1@FreeBSD.csie.NCTU.edu.tw> <3DBA90A5.90602@hotmail.com> <20021026.221302.884008985.ken@tydfam.jp>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Oct 26, 2002 at 10:13:02PM +0900, Yamada Ken Takeshi wrote:
> # cat  rijndael/rijndael-api-fst.c
> 
>         :        :        :        :
>         switch (cipher->mode) {
>         case MODE_ECB:
>                 for (i = numBlocks; i > 0; i--) {
>                         rijndaelEncrypt(input, outBuffer, key->keySched, key->RO
> UNDS);
>                         input += 16;
>                         outBuffer += 16;
>                 }
>                 padLen = 16 - (inputOctets - 16*numBlocks);
>                 if (padLen > 0 && padLen <= 16)
>                         panic("rijndael_padEncrypt(ECB)");
>                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>                 bcopy(input, block, 16 - padLen);
>                 for (cp = block + 16 - padLen; cp < block + 16; cp++)
>                         *cp = padLen;
>                 rijndaelEncrypt(block, outBuffer, key->keySched, key->ROUNDS);
>                 break;


You don't have the latest sources.  Did you use cvsup it
update your sources?  If you used cvsup, then you
need to add src-sys-crypto to your cvsup file.


-- 
Craig Rodrigues        
http://www.gis.net/~craigr    
rodrigc@attbi.com

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021026091921.B43973>