projects
/
proxmark3-svn
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
I just merged @marshmellow's branch "iclass" and that was a lot of new functionality...
[proxmark3-svn]
/
client
/
loclass
/
cipherutils.c
diff --git
a/client/loclass/cipherutils.c
b/client/loclass/cipherutils.c
index f82a11cee430b0aea26c7693c4ee3e978822f322..83b3c9fa2476f6454ac507e777224617795a3bd3 100644
(file)
--- a/
client/loclass/cipherutils.c
+++ b/
client/loclass/cipherutils.c
@@
-30,7
+30,10
@@
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
- * along with IClassCipher. If not, see <http://www.gnu.org/licenses/>.
+ * along with loclass. If not, see <http://www.gnu.org/licenses/>.
+ *
+ *
+ *
****************************************************************************/
#include <stdint.h>
****************************************************************************/
#include <stdint.h>
@@
-211,7
+214,7
@@
void printarr_human_readable(char * title, uint8_t* arr, int len)
// Code for testing below
//-----------------------------
// Code for testing below
//-----------------------------
-
+#ifndef ON_DEVICE
int testBitStream()
{
uint8_t input [] = {0xDE,0xAD,0xBE,0xEF,0xDE,0xAD,0xBE,0xEF};
int testBitStream()
{
uint8_t input [] = {0xDE,0xAD,0xBE,0xEF,0xDE,0xAD,0xBE,0xEF};
@@
-284,3
+287,4
@@
int testCipherUtils(void)
retval |= testReversedBitstream();
return retval;
}
retval |= testReversedBitstream();
return retval;
}
+#endif
Impressum
,
Datenschutz