From owner-freebsd-current Sat Oct 26 6:19:13 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F36C937B401 for ; Sat, 26 Oct 2002 06:19:11 -0700 (PDT) Received: from dibbler.ne.client2.attbi.com (dibbler.ne.client2.attbi.com [24.61.41.247]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4E4AD43E4A for ; Sat, 26 Oct 2002 06:19:11 -0700 (PDT) (envelope-from rodrigc@attbi.com) Received: from dibbler.ne.client2.attbi.com (localhost.ne.attbi.com [127.0.0.1]) by dibbler.ne.client2.attbi.com (8.12.6/8.12.5) with ESMTP id g9QDJNRD044015; Sat, 26 Oct 2002 09:19:23 -0400 (EDT) (envelope-from rodrigc@dibbler.ne.client2.attbi.com) Received: (from rodrigc@localhost) by dibbler.ne.client2.attbi.com (8.12.6/8.12.6/Submit) id g9QDJMfg044014; Sat, 26 Oct 2002 09:19:22 -0400 (EDT) Date: Sat, 26 Oct 2002 09:19:21 -0400 From: Craig Rodrigues To: Yamada Ken Takeshi Cc: wa1ter@hotmail.com, freebsd-current@FreeBSD.ORG Subject: Re: -current buildworld breakage Message-ID: <20021026091921.B43973@attbi.com> References: <3DBA90A5.90602@hotmail.com> <20021026.221302.884008985.ken@tydfam.jp> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20021026.221302.884008985.ken@tydfam.jp>; from ken@tydfam.jp on Sat, Oct 26, 2002 at 10:13:02PM +0900 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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