Searched refs:ecdhKEM (Results 1 – 2 of 2) sorted by relevance
/external/boringssl/src/ssl/test/runner/ |
D | key_agreement.go | 249 type ecdhKEM struct { struct 255 func (e *ecdhKEM) generate(rand io.Reader) (publicKey []byte, err error) { argument 272 func (e *ecdhKEM) encap(rand io.Reader, peerKey []byte) (ciphertext []byte, secret []byte, err erro… argument 284 func (e *ecdhKEM) decap(ciphertext []byte) (secret []byte, err error) { argument 346 …return &ecdhKEM{curve: elliptic.P224(), sendCompressed: config.Bugs.SendCompressedCoordinates}, tr… 348 …return &ecdhKEM{curve: elliptic.P256(), sendCompressed: config.Bugs.SendCompressedCoordinates}, tr… 350 …return &ecdhKEM{curve: elliptic.P384(), sendCompressed: config.Bugs.SendCompressedCoordinates}, tr… 352 …return &ecdhKEM{curve: elliptic.P521(), sendCompressed: config.Bugs.SendCompressedCoordinates}, tr…
|
/external/cronet/third_party/boringssl/src/ssl/test/runner/ |
D | key_agreement.go | 249 type ecdhKEM struct { struct 255 func (e *ecdhKEM) generate(rand io.Reader) (publicKey []byte, err error) { argument 272 func (e *ecdhKEM) encap(rand io.Reader, peerKey []byte) (ciphertext []byte, secret []byte, err erro… argument 284 func (e *ecdhKEM) decap(ciphertext []byte) (secret []byte, err error) { argument 346 …return &ecdhKEM{curve: elliptic.P224(), sendCompressed: config.Bugs.SendCompressedCoordinates}, tr… 348 …return &ecdhKEM{curve: elliptic.P256(), sendCompressed: config.Bugs.SendCompressedCoordinates}, tr… 350 …return &ecdhKEM{curve: elliptic.P384(), sendCompressed: config.Bugs.SendCompressedCoordinates}, tr… 352 …return &ecdhKEM{curve: elliptic.P521(), sendCompressed: config.Bugs.SendCompressedCoordinates}, tr…
|