AES implementation
-
hi,, Anyone familiar with the AESalgorithm There is an implementation of the AES algorithm in the below link. If u download it.. http://www.thecodeproject.com/cpp/aes.asp in Table.h (1.) Why have they used s boxes in ‘int’s? why not const int CRijndael::SBox[256] rather than ---const char CRijndael::SBox[256] and replace the negative values with positive? (2.) What does const int CRijndael::sm_T1[256] …. const int CRijndael::sm_T8[256] tables correspond to? (3.) and const int CRijndael::sm_U1[256]…const int CRijndael::sm_U4[256] tables correspond to (4.) also const int CRijndael::sm_shifts[3][4][2] tables correspond to? tnx
-
hi,, Anyone familiar with the AESalgorithm There is an implementation of the AES algorithm in the below link. If u download it.. http://www.thecodeproject.com/cpp/aes.asp in Table.h (1.) Why have they used s boxes in ‘int’s? why not const int CRijndael::SBox[256] rather than ---const char CRijndael::SBox[256] and replace the negative values with positive? (2.) What does const int CRijndael::sm_T1[256] …. const int CRijndael::sm_T8[256] tables correspond to? (3.) and const int CRijndael::sm_U1[256]…const int CRijndael::sm_U4[256] tables correspond to (4.) also const int CRijndael::sm_shifts[3][4][2] tables correspond to? tnx
Why not pose these same questions to the article itself? That way the author has a chance to respond.
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
-
hi,, Anyone familiar with the AESalgorithm There is an implementation of the AES algorithm in the below link. If u download it.. http://www.thecodeproject.com/cpp/aes.asp in Table.h (1.) Why have they used s boxes in ‘int’s? why not const int CRijndael::SBox[256] rather than ---const char CRijndael::SBox[256] and replace the negative values with positive? (2.) What does const int CRijndael::sm_T1[256] …. const int CRijndael::sm_T8[256] tables correspond to? (3.) and const int CRijndael::sm_U1[256]…const int CRijndael::sm_U4[256] tables correspond to (4.) also const int CRijndael::sm_shifts[3][4][2] tables correspond to? tnx
This is the third time you are asking that question! Isn't it enough? Don't try it, just do it! ;-)
-
This is the third time you are asking that question! Isn't it enough? Don't try it, just do it! ;-)
well.the 2nd time actually. Do u know the ans by any chance??;P Vendy
-
well.the 2nd time actually. Do u know the ans by any chance??;P Vendy
hi dave.. i did post it.. nobody answers!!!:(( Vendy