Reformat code

This commit is contained in:
Dan 2019-06-13 00:27:11 +02:00
parent fd22948666
commit 1a40d7df85

View File

@ -35,7 +35,7 @@ uint8_t *ige256(const uint8_t in[], uint32_t length, const uint8_t key[32], cons
for (j = 0; j < AES_BLOCK_SIZE; ++j) for (j = 0; j < AES_BLOCK_SIZE; ++j)
buffer[j] = in[i + j] ^ iv1[j]; buffer[j] = in[i + j] ^ iv1[j];
(encrypt ? aes256_encrypt : aes256_decrypt)((uint8_t *) &buffer, &out[i], expandedKey); (encrypt ? aes256_encrypt : aes256_decrypt)((uint8_t * ) & buffer, &out[i], expandedKey);
for (j = 0; j < AES_BLOCK_SIZE; ++j) for (j = 0; j < AES_BLOCK_SIZE; ++j)
out[i + j] ^= iv2[j]; out[i + j] ^= iv2[j];