Date: Sat, 26 Oct 2002 22:13:02 +0900 (JST) From: Yamada Ken Takeshi <ken@tydfam.jp> To: wa1ter@hotmail.com Cc: freebsd-current@FreeBSD.ORG Subject: Re: -current buildworld breakage Message-ID: <20021026.221302.884008985.ken@tydfam.jp> In-Reply-To: <3DBA90A5.90602@hotmail.com> References: <apdc9a$2s82$1@FreeBSD.csie.NCTU.edu.tw> <3DBA90A5.90602@hotmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
Thank you for your prompt reply.
From: walt <wa1ter@hotmail.com>
: : :
>
> I can't see how line 222 includes an implicit declaration of 'panic'.
>
> Is your file different?
>
I do not know why compiler says line 222, but it is
below 222 and my latest source says;
# 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;
[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (FreeBSD)
iD8DBQA9upTo3FdOaIK+ZHIRAgFXAJ4yDs20XiQ+9MAuhLc2PCrH6Q4KWQCfWf1i
SUUkUh36jz56rGvno4HzEl0=
=cvY+
-----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021026.221302.884008985.ken>
