• Jacob Siverskog's avatar
    Fix compiler warning in CTR only mode · d2b3cd64
    Jacob Siverskog authored
    Fixes the following warning:
    
    aes.c:98:22: warning: 'rsbox' defined but not used [-Wunused-const-variable=]
       98 | static const uint8_t rsbox[256] = {
          |                      ^~~~~
    
    With CBC = 0, ECB = 0 and CTR = 1.
    d2b3cd64
aes.c 18.6 KB