Generating AES (AES-256) Lookup Tables

前端 未结 2 1798
感情败类
感情败类 2021-01-05 23:15

I am trying to implement AES-256 in CTR mode using nVidia CUDA. I have successfully coded CPU code for key expansion and now I need to implement the actual AES-256 algorithm

相关标签:
2条回答
  • 2021-01-06 00:01

    The T tables are a straightforward description of the AES round transformation in matrix form. To build them, see the original Rijndael NIST proposal, section 5.2.1.

    0 讨论(0)
  • 2021-01-06 00:11

    In case anyone is still interested, these lookup tables can be found in the standard library of the Go programming language - http://golang.org/src/crypto/aes/const.go#L80

    There are also instructions on how to generate the tables in the test files of the same package.

    0 讨论(0)
提交回复
热议问题