cloudflared-mirror/vendor/github.com/cisco/go-hpke
Tanya Verma e3b1f5b7d0 Add Oblivious DoH support 2020-12-07 02:52:41 -08:00
..
LICENSE Add Oblivious DoH support 2020-12-07 02:52:41 -08:00
README.md Add Oblivious DoH support 2020-12-07 02:52:41 -08:00
crypto.go Add Oblivious DoH support 2020-12-07 02:52:41 -08:00
format_vectors.py Add Oblivious DoH support 2020-12-07 02:52:41 -08:00
go.mod Add Oblivious DoH support 2020-12-07 02:52:41 -08:00
go.sum Add Oblivious DoH support 2020-12-07 02:52:41 -08:00
hpke.go Add Oblivious DoH support 2020-12-07 02:52:41 -08:00
test-vectors.json Add Oblivious DoH support 2020-12-07 02:52:41 -08:00

README.md

HPKE

Coverage Status

This repo provides a Go implementation of the HPKE primitive proposed for discussion at CFRG.

https://tools.ietf.org/html/draft-irtf-cfrg-hpke

Test vector generation

To generate test vectors, run:

$ HPKE_TEST_VECTORS_OUT=test-vectors.json go test -v -run TestVectorGenerate

To check test vectors, run:

$ HPKE_TEST_VECTORS_IN=test-vectors.json go test -v -run TestVectorVerify