-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sorry but can you tell me how to use it? #1
Comments
The README assumes the following directrory structure:
If you then run the Perl script and other commands from within the libtomcrypt-rsa-howto directory, it should work. Do note that running the Perl script is optional (it just removes all LibTom source files you don't need for RSA signatures), so you could also skip it. |
And I'm sorry for asking such a rudimentary question, but I have a few more questions to ask.
If I write as above in item 3 and proceed with make, can I know where the lib or dll files that can be used in other projects are created? |
You will find the relative paths of the library files in makefile.msvc (look for LTM_LIBNAME and LTC_LIBNAME), but I will post them here as well:
|
thank you. I checked the path, but if there is no lib file, what should I do? Please help. |
After running 'nmake -f makefile.msvc' the LIB files should be there, but there should also be lots of OBJ files everywhere, so I guess you haven't run nmake yet, or maybe it didn't work somehow. |
Sorry, I don't know nmake, so I typed 'make -f makefile.msvc'. I found that nmake can be done in visual studio powershell!! PS D:\visual_workspace\test\libtomcrypt-rsa-howto> perl remove_unused.pl --force
|
It looks like your Perl is from MSYS, but you are calling it from the Vistal Studio prompt. It would probably work if you would run the Perl script from the MSYS terminal, or if you would install a Perl version that can be run from the VS prompt. |
Perl commands were processed and applied in linux. |
I came across your git while doing a google search to use libtomcrypt on an embedded system.
I want to use libtomcrypt in windows environment.
However, even if I download it from git, I do not have the Visual Studio 2008 version.
Also, other visual studios do not have a version.
I want to get a lib and run it in another program... I'm not sure from your kind explanation.
GETTING STARTED
1. Get LibTomMath and LibTomCrypt - Success √
git clone https://github.com/TaleTN/libtommath.git
git clone https://github.com/TaleTN/libtomcrypt.git
Remove unused source files (optional) - Fail...
perl remove_unused.pl --force
Build LibTomMath and LibTomCrypt
[n]make [-f makefile.msvc]
Generate public/private key pair
[n]make [-f makefile.msvc] key
Run sign and verify examples
[n]make [-f makefile.msvc] test
Have fun! :(
Can you explain a little more?
I proceeded with step 1 below, and additionally downloaded your git and unzipped it.
The folders I currently have are "libtomcrypt", "libtommath", and "libtomcrypt-rsa-howto".
If you execute "perl remove_unused.pl --force" in step 2, the following error appears.
Can't stat libtommath: No such file or directory
at remove_unused.pl line 54.
Can't stat libtomcrypt: No such file or directory
at remove_unused.pl line 54.
how can i solve it...
The text was updated successfully, but these errors were encountered: