Skip to content

Commit 730cd79

Browse files
Merge pull request #18 from jacksonwalters/implement_part_e_ciphertext_stealing
Implement NIST SP 800-38E: XTS, ciphertext stealing
2 parents 812187b + 4569b46 commit 730cd79

32 files changed

+259
-12
lines changed

apps/main_128.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ int main(void) {
6565

6666
// Initialize S-box and expand keys
6767
initialize_aes_sbox(sbox);
68-
aes_key_expansion(key, round_keys, sbox);
68+
aes_key_expansion_128(key, round_keys, sbox);
6969

7070
// Encrypt block by block
7171
for (size_t i = 0; i < padded_len; i += BLOCK_SIZE) {

bin/main_128

752 Bytes
Binary file not shown.

bin/main_256

752 Bytes
Binary file not shown.

bin/main_sbox_timing_256

736 Bytes
Binary file not shown.

bin/main_timing_256

752 Bytes
Binary file not shown.

bin/test_aes_128

736 Bytes
Binary file not shown.

bin/test_aes_192

736 Bytes
Binary file not shown.

bin/test_aes_256

736 Bytes
Binary file not shown.

bin/test_cbc

752 Bytes
Binary file not shown.

bin/test_ccm

736 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)