Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Aug 2005 13:37:54 -0700 (PDT)
From:      Richard Macatee <rmacatee1087@yahoo.com>
To:        freebsd-questions@freebsd.org
Subject:   Rijndael Crypto Source Code Question
Message-ID:  <20050805203754.5986.qmail@web50304.mail.yahoo.com>

next in thread | raw e-mail | index | archive | help
Hello,

  I am currently investigating rijndael-alg-fst.c to
understand how the cryptography works (running FreeBSD
5.3-RELEASE).  I am attempting to replicate the
rijndaelKeySetupEnc function, and everything seems to
work fine except when gcc attempts to compile the
following line: rk += 4.

  I get a compiling error which says
"cryptotest.c:117: error: incompatible types in
assignment." (gcc version   3.3.5) It seems to not
like incrementing the array by 4.  I am under the
impression that the purpose of this particular line of
code in rijndael-alg-fst.c is to increment the current
index of array rk by one.  

Any help as to the meaning of the line and how to get
it to compile would be greatly appreciated.  Thanks.

-Ricky


		
____________________________________________________
Start your day with Yahoo! - make it your home page 
http://www.yahoo.com/r/hs 
 



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