From 5e1de05ab0119304b78f810e09e6407ebe1a32ca Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Sat, 21 Jan 2017 10:29:49 +0100 Subject: [PATCH] chg: moved to header file --- armsrc/optimized_cipher.c | 5 ----- armsrc/optimized_cipher.h | 4 ++++ 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/armsrc/optimized_cipher.c b/armsrc/optimized_cipher.c index bfaf5088..285403ab 100644 --- a/armsrc/optimized_cipher.c +++ b/armsrc/optimized_cipher.c @@ -61,11 +61,6 @@ **/ #include "optimized_cipher.h" -#include -#include -#include -#include - #define opt_T(s) (0x1 & ((s->t >> 15) ^ (s->t >> 14)^ (s->t >> 10)^ (s->t >> 8)^ (s->t >> 5)^ (s->t >> 4)^ (s->t >> 1)^ s->t)) diff --git a/armsrc/optimized_cipher.h b/armsrc/optimized_cipher.h index c10aea28..6f428bf5 100644 --- a/armsrc/optimized_cipher.h +++ b/armsrc/optimized_cipher.h @@ -1,6 +1,10 @@ #ifndef OPTIMIZED_CIPHER_H #define OPTIMIZED_CIPHER_H + #include +#include +#include +#include /** * Definition 1 (Cipher state). A cipher state of iClass s is an element of F 40/2 -- 2.39.5