mirror of
https://github.com/restic/restic.git
synced 2026-11-13 06:41:04 +00:00
consistently rename signature to mac
This commit is contained in:
1 parent
c500b94216
commit
90e6a8eb86
5 files changed
+79
-76
No files matched your search
+1
-1
@@ -27,7 +27,7 @@ func (e *encryptWriter) Close() error {
|
||||
e.s.XORKeyStream(c, c)
|
||||
|
||||
// compute mac
|
||||
mac := poly1305Sign(c, iv, &e.key.Sign)
|
||||
mac := poly1305MAC(c, iv, &e.key.MAC)
|
||||
e.data = append(e.data, mac...)
|
||||
|
||||
// write everything
|
||||
|
||||
Reference in new issue
Block a user