crypto.Decapsulator.Encapsulator (method)
9 uses
crypto (current package)
crypto.go#L262: Encapsulator() Encapsulator
crypto/hpke
pq.go#L286: if _, ok := pq.Encapsulator().(*mlkem.EncapsulationKey768); !ok {
pq.go#L291: if _, ok := pq.Encapsulator().(*mlkem.EncapsulationKey768); !ok {
pq.go#L296: if _, ok := pq.Encapsulator().(*mlkem.EncapsulationKey1024); !ok {
pq.go#L329: pq: k.pq.Encapsulator(),
pq.go#L482: switch priv.Encapsulator().(type) {
pq.go#L534: pq: k.pq.Encapsulator(),
crypto/tls
key_schedule.go#L193: shareData = append(priv.mlkem.Encapsulator().Bytes(), ecdhShares[0].data...)
key_schedule.go#L195: shareData = append(ecdhShares[0].data, priv.mlkem.Encapsulator().Bytes()...)
![]() |
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |