1
I was trying to install from source BLAKE2 hash function in Ubuntu, but I do not know how. I don`t know how to use these makefiles with .c and .h files . Any help? https://blake2.net/
1
I was trying to install from source BLAKE2 hash function in Ubuntu, but I do not know how. I don`t know how to use these makefiles with .c and .h files . Any help? https://blake2.net/
0
If your goal is simply to obtain the software, binaries can be downloaded here:
https://blake2.net/b2sum-bin_20130305.zip
If you wish to compile the code, then you will need to first verify that you have the appropriate development tools installed (eg. gcc). Installing these will depend on the Linux distribution you are using. On Debian based distributions (such as Ubuntu) you can install the "build-essential" package, and on CentOS there is the "Development Tools" group.
I will refer to the contents in the most recent git tag:
https://codeload.github.com/BLAKE2/BLAKE2/zip/20160619
for the following. The code first needs to be extracted, which can be done by running:
unzip BLAKE2-20160619.zip
This extracts the zip file to the current directory. Then have a look at at the README. It describes the contents of the directories. You will use the makefile in the directory containing the software you desire. For example, to build b2sum run:
cd BLAKE2-20160619/b2sum
make
sudo make install
which should show output similar to:
$ make
cc b2sum.c ../sse/blake2b.c ../sse/blake2s.c ../sse/blake2bp.c ../sse/blake2sp.c -O3 -march=native -Werror=declaration-after-statement -std=c99 -I../sse -fopenmp -o b2sum
$ sudo make install
install -d /usr/local/bin
install -d /usr/local/man/man1
install -m 755 b2sum /usr/local/bin
install -m 644 b2sum.1 /usr/local/man/man1/b2sum.1
and you should now be able to run b2sum!
0
Have you read the README document file?,it has the proper description of all folders inside it.
In my debian I just make:
- unzip blake2_code_20140114.zip
- cd blake2_code_20140114
- cd sse or ref (it really depends on the implementation that you want)
- make (check this file if you want other options)
Yes, but I am able to use that program just in that folder, I don't have global supported command in terminal like md5sum or sha256 after installing rhash program. – None – 2014-09-07T17:39:38.187