mirror of
https://github.com/refraction-networking/utls.git
synced 2025-04-03 20:17:36 +03:00
update: remove circl dependencies for kyber
This commit is contained in:
parent
ff854c45c6
commit
0114defe06
7 changed files with 69 additions and 244 deletions
12
u_common.go
12
u_common.go
|
@ -87,6 +87,18 @@ const (
|
|||
FakeCurveFFDHE8192 CurveID = 0x0104
|
||||
)
|
||||
|
||||
const (
|
||||
X25519Kyber768Draft00 CurveID = x25519Kyber768Draft00
|
||||
|
||||
FakeCurveX25519Kyber512Draft00 CurveID = 0xfe30
|
||||
FakeCurveX25519Kyber768Draft00Old CurveID = 0xfe31
|
||||
FakeCurveP256Kyber768Draft00 CurveID = 0xfe32
|
||||
|
||||
X25519Kyber512Draft00 CurveID = FakeCurveX25519Kyber512Draft00
|
||||
X25519Kyber768Draft00Old CurveID = FakeCurveX25519Kyber768Draft00Old
|
||||
P256Kyber768Draft00 CurveID = FakeCurveP256Kyber768Draft00
|
||||
)
|
||||
|
||||
// Other things
|
||||
const (
|
||||
fakeRecordSizeLimit uint16 = 0x001c
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue