Il sito funziona meglio con JavaScript.
Home
Esplora
Aiuto
Accedi
kris
/
th5
Segui
1
Vota
0
Forka
0
Codice
Problemi
0
Pull Requests
0
Rilasci
0
Wiki
Attività
Sfoglia il codice sorgente
sidh: API
v1.2.3
Kris Kwiatkowski
6 anni fa
committed by
Kris Kwiatkowski
parent
ed36ba540a
commit
7c79cbefc5
2 ha cambiato i file
con
15 aggiunte
e
0 eliminazioni
Visualizzazione separata
Opzioni Diff
Mostra statistiche
Scarica il file Patch
Scarica il file Diff
+6
-0
13.go
+9
-0
common.go
+ 6
- 0
13.go
Vedi File
@@ -29,6 +29,12 @@ import (
const numSessionTickets = 2
type secretLabel int
type role uint8
const (
kRole_Server = iota
kRole_Client
)
const (
secretResumptionPskBinder secretLabel = iota
+ 9
- 0
common.go
Vedi File
@@ -116,10 +116,19 @@ const (
type CurveID uint16
const (
// Unexported
sidhP503 CurveID = 0
sidhP751 CurveID = 1
// Exported IDs
CurveP256 CurveID = 23
CurveP384 CurveID = 24
CurveP521 CurveID = 25
X25519 CurveID = 29
// Experimental KEX
HybridSidhP503Curve25519 CurveID = 0x0105 + sidhP503 // HybridSIDH: X25519 + P503
HybridSidhP751Curve448 CurveID = 0x0105 + sidhP751 // HybridSIDH: X448 + P751
)
// TLS 1.3 Key Share
Scrivi
Anteprima
Caricamento…
Annulla
Salva