Commit graph

164 commits

Author SHA1 Message Date
iceman1001 6ca0ce704a Release v4.17140 - Raccoon 2023-09-09 11:00:00 +02:00
Philippe Teuwen cf16e71244 Fix cmake, stringop-overflow false positives are not specific to MINGW 2023-09-07 23:44:31 +02:00
Alex 6947a61d98 Whitespace 2023-08-09 14:30:07 +02:00
Philippe Teuwen cb72897b17 mkversion.sh: now regenerates version_pm3.c (and consequently the binaries) only when needed
and add --force to forcibly regenerate version_pm3.c

and small fixes:
* document mkversion.sh usage
* remove call to mkversion.sh in client/experimental_lib/CMakeLists.txt on release
* remove call to old `mkversion.pl` in bootrom/Makefile
* just in case, mkversion.sh takes care of atomic write of the file
2023-08-03 01:03:24 +02:00
Philippe Teuwen 03ae05a345 cmake: allow to embed LZ4 2023-07-17 04:49:13 +02:00
Philippe Teuwen 5b656ad4b0 Add CMP0114 policy to cmake
CMake Warning (dev) at /home/linuxbrew/.linuxbrew/Cellar/cmake/3.26.4/share/cmake/Modules/ExternalProject.cmake:2271 (message):
  Policy CMP0114 is not set: ExternalProject step targets fully adopt their
  steps.  Run "cmake --help-policy CMP0114" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.

  ExternalProject target 'bzip2' would depend on the targets for step(s)
  'configure;build;install' under policy CMP0114, but this is being left out
  for compatibility since the policy is not set.
Call Stack (most recent call first):
  CMakeLists.txt:178 (ExternalProject_Add_StepTargets)
This warning is for project developers.  Use -Wno-dev to suppress it.
2023-07-17 03:32:15 +02:00
Philippe Teuwen 83e083100b Bring LZ4 support for hardnested tables
Testing perfs on an old 8-core laptop:
BZ2   :   2 Mb, average decompression time: 5514 ms
LZ4 -9:   9 Mb, average decompression time:  837 ms
RAW   : 704 Mb, average decompression time:  368 ms

Other LZ4 options don't help: -1 is slower and bigger, --favor-decSpeed does not do anything

To enable:

apt install liblz4-dev
cd client/resources/hardnested_tables
for i in *bz2; do bunzip2 $i; lz4 -9 --rm ${i%.bz2}; done
2023-07-15 22:58:00 +02:00
iceman1001 5022e21db5 added a iso4217 currency table. Borrowed and converted from the Cardpeek project. Thanks to them! 2023-07-14 18:13:18 +02:00
iceman1001 08958d36ef moving VAS to HF command category. Added missing Makefile and CMakefile 2023-07-09 12:55:37 +02:00
Grayson Martin 59aa95fa6e
begin implementation 2023-07-08 18:18:29 -05:00
iceman1001 c7d004de63 Revert "Release v4.16717 - seven"
This reverts commit bc18dbd847.
2023-06-26 13:10:45 +02:00
iceman1001 bc18dbd847 Release v4.16717 - seven 2023-06-26 13:10:45 +02:00
iceman1001 d71eed325c appkit vs uikit detection 2023-06-25 12:42:34 +02:00
iceman1001 9b8316c1dd fix cmakelists.txt for missing else 2023-06-25 09:04:45 +02:00
The-SamminAter 9f87b6dd9c Add ability to compile on iOS 2023-06-24 17:19:46 -07:00
iceman1001 7b92c00827 hide false positive in CMAKE on MINGW 2023-05-25 07:58:43 +02:00
wh201906 0f206ccef4
Fix client build on Android
Tested with:
cmake 3.10.2.4988404/3.24.1
ndk 25.2.9519653

Build command:

cmake \
    -DCMAKE_TOOLCHAIN_FILE=/home/gitpod/androidsdk/ndk/25.2.9519653/build/cmake/android.toolchain.cmake \
    -DANDROID_ABI=armeabi-v7a \
    -DANDROID_NATIVE_API_LEVEL=android-19 \
    -DSKIPBT=1 -DSKIPPYTHON=1 -DSKIPPTHREAD=1

(armeabi-v7a, arm64-v8a, x86 and x86_64 are all tested)
2023-03-11 00:27:48 +08:00
Self Not Found dba8d811fd
Link ws2_32 2023-03-06 22:05:41 +08:00
iceman1001 736d24cdab increased the readline package to 8.2 2023-02-14 21:16:38 +01:00
iceman1001 2bd404b496 Revert "Release v4.16191 - Nitride"
This reverts commit bec61e9185.
2023-01-29 20:35:17 +01:00
iceman1001 bec61e9185 Release v4.16191 - Nitride 2023-01-29 20:35:17 +01:00
iceman1001 f9a65505de added tesla info command, with some of the data that is available. Needed to fix the apdu chaining and a sneaky bug in get_sw since the apdu response was larger then 256 2023-01-21 20:04:27 +01:00
Philippe Teuwen c2546d35f8 experimental_lib/CMakeLists missing files 2023-01-15 02:40:58 +01:00
Jean-Michel Picod 6e084d82d5 First two PIV commands 2023-01-06 18:19:31 +01:00
iceman1001 063e2da49d Revert "Release v4.15864 - Radium"
This reverts commit 93ca7b4f6e.
2022-10-29 01:34:05 +02:00
iceman1001 93ca7b4f6e Release v4.15864 - Radium 2022-10-29 01:34:05 +02:00
iceman1001 e17fc29e41 added the skeleton for fudan card support 2022-07-09 12:25:03 +02:00
iceman1001 45ea60c92b add to cmake 2022-06-30 23:38:40 +02:00
merlokk ded87056d4 hf texkom command 2022-06-24 22:26:10 +03:00
Doridian 83943aafc8 and done 2022-06-11 16:16:56 -07:00
iceman1001 fb5ba83569 added skeleton for HF NTAG424 category of commands 2022-04-02 14:06:16 +02:00
Philippe Teuwen d0526d3ba9 Remove mkversion.pl 2022-02-17 01:43:00 +01:00
Philippe Teuwen 3ada10be72 Add linenoise-ng as alternative to readline 2022-01-29 15:20:32 +01:00
Philippe Teuwen 08719839b5 remove unused src files prng.c and tea.c
Note that there is a clean public domain implementation of tea on wikipedia...
2022-01-14 18:09:39 +01:00
Philippe Teuwen fc13b6b20c Add pm3line API to hide readline, allowing easier implementation of alternatives 2022-01-11 23:13:22 +01:00
iceman1001 1731695483 Revert "Release v4.14831 - Frostbit"
This reverts commit 0b65f2bc9e.
2022-01-11 19:17:19 +01:00
iceman1001 0b65f2bc9e Release v4.14831 - Frostbit 2022-01-11 19:17:19 +01:00
iceman1001 0942ce7a68 refactory parity files a bit 2022-01-09 13:34:54 +01:00
Philippe Teuwen 30aa7aa7d1 Adapting license headers, WIP 2022-01-08 00:40:52 +01:00
Matt Moran a1db683673 Add basic structure for hf gallagher 2021-12-29 23:42:06 +13:00
Matt Moran f0b82c6311 Extract gallagher encoding/decoding
Change input parameters to be `arg_u640` so that we can check they are the right lengths (and not have them silently truncated)
2021-12-29 23:10:48 +13:00
Geonyeob Kim be594d8312
update changelog and cmakelists file 2021-12-27 09:30:49 +09:00
iceman1001 69ea599fee skeleton for ZX8211 2021-12-24 13:32:28 +01:00
iceman1001 dd391cda01 first draft at having a ATR lookup list available in project 2021-10-10 09:37:39 +02:00
iceman1001 d3696ee2c3 Revert "Release v4.14434 - crimson"
This reverts commit 2c4c676db2.
2021-09-18 21:44:56 +02:00
iceman1001 2c4c676db2 Release v4.14434 - crimson 2021-09-18 21:44:55 +02:00
Philippe Teuwen 5ce9450c3a Show source version in the cmake logs 2021-09-05 01:30:08 +02:00
merlokk 99bc47c1ac add module 2021-08-13 21:27:46 +03:00
merlokk a22e162ce9 remove old crypto file 2021-08-09 20:23:07 +03:00
merlokk fd138bdd04 move aiddesfire to mifare folder and refactoring 2021-08-02 16:41:49 +03:00