On Tue, Feb 17, 2009 at 10:20:38PM +0800, loody wrote:

> The round# is set according to the bits we pass to AES_set_encrypt_key.
> And Nk*round# keys are also produced well in it.
> But how about Nb, the number of column in state?
> (in 128, 192 and 256 bits block plaintext, the Nb, column# of state is 4,6,8.)
> The parameters we pass to AES_encrypt are in, out, key.
> We don't tell AES_encrypt the total bits of plaintext.
> If we don't pass bis length information to AES_encrypt, how it do the
> SubBytes, ShiftRows, MixColumns and AddRoundKey?

You are asking the wrong questions. Why are you trying to reverse-engineer
the AES implementation? Why not just use it via the EVP interface?

-- 
        Viktor.
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to