Commit graph

5211 commits

Author SHA1 Message Date
Adam Ierymenko
a20aebaaf8
Some work on delay function... which is delaying us... but need to get it right because its hard as hell to change later. 2020-03-09 15:19:58 -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
05e52493a4
Go module update 2020-03-03 07:41:15 -08:00
Adam Ierymenko
d8f1e01b77
cleanup 2020-03-03 07:40:19 -08:00
Adam Ierymenko
da5b11bf2d
Rename version constants to something more canonical, and more cleanup. 2020-03-03 07:38:51 -08:00
Adam Ierymenko
b824ea7bcf
Add buffer life cycle stuff to API for fewer memcpys. 2020-03-02 17:15:00 -08:00
Adam Ierymenko
b96ea5ae03
Fingerprint string conversion, API stuff 2020-03-02 15:13:34 -08:00
Adam Ierymenko
fbd3e10488
cleanup 2020-03-02 14:41:15 -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
a8db4a8d2d
Minor future proofing and cleanup in CertificateOfMembership, improve comments in a few places. 2020-03-02 10:25:15 -08:00
Adam Ierymenko
6b49148d4e
More cross-platform build fixes and add tests for hton/ntoh/other byte order stuff because breakage there would be annoying. 2020-02-28 11:27:30 -08:00
Adam Ierymenko
77e59818a3
dead code removal 2020-02-27 15:59:39 -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
ed8271530f
cleanup 2020-02-27 14:54:15 -08:00
Adam Ierymenko
8e4d7c56d8
Stub out a protocol field in Endpoint INETADDR types for future use. 2020-02-27 14:24:11 -08:00
Adam Ierymenko
0598315d68
Fix V1 sample ID 2020-02-27 12:59:00 -08:00
Adam Ierymenko
05e5d08959
A little more delay margin 2020-02-27 12:13:12 -08:00
Adam Ierymenko
ca33eaf28d
FPU trick seems to always be faster 2020-02-27 12:09:26 -08:00
Adam Ierymenko
13e86fdb6c
lalala build fixes 2020-02-27 11:57:45 -08:00
Adam Ierymenko
ffbd18f4ef
build fix 2020-02-27 11:52:32 -08:00
Adam Ierymenko
fabb0f734a
build fix 2020-02-27 11:47:01 -08:00
Adam Ierymenko
1e59d92df3
warning removal 2020-02-27 11:45:56 -08:00
Adam Ierymenko
ecd09946e6
warning removal 2020-02-27 11:45:06 -08:00
Adam Ierymenko
789b8b8454
compile fix 2020-02-27 11:43:54 -08:00
Adam Ierymenko
f107a71796
docs, compile fixes. 2020-02-27 11:42:00 -08:00
Adam Ierymenko
066b4c27a4
tweaks 2020-02-27 10:31:55 -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
c5bd21a23e
various optimization 2020-02-26 17:00:03 -08:00
Adam Ierymenko
1c7e1da4d1
cleanup, docs 2020-02-26 12:40:29 -08:00
Adam Ierymenko
5cec5fe6b1
Make Fingerprint (a full length identity hash) a first class type 2020-02-26 11:39:18 -08:00
Adam Ierymenko
ea0961dfd2
docs 2020-02-26 11:32:54 -08:00
Adam Ierymenko
f20905b08a
Throw some more mulmod52 implementations in there (but currently disabled) for future use so we do not have to hunt them down again. 2020-02-26 11:31:03 -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
27ab88db1e
little stuff 2020-02-25 16:21:51 -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
5c14a072d5
rename 2020-02-25 06:03:24 -08:00
Adam Ierymenko
4eb491065b
clean out old files 2020-02-25 06:03:04 -08:00
Adam Ierymenko
b87e8d8e41
readability++ 2020-02-25 06:00:52 -08:00
Adam Ierymenko
a58f11e601
Tweak protocol getPacketId(), unit tests for defragmenter, AES fix. 2020-02-25 05:36:48 -08:00
Adam Ierymenko
547f39bb49
Fixes for Buf, unit test 2020-02-24 15:40:19 -08:00
Adam Ierymenko
df99f5e3f3
More crypto benchmarks 2020-02-24 14:44:20 -08:00
Adam Ierymenko
15e88a8b7e
MOAR AES V-TEC 2020-02-24 13:53:50 -08:00
Adam Ierymenko
61b72d42b8
More AES tweaks 2020-02-24 13:30:35 -08:00
Adam Ierymenko
56bf504ec2
Small AES tweak 2020-02-24 12:48:56 -08:00
Adam Ierymenko
1f02250dd8
Ridiculously fast AES-CTR 2020-02-24 11:56:37 -08:00
Adam Ierymenko
5d0c6db19c
Crypto fixes and benchmarks. 2020-02-21 19:32:36 -08:00