panic: runtime error: slice bounds out of range [-1:]
goroutine 3014 [running]:
panic({0x78c980?, 0xc00050a090?})
/usr/lib/go/src/runtime/panic.go:770 +0x132
github.com/cloudflare/circl/hpke.shortKEM.UnmarshalBinaryPrivateKey({{{0x12, {0x7aa461, 0x19}, 0x7}, {0x820178, 0xc000016240}}, {0x81fe98, 0x9ad8e0}}, {0xc0002800a0, 0x43, ...})
/home/simon/src/circl/hpke/shortkem.go:87 +0x35b
When passing a byte slice of size > 66 bytes to
shortKEM.UnmarshalBinaryPrivateKeywhen using theDHKEM(P-521, HKDF-SHA512)KEM, the following panic is triggered: