Generating AES (AES-256) Lookup Tables

前端 未结 2 1801
感情败类
感情败类 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: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.

提交回复
热议问题