Commit graph

19 commits

Author SHA1 Message Date
Jakub Sztandera
e0781d0536 add multihash encoding
refactor to use size_t
2016-08-10 15:46:45 +02:00
Jakub Sztandera
f3d2a1fd95 add multihash.h
extracts info about multihash from binary multihash
2016-08-01 16:33:32 +01:00
Jakub Sztandera
1b9e2168d8 create one info table from separate ones
fix mh_hash_default_length
2016-07-31 19:31:19 +01:00
Jakub Sztandera
171bddef0a change how hashes are defined from enum to define
this way the mapping between hashcodes and hash definitions isn't needed
also it simplfies handling, testing  and allows to return error with
the hash code
2016-07-31 15:43:43 +01:00
Jakub Sztandera
7aa01e57d6 remove vim sets 2016-07-30 11:40:28 +01:00
Jakub Sztandera
78435fb421 add blake lengths 2016-07-30 11:39:26 +01:00
Jakub Sztandera
177faf1ee6 rework error handling - disable hash tests for now 2016-07-29 18:05:11 +01:00
Jakub Sztandera
8112dda4e8 make should fail in case of test failure 2016-07-27 10:45:53 +01:00
Jakub Sztandera
b154a83b35 start implementing default lengths
fixup syle in few places
2016-07-26 16:54:31 +01:00
Jakub Sztandera
0eafc13839 rename target tests to test 2016-07-26 14:23:03 +01:00
Jakub Sztandera
6a23dbd54d separate headers and src 2016-07-26 14:22:03 +01:00
Jakub Sztandera
1cc9e705f9 start working on hashes api 2016-07-26 11:55:03 +01:00
Jakub Sztandera
f91684f3c8 rework build structure for static link
make .gitignore exclude default
move tests into tests/c/
2016-07-26 10:57:05 +01:00
Jakub Sztandera
60fa67b590 add tests to build system 2016-07-25 16:18:34 +01:00
Jakub Sztandera
bad1a6308f remove test from Makefile 2016-07-25 12:13:30 +01:00
Jakub Sztandera
62384a9e0c errors.c: implement mh_error_string 2016-07-25 12:06:39 +01:00
Jakub Sztandera
003bdf2f3c fix comment in .gitignore 2016-07-25 12:06:32 +01:00
Jakub Sztandera
f035ebfbe7 Start build system and add error types 2016-07-25 11:51:54 +01:00
Jakub Sztandera
722192d78f Initial commit 2016-07-21 10:44:33 +01:00