consistently rename signature to mac

This commit is contained in:
Florian Weingarten committed 2015-04-30 13:41:50 -04:00
1 parent c500b94216
commit 90e6a8eb86
5 files changed
+79 -76

No files matched your search

+1 -1
View File
@@ -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