Skip to content

Commit

Permalink
Removed LibTomCrypt patches.
Browse files Browse the repository at this point in the history
  • Loading branch information
TaleTN committed Sep 28, 2018
1 parent 1e31357 commit 8aa8140
Show file tree
Hide file tree
Showing 11 changed files with 5 additions and 586 deletions.
15 changes: 5 additions & 10 deletions README
Original file line number Diff line number Diff line change
Expand Up @@ -10,27 +10,23 @@ GETTING STARTED
git clone https://github.com/TaleTN/libtommath.git
git clone https://github.com/TaleTN/libtomcrypt.git

2. Patch LibTomCrypt

[n]make [-f makefile.msvc] patch

3. Remove unused source files (optional)
2. Remove unused source files (optional)

perl remove_unused.pl --force

4. Build LibTomMath and LibTomCrypt
3. Build LibTomMath and LibTomCrypt

[n]make [-f makefile.msvc]

5. Generate public/private key pair
4. Generate public/private key pair

[n]make [-f makefile.msvc] key

6. Run sign and verify examples
5. Run sign and verify examples

[n]make [-f makefile.msvc] test

7. Have fun!
6. Have fun!

FILES IN THIS DISTRIBUTION

Expand All @@ -44,7 +40,6 @@ error.h - Helper routines for rsa_make_key.cpp, rsa_sign.cpp, and
LICENSE - License, duh!
makefile - GCC/Clang makefile.
makefile.msvc - Microsoft C/C++ makefile.
patches/ - LibTomCrypt patches.
README - <-- You are here.
remove_unused.pl - Perl script that removes all unused LibTomMath and
LibTomCrypt files.
Expand Down
8 changes: 0 additions & 8 deletions makefile
Original file line number Diff line number Diff line change
Expand Up @@ -260,11 +260,3 @@ clean:
rm -f rsa_make_key rsa_sign rsa_verify dertoh private_key.der public_key.der signature.txt

patch:
git apply --whitespace=fix patches/0001-der-fixes-and-additions.patch
git apply --whitespace=fix patches/0002-dsa-fix-compiler-warning.patch
git apply --whitespace=fix patches/0003-ecc-fix-compiler-warnings.patch
git apply --whitespace=fix patches/0004-include-stddef.h-per-default.patch
git apply --whitespace=fix patches/0005-der_encode_setof-fix-compiler-warning-when-compiling.patch
git apply --whitespace=fix patches/0006-fix-clang-compiler-warnings.patch
git apply --whitespace=fix patches/0007-only-use-ulong32-or-ulong64-in-the-macros.patch
git apply --whitespace=fix patches/0008-adjust-inline-asm-requiring-constants.patch
8 changes: 0 additions & 8 deletions makefile.msvc
Original file line number Diff line number Diff line change
Expand Up @@ -333,11 +333,3 @@ clean:
for %i in (private_key.der public_key.der signature.txt public_key.h) do @if exist "%i" del "%i"

patch:
git apply --whitespace=fix patches/0001-der-fixes-and-additions.patch
git apply --whitespace=fix patches/0002-dsa-fix-compiler-warning.patch
git apply --whitespace=fix patches/0003-ecc-fix-compiler-warnings.patch
git apply --whitespace=fix patches/0004-include-stddef.h-per-default.patch
git apply --whitespace=fix patches/0005-der_encode_setof-fix-compiler-warning-when-compiling.patch
git apply --whitespace=fix patches/0006-fix-clang-compiler-warnings.patch
git apply --whitespace=fix patches/0007-only-use-ulong32-or-ulong64-in-the-macros.patch
git apply --whitespace=fix patches/0008-adjust-inline-asm-requiring-constants.patch
49 changes: 0 additions & 49 deletions patches/0001-der-fixes-and-additions.patch

This file was deleted.

24 changes: 0 additions & 24 deletions patches/0002-dsa-fix-compiler-warning.patch

This file was deleted.

28 changes: 0 additions & 28 deletions patches/0003-ecc-fix-compiler-warnings.patch

This file was deleted.

24 changes: 0 additions & 24 deletions patches/0004-include-stddef.h-per-default.patch

This file was deleted.

This file was deleted.

106 changes: 0 additions & 106 deletions patches/0006-fix-clang-compiler-warnings.patch

This file was deleted.

Loading

0 comments on commit 8aa8140

Please sign in to comment.