Thank you for your prompt reply.

From: walt <[EMAIL PROTECTED]>
  :     :        :
> 
> 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: msg45377/pgp00000.pgp
Description: PGP signature

Reply via email to