]> git.cryptolib.org Git - arm-crypto-lib.git/blobdiff - echo/aes_enc_round.h
switching to packed structure
[arm-crypto-lib.git] / echo / aes_enc_round.h
index 7490500c6659ba56fc712152a19cface85b4eb26..54bf6b08150b9ca0acee414acae9338eb8f0313e 100644 (file)
@@ -1,6 +1,6 @@
 /* aes_enc_round.h */
 /*
-    This file is part of the AVR-Crypto-Lib.
+    This file is part of the ARM-Crypto-Lib.
     Copyright (C) 2010 Daniel Otte (daniel.otte@rub.de)
 
     This program is free software: you can redistribute it and/or modify
 #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;