X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/53d85a8fa1c1b98cb79c40712d1668731bdcaf49..5a03ea993fea2573f0e4f6002c0bca8b2cda003c:/client/loclass/cipherutils.h?ds=sidebyside diff --git a/client/loclass/cipherutils.h b/client/loclass/cipherutils.h index cb090f69..56867179 100644 --- a/client/loclass/cipherutils.h +++ b/client/loclass/cipherutils.h @@ -22,7 +22,7 @@ * * This is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as published - * by the Free Software Foundation. + * by the Free Software Foundation, or, at your option, any later version. * * This file is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of @@ -33,7 +33,6 @@ * along with loclass. If not, see <http://www.gnu.org/licenses/>. * * - * ****************************************************************************/ @@ -59,9 +58,10 @@ bool headBit( BitstreamIn *stream); bool tailBit( BitstreamIn *stream); void pushBit( BitstreamOut *stream, bool bit); int bitsLeft( BitstreamIn *stream); - +#ifndef ON_DEVICE int testCipherUtils(void); int testMAC(); +#endif void push6bits( BitstreamOut* stream, uint8_t bits); void EncryptDES(bool key[56], bool outBlk[64], bool inBlk[64], int verbose) ; void x_num_to_bytes(uint64_t n, size_t len, uint8_t* dest);