Commit graph

117 commits

Author SHA1 Message Date
Adam Ierymenko
3c11c13af4
More reorg, work in progress. 2020-06-05 13:04:37 -07:00
Adam Ierymenko
89c27c112a
Flesh out tests, fix a signing bug. 2020-05-30 19:08:45 -07:00
Adam Ierymenko
864e33cf2d
A bunch of build fixes. 2020-05-29 07:06:00 -07:00
Adam Ierymenko
b9bf6d1242
Simplification of addRoot/removeRoot, and some code reformatting and other cleanup across multiple files. 2020-05-29 06:30:02 -07:00
Adam Ierymenko
c881094202
Warning removal. 2020-05-25 09:55:47 -07:00
Adam Ierymenko
6051c973d3
A bunch of warning removal, build fixes, and cleanup. 2020-05-25 09:48:18 -07:00
Adam Ierymenko
8ebbbc33cc
Clean up and revise how roots are added/specced. 2020-05-21 11:21:39 -07:00
Adam Ierymenko
f209037efe
Cleanup, slightly slow down V1 identity generation, faster Salsa20 (by a bit). 2020-05-19 10:13:12 -07:00
Adam Ierymenko
aad21cf395
Blazing fast VAES (256 and 512) AES-CTR, Identity fixes, test fixes. 2020-05-18 16:29:41 -07:00
Adam Ierymenko
d537428421
Build fixes. 2020-05-18 09:44:23 -07:00
Adam Ierymenko
996589894d
Build fixes 2020-05-14 11:53:45 -07:00
Adam Ierymenko
d3777b3eb4
A bunch of boring formattings stuff, etc. 2020-05-14 10:55:41 -07:00
Adam Ierymenko
b533c300d8
A ton more work... almost there 2020-04-28 19:52:09 -07:00
Adam Ierymenko
2b0127c26d
Work in progress on crypto stuff, refactoring to back out of use of structs for encode/decode as it is questionably portable. 2020-04-16 12:34:51 -07:00
Adam Ierymenko
c65391a344
Add symmetric key container, tons of cleanup. 2020-04-06 16:54:35 -07:00
Adam Ierymenko
fbf4ae823b
Clean up timing stuff in Peer and make it more rational, implement some more P2P stuff, rename some methods, cleanup cleanup cleanup. 2020-04-03 10:18:46 -07:00
Adam Ierymenko
b9f60fc3c2
A bunch of warning removal and LINT cleanliness. 2020-03-31 12:35:54 -07:00
Adam Ierymenko
1f85b0402e
Just use unordered_map, and some other cleanup. 2020-03-31 09:01:58 -07:00
Adam Ierymenko
9428fc53f6
A bunch of cleanup, bug fix, just use unordered_map, etc. 2020-03-30 17:28:23 -07:00
Adam Ierymenko
1f2e94a51d
Some optimization and raw memory access cleanup. 2020-03-27 07:40:14 -07:00
Adam Ierymenko
37d4e83fad
ARM64 build fixes 2020-03-16 09:24:57 -07:00
Adam Ierymenko
c7f3f3add9
Small fix, docs, warning removal. 2020-03-16 06:14:41 -07:00
Adam Ierymenko
1c7baa544b
Reduce PoW cost just a bit. 2020-03-15 20:14:35 -07:00
Adam Ierymenko
3408839b33
build fix 2020-03-15 20:07:21 -07:00
Adam Ierymenko
a7409486bb
minor stuff 2020-03-15 19:44:40 -07:00
Adam Ierymenko
cf24ed4108
This PoW seems decent 2020-03-15 14:08:53 -07:00
Adam Ierymenko
8a379ba0a1
The MIMC thing was neat but unfortunately is amenable to too much GPU acceleration. 2020-03-14 20:29:44 -07:00
Adam Ierymenko
1e457dbd76
Fix tests, fix identity issue 2020-03-14 12:08:40 -07:00
Adam Ierymenko
5463c70aaf
Minor stuff, and some docs 2020-03-06 12:18:20 -08:00
Adam Ierymenko
24e30a684b
A bunch of little nit-picky header and name cleanup. 2020-03-04 08:16:44 -08:00
Adam Ierymenko
b96ea5ae03
Fingerprint string conversion, API stuff 2020-03-02 15:13:34 -08:00
Adam Ierymenko
51f0882849
comments 2020-03-02 14:39:42 -08:00
Adam Ierymenko
416068f68e
Regularize use of fingerprint concept across code. 2020-03-02 12:09:38 -08:00
Adam Ierymenko
6262374205
Add tests for identity marshal/unmarshal and fix an issue found. 2020-02-27 15:40:31 -08:00
Adam Ierymenko
05e5d08959
A little more delay margin 2020-02-27 12:13:12 -08:00
Adam Ierymenko
fbfa99fac5
Speed up V1 identity verification a little, and add some comments. 2020-02-27 09:43:58 -08:00
Adam Ierymenko
1c7e1da4d1
cleanup, docs 2020-02-26 12:40:29 -08:00
Adam Ierymenko
83e79e1a1b
V1 identities now use a VDF (verifiable delay function) 2020-02-26 11:08:03 -08:00
Adam Ierymenko
c6a7b5774c
MIMC52 2020-02-26 09:58:28 -08:00
Adam Ierymenko
1b71b6d01a
hash() -> fingerprint() 2020-02-25 16:15:14 -08:00
Adam Ierymenko
dcb3d49d35
Cleanup, Address refactoring, tweak V1 identity generation a bit. 2020-02-25 16:08:27 -08:00
Adam Ierymenko
f109f2e612
Identity v1 hash tweak 2020-02-21 08:10:43 -08:00
Adam Ierymenko
0589964f99
Yet more cleanup, and add meters to paths. 2020-02-19 11:06:05 -08:00
Adam Ierymenko
b70ab0d354
Include file cleanup, docs, and build fixes. 2020-02-19 10:18:52 -08:00
Adam Ierymenko
1e0a930d23
Create a container for identity hashes, replace some "volatile" hacky junk with std::atomic, clean up some security checks, rename raw data in Buf to unsafeData to permit search for unsafe. 2020-02-19 09:28:18 -08:00
Adam Ierymenko
a0ac4a744e
Change the type 1 identity a bit to make locallyValidate() super fast, eliminating a scaling issue with v0. 2020-02-17 15:09:26 -08:00
Adam Ierymenko
f21ecb3762
Yet more major and very nit-picky refactoring for performance, etc. Also use std::atomic<> now with a TODO to implement a shim if we ever do need to build this on a pre-c++11 compiler. 2020-02-12 14:04:25 -08:00
Adam Ierymenko
60de5ed3dd
It almost compiles again 2020-02-07 13:54:17 -08:00
Adam Ierymenko
91ce4c4ea6
Refactoring protocol marshal/unmarshal code... 2020-01-24 21:16:07 -08:00
Adam Ierymenko
33bb61c63d
Loads of refactoring, integration of new version of Trace. 2020-01-23 13:05:33 -08:00