]> git.zerfleddert.de Git - proxmark3-svn/commitdiff
chg: moved to header file
authoriceman1001 <iceman@iuse.se>
Sat, 21 Jan 2017 09:29:49 +0000 (10:29 +0100)
committericeman1001 <iceman@iuse.se>
Sat, 21 Jan 2017 09:29:49 +0000 (10:29 +0100)
armsrc/optimized_cipher.c
armsrc/optimized_cipher.h

index bfaf5088fa4ae7cba28e2cc58a489c81b16c3180..285403ab8beba30a41dabe9436a86b57c2d3890c 100644 (file)
 **/
 
 #include "optimized_cipher.h"
-#include <stdlib.h>
-#include <string.h>
-#include <stdbool.h>
-#include <stdint.h>
-
 
 #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))
 
index c10aea28bab4f2b75465173ee01ad8f38ecb19e1..6f428bf5e6423af080ba8b1b2703e4107aa762a2 100644 (file)
@@ -1,6 +1,10 @@
 #ifndef OPTIMIZED_CIPHER_H
 #define OPTIMIZED_CIPHER_H
+
 #include <stdint.h>
+#include <stdlib.h>
+#include <string.h>
+#include <stdbool.h>
 
 /**
 * Definition 1 (Cipher state). A cipher state of iClass s is an element of F 40/2
Impressum, Datenschutz