Skip to content

Commit

Permalink
tls Add support for X25519Kyber768Draft00 post-quantum "curve" …
Browse files Browse the repository at this point in the history
… when compiled with cfgo (https://github.com/cloudflare/go).
  • Loading branch information
bwesterb committed Oct 2, 2023
1 parent 82c356f commit cfb2213
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions modules/caddytls/cf.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
//go:build cfgo
package caddytls

import (
"crypto/tls"
)

func init() {
SupportedCurves["X25519Kyber768Draft00"] = tls.X25519Kyber768Draft00
}

0 comments on commit cfb2213

Please sign in to comment.