summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Make dialyzer happier.Linus Nordberg2014-09-101-2/+2
| | | | | Make sure test function returns something. I would imagine that eunit.hrl should take care of this but haven't investigated.
* Fix missing spec change.Linus Nordberg2014-09-101-1/+1
|
* Fix (unused) test function.Linus Nordberg2014-09-101-1/+1
|
* Add fun specs.Linus Nordberg2014-09-101-0/+3
|
* Make dialyzer happier.Linus Nordberg2014-09-101-1/+1
| | | | V = -1 is a valid tree version.
* Make dialyzer happier.Linus Nordberg2014-09-101-2/+2
| | | | Protocol version can be 0.
* Get rid of dialyzer warning.Linus Nordberg2014-09-101-1/+1
| | | | | | | | Specify the match as a tuple rather than a record since dialyzer correctly reports that #plop fields cannot be atoms. The drawback is that the match needs updating when the definition of #plop{} changes, including merely reordering of fields.
* Handle empty tree.Linus Nordberg2014-09-101-0/+2
|
* New hash tree implementation, using an ETS table for the hashes.Linus Nordberg2014-09-094-386/+311
| | | | | Also, add an untested entry storage implementation, using multiple DETS tables.
* Add db:get_by_index_sorted/2.Linus Nordberg2014-09-091-4/+26
|
* Add licensing information.Linus Nordberg2014-06-097-0/+20
|
* Add explanatory header.Linus Nordberg2014-06-051-0/+22
|
* Make serialise/1 return a binary.Linus Nordberg2014-06-041-45/+36
| | | | Lists became nested.
* plop.hrl has finally moved into include/.Linus Nordberg2014-06-043-3/+2
|
* Add get/1; remove debug printouts; formatting.Linus Nordberg2014-06-041-14/+23
|
* Fix add_more_test/0 and rename it.Linus Nordberg2014-06-021-6/+8
| | | | | One probably don't want it to be run automatically since it bloats the db.
* Don't use maps.Linus Nordberg2014-06-021-21/+28
| | | | We want to support R16 too.
* Clean upp append/2, append/3 a bit.Linus Nordberg2014-06-011-9/+8
|
* Language.Linus Nordberg2014-06-011-6/+6
|
* Clean up the mkhash / gethash name mess a bit.Linus Nordberg2014-06-011-9/+8
|
* Implement audit_path/2.Linus Nordberg2014-06-011-19/+54
|
* Add note about appending trees.Linus Nordberg2014-06-011-6/+10
| | | | Also remove unused code and clearify append/1.
* Implement path/1 for testing.Linus Nordberg2014-06-011-4/+44
|
* Start db prior to plop.Linus Nordberg2014-05-291-9/+7
| | | | So that plop can read the database at startup.
* Test adding 200 3kB entries.Linus Nordberg2014-05-291-0/+7
|
* Add db:size/0 and some error checking.Linus Nordberg2014-05-292-14/+37
|
* Formatting.Linus Nordberg2014-05-271-1/+2
|
* Improve basic description of plop.Linus Nordberg2014-05-271-6/+12
|
* Make tests use v1=0 too.Linus Nordberg2014-05-261-4/+3
|
* Add db:get_by_index/2.Linus Nordberg2014-05-261-2/+14
|
* Handle error from db:find/1.Linus Nordberg2014-05-261-10/+9
|
* Change default protocol version from 1 to 0.Linus Nordberg2014-05-191-4/+2
| | | | | | RFC6962 "v1" is 0, not 1. Also, use a define and not a literal. Also also, move the define to plop.hrl.
* Merge remote-tracking branch 'devp/master'Linus Nordberg2014-05-191-2/+2
|\
| * Be consistent with naming of variables for priv/pub keyfiles.Linus Nordberg2014-05-191-2/+2
| |
* | Clarify DSS signature encoding.Linus Nordberg2014-05-161-0/+3
|/
* Fix typo in e7e1782.Linus Nordberg2014-05-161-2/+2
|
* Add length field to serialised signature.Linus Nordberg2014-05-161-2/+5
| | | | | This seems to contradict the spec but is something Googles reference implementation does.
* Encode signatures properly.Linus Nordberg2014-05-121-6/+43
|
* Remove a debug printout.Linus Nordberg2014-05-071-1/+0
| | | | In a test.
* Function documentation.Linus Nordberg2014-05-071-13/+23
|
* Formatting.Linus Nordberg2014-05-071-10/+13
|
* Remove support for crypto:sha().Linus Nordberg2014-05-071-11/+1
| | | | We're not on R15 any more.
* Doc and placeholders for audit path and consistency proof functions.Linus Nordberg2014-05-071-6/+41
|
* Define #sth{} and have sth() return those.Linus Nordberg2014-05-051-11/+13
|
* Make #spt_signed{} private.Linus Nordberg2014-05-051-0/+11
|
* Rename #sth -> #sth_signed and make it private.Linus Nordberg2014-05-051-8/+16
|
* Rename spt_on_wire -> spt.Linus Nordberg2014-05-042-5/+5
|
* Limit the debug printing some.Linus Nordberg2014-05-041-4/+7
|
* Adopt to first user -- ctls.Linus Nordberg2014-05-044-16/+27
| | | | | | | | | | Return #spt_on_wire instead of serialised version of it -- user wants the timestamp in there. Store that in db too. Export serialise/1 for user to do it themselves. Add get_logid/1 -- user needs that for the CST. Make sure 'now' is turned into a proper timestamp at all levels. Debug printout in plop start_link.
* Remove start_link/0.Linus Nordberg2014-05-041-3/+1
| | | | I.e. require arguments to always be passed.