Este sítio funciona melhor com JavaScript.
Página inicial
Explorar
Ajuda
Iniciar sessão
kris
/
th5
Vigiar
1
Marcar como favorito
0
Derivar
0
Código
Questões
0
Pedidos de integração
0
Lançamentos
0
Wiki
Trabalho
Ver a proveniência
sidh: API
v1.2.3
Kris Kwiatkowski
há 6 anos
committed by
Kris Kwiatkowski
ascendente
ed36ba540a
cometimento
7c79cbefc5
2 ficheiros alterados
com
15 adições
e
0 eliminações
Visualização em 2 colunas
Opções das diferenças
Mostrar estatísticas
Descarregar ficheiro patch
Descarregar ficheiro diff
+6
-0
13.go
+9
-0
common.go
+ 6
- 0
13.go
Ver ficheiro
@@ -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
Ver ficheiro
@@ -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
Escrever
Pré-visualizar
Carregando…
Cancelar
Guardar