E56F Documented Mac OS X support in README. · TaleTN/libtomcrypt-rsa-howto@38ef922 · GitHub
[go: up one dir, main page]

Skip to content

Commit 38ef922

Browse files
committed
Documented Mac OS X support in README.
1 parent b750ce5 commit 38ef922

File tree

1 file changed

+13
-12
lines changed

1 file changed

+13
-12
lines changed

README

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
LIBTOMCRYPT RSA DIGITAL SIGNATURES HOW-TO
22

33
This how-to describes how to implement RSA digital signatures using
4-
LibTomCrypt (and LibTomMath) on Windows.
4+
LibTomCrypt (and LibTomMath) on Windows and Mac OS X.
55

66
GETTING STARTED
77

@@ -12,42 +12,43 @@ GETTING STARTED
1212

1313
2. Patch LibTomCrypt
1414

15-
git apply patches\0001-der-fixes-and-additions.patch
16-
git apply patches\0002-dsa-fix-compiler-warning.patch
17-
git apply patches\0003-ecc-fix-compiler-warnings.patch
15+
git apply patches/0001-der-fixes-and-additions.patch
16+
git apply patches/0002-dsa-fix-compiler-warning.patch
17+
git apply patches/0003-ecc-fix-compiler-warnings.patch
1818

1919
3. Remove unused source files (optional)
2020

21-
remove_unsued.pl --force
21+
perl remove_unsued.pl --force
2222

2323
4. Build LibTomMath and LibTomCrypt
2424

25-
nmake -f makefile.msvc
25+
[n]make [-f makefile.msvc]
2626

2727
5. Generate public/private key pair
2828

29-
nmake -f makefile.msvc key
29+
[n]make [-f makefile.msvc] key
3030

3131
6. Run sign and verify examples
3232

33-
nmake -f makefile.msvc test
33+
[n]make [-f makefile.msvc] test
3434

3535
7. Have fun!
3636

3737
FILES IN THIS DISTRIBUTION
3838

39-
dertoh.cpp - Utility to convert from DER to C/C++ header file format,
40-
so you can directly include the public key in a C/C++
41-
source file.
39+
dertoh.cpp - Utility that converts DER to C/C++ header file format, so
40+
you can directly include the public key in a C/C++ source
41+
file.
4242
dertopem.sh - Bash script that uses OpenSSL to convert the public and
4343
private key pair from DER to PEM file format.
4444
error.h - Helper routines for rsa_make_key.cpp, rsa_sign.cpp, and
4545
rsa_verify.cpp.
4646
LICENSE - License, duh!
47+
makefile - GCC/Clang makefile.
4748
makefile.msvc - Microsoft C/C++ makefile.
4849
patches/ - LibTomCrypt patches.
4950
README - <-- You are here.
50-
remove_unused.pl - Perl script that removes all unsued LibTomMath and
51+
remove_unused.pl - Perl script that removes all unused LibTomMath and
5152
LibTomCrypt files.
5253
rsa_make_key.cpp - Example that generates a public and private key pair.
5354
rsa_sign.cpp - Example that signs a message.

0 commit comments

Comments
 (0)
0