Browse Source

Formatted AES code properly

master
Peter Schwabe 5 years ago
parent
commit
93c24e34c6
2 changed files with 499 additions and 531 deletions
  1. +496
    -528
      common/aes.c
  2. +3
    -3
      common/aes.h

+ 496
- 528
common/aes.c
File diff suppressed because it is too large
View File


+ 3
- 3
common/aes.h View File

@@ -9,15 +9,15 @@
#define AESCTR_NONCEBYTES 12

typedef struct {
uint64_t sk_exp[88];
uint64_t sk_exp[88];
} aes128ctx;

typedef struct {
uint64_t sk_exp[104];
uint64_t sk_exp[104];
} aes192ctx;

typedef struct {
uint64_t sk_exp[120];
uint64_t sk_exp[120];
} aes256ctx;




Loading…
Cancel
Save