switching to packed structure
authorbg <daniel.otte@rub.de>
Tue, 18 Sep 2012 15:46:41 +0000 (17:46 +0200)
committerbg <daniel.otte@rub.de>
Tue, 18 Sep 2012 15:46:41 +0000 (17:46 +0200)
echo/aes_enc_round.h

index 18ffd9b..54bf6b0 100644 (file)
 #ifndef AES_ENC_ROUND_H_
 #define AES_ENC_ROUND_H_
 
-typedef struct{
+typedef struct __attribute__((packed)) {
        uint8_t s[16];
 } aes_cipher_state_t;
 
-typedef struct{
+typedef struct __attribute__((packed)) {
        uint8_t ks[16];
 } aes_roundkey_t;