Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. AES implementation

AES implementation

Scheduled Pinned Locked Moved C / C++ / MFC
c++comalgorithmsquestion
5 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    Anonymous
    wrote on last edited by
    #1

    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

    D A 2 Replies Last reply
    0
    • A Anonymous

      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

      D Offline
      D Offline
      David Crow
      wrote on last edited by
      #2

      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

      1 Reply Last reply
      0
      • A Anonymous

        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

        A Offline
        A Offline
        Alexander M
        wrote on last edited by
        #3

        This is the third time you are asking that question! Isn't it enough? Don't try it, just do it! ;-)

        U 1 Reply Last reply
        0
        • A Alexander M

          This is the third time you are asking that question! Isn't it enough? Don't try it, just do it! ;-)

          U Offline
          U Offline
          User 1547527
          wrote on last edited by
          #4

          well.the 2nd time actually. Do u know the ans by any chance??;P Vendy

          U 1 Reply Last reply
          0
          • U User 1547527

            well.the 2nd time actually. Do u know the ans by any chance??;P Vendy

            U Offline
            U Offline
            User 1547527
            wrote on last edited by
            #5

            hi dave.. i did post it.. nobody answers!!!:(( Vendy

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups