Jason A. Donenfeld
9eb3221f1d
global: bump copyright notice
...
Signed-off-by: Jason A. Donenfeld <[email protected] >
2025-05-05 15:05:35 +02:00
Jason A. Donenfeld
ebbd4a4330
global: bump copyright year
...
Signed-off-by: Jason A. Donenfeld <[email protected] >
2023-02-07 20:39:29 -03:00
Jason A. Donenfeld
bb719d3a6e
global: bump copyright year
...
Signed-off-by: Jason A. Donenfeld <[email protected] >
2022-09-20 17:21:32 +02:00
Brad Fitzpatrick
b51010ba13
all: use Go 1.19 and its atomic types
...
Signed-off-by: Brad Fitzpatrick <[email protected] >
Signed-off-by: Jason A. Donenfeld <[email protected] >
2022-09-04 12:57:30 +02:00
Jason A. Donenfeld
d4112d9096
global: bump copyright
...
Signed-off-by: Jason A. Donenfeld <[email protected] >
2021-01-28 17:52:15 +01:00
Josh Bleecher Snyder and David Anderson
70861686d3
device: fix races from changing private_key
...
Access keypair.sendNonce atomically.
Eliminate one unnecessary initialization to zero.
Mutate handshake.lastSentHandshake with the mutex held.
Co-authored-by: David Anderson <[email protected] >
Signed-off-by: Josh Bleecher Snyder <[email protected] >
2021-01-07 14:49:44 +01:00
Riobard Zhan
2c143dce0f
replay: minor API changes to more idiomatic Go
...
Signed-off-by: Riobard Zhan <[email protected] >
Signed-off-by: Jason A. Donenfeld <[email protected] >
2020-10-14 10:46:00 +02:00
Jason A. Donenfeld
db0aa39b76
global: update header comments and modules
...
Signed-off-by: Jason A. Donenfeld <[email protected] >
2020-05-02 02:08:26 -06:00
Jason A. Donenfeld
28c4d04304
device: use atomic access for unlocked keypair.next
...
Go's GC semantics might not always guarantee the safety of this, and the
race detector gets upset too, so instead we wrap this all in atomic
accessors.
Reported-by: David Anderson <[email protected] >
Signed-off-by: Jason A. Donenfeld <[email protected] >
2020-05-02 01:56:48 -06:00
Jason A. Donenfeld
3bf41b06ae
global: regroup all imports
2019-05-14 09:09:52 +02:00
Jason A. Donenfeld
69f0fe67b6
global: begin modularization
2019-03-03 05:00:40 +01:00