mirror of
https://github.com/restic/restic.git
synced 2026-11-13 06:41:04 +00:00
crypto: Rename internal functions
This commit is contained in:
1 parent
7a7cc5b39f
commit
7b6bd98c9e
3 files changed
+7
-7
No files matched your search
+1
-1
@@ -22,7 +22,7 @@ type encryptWriter struct {
|
||||
|
||||
func (e *encryptWriter) Close() error {
|
||||
// write mac
|
||||
mac := poly1305_sign(e.data.Bytes()[ivSize:], e.data.Bytes()[:ivSize], &e.key.Sign)
|
||||
mac := poly1305Sign(e.data.Bytes()[ivSize:], e.data.Bytes()[:ivSize], &e.key.Sign)
|
||||
_, err := e.origWr.Write(mac)
|
||||
if err != nil {
|
||||
return err
|
||||
|
||||
Reference in new issue
Block a user