chore(deps): update go-git/go-git, ProtonMail/go-cryto, and cloudflare/circl deps (#2959)

This commit is contained in:
Aaron Prindle
2024-01-18 14:54:01 -05:00
committed by GitHub
parent 64546fd4ff
commit 539242fb4d
20 changed files with 140 additions and 511 deletions
+3 -1
View File
@@ -73,7 +73,9 @@ func (c *x448) GenerateECDH(rand io.Reader) (point []byte, secret []byte, err er
func (c *x448) Encaps(rand io.Reader, point []byte) (ephemeral, sharedSecret []byte, err error) {
var pk, ss x448lib.Key
seed, e, err := c.generateKeyPairBytes(rand)
if err != nil {
return nil, nil, err
}
copy(pk[:], point)
x448lib.Shared(&ss, &seed, &pk)