switching to packed structure

This commit is contained in:
bg 2012-09-18 17:46:41 +02:00
parent 8b5e2b5775
commit 4ca48ee240
1 changed files with 2 additions and 2 deletions

View File

@ -20,11 +20,11 @@
#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;