Commit graph

5240 commits

Author SHA1 Message Date
Adam Ierymenko
1f2e94a51d
Some optimization and raw memory access cleanup. 2020-03-27 07:40:14 -07:00
Adam Ierymenko
3f32cffc40
dead code removal 2020-03-26 15:56:26 -07:00
Adam Ierymenko
3914964a35
AES docs 2020-03-26 15:55:31 -07:00
Adam Ierymenko
bedf63e257
Some minor security tightening stuff and AES fixes. 2020-03-26 13:54:15 -07:00
Adam Ierymenko
d151d731a6
(1) Mask bit 31 of AES-CTR nonce to disallow uint32 overflow, (2) get rid of handling of uint32/uint64 overflow in our AES-CTR code to optimize, (3) optimize AES software a bit 2020-03-26 10:28:59 -07:00
Adam Ierymenko
2d862f1d32
Little comments and stuff 2020-03-26 08:38:23 -07:00
Adam Ierymenko
f92fca03a0
Update SIV diagram, length pad AAD. 2020-03-25 15:09:49 -07:00
Adam Ierymenko
b5c01999b8
More tweaks to COM stuff. 2020-03-25 14:10:26 -07:00
Adam Ierymenko
e9da35bac3
Harden some stuff around COMs and members of networks. 2020-03-25 13:21:50 -07:00
Adam Ierymenko
d3a7468e83
Implement AES-GMAC-SIV and benchmark, rework COM and add a lot of comments and docs, and comments and docs elsewhere too. 2020-03-25 09:05:44 -07:00
Adam Ierymenko
f3540a5c7c
Linux build fixes, warning removal. 2020-03-24 08:39:54 -07:00
Adam Ierymenko
8cf6808c50
build fix 2020-03-23 16:24:39 -07:00
Adam Ierymenko
274db26339
Fix accidentally removed file. 2020-03-23 16:15:36 -07:00
Adam Ierymenko
490b9c4d79
Moar build fixes, clock perf improvement. 2020-03-23 16:12:45 -07:00
Adam Ierymenko
2da096944d
Everything but root builds now. Back to testing. 2020-03-18 07:20:04 -07:00
Adam Ierymenko
83f830618f
It almost builds! 2020-03-17 16:27:31 -07:00
Adam Ierymenko
cdbb86b830
ARM64 stuff 2020-03-16 09:57:51 -07:00
Adam Ierymenko
483b47474d
ARM64 stuff 2020-03-16 09:51:18 -07:00
Adam Ierymenko
1d314858ef
ARM64 build fixes 2020-03-16 09:27:56 -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
4b20638568
more test fixes 2020-03-14 15:27:01 -07:00
Adam Ierymenko
eebe2046f0
docs 2020-03-14 12:17:30 -07:00
Adam Ierymenko
1e457dbd76
Fix tests, fix identity issue 2020-03-14 12:08:40 -07:00
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