summaryrefslogtreecommitdiff
path: root/node/Poly1305.cpp
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2013-09-14 13:51:08 -0400
committerAdam Ierymenko <adam.ierymenko@gmail.com>2013-09-14 13:51:08 -0400
commit660f92b6a7f91f9a4c53e0c40ce188a6f8878f04 (patch)
treec41908584b00915a7d78293e32ed6a649aa9c618 /node/Poly1305.cpp
parent09c8b4bbb37250df95ee898bcd6a0e090049d225 (diff)
downloadinfinitytier-660f92b6a7f91f9a4c53e0c40ce188a6f8878f04.tar.gz
infinitytier-660f92b6a7f91f9a4c53e0c40ce188a6f8878f04.zip
Add test vectors for ensuring identical C25519 operation across systems.
Diffstat (limited to 'node/Poly1305.cpp')
-rw-r--r--node/Poly1305.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/node/Poly1305.cpp b/node/Poly1305.cpp
index 7061ec2f..542aab27 100644
--- a/node/Poly1305.cpp
+++ b/node/Poly1305.cpp
@@ -138,7 +138,7 @@ static int crypto_onetimeauth(unsigned char *out,const unsigned char *in,unsigne
//////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////
-void Poly1305::computeAuthCode(void *auth,const void *data,unsigned int len,const void *key)
+void Poly1305::mac(void *auth,const void *data,unsigned int len,const void *key)
throw()
{
crypto_onetimeauth((unsigned char *)auth,(const unsigned char *)data,len,(const unsigned char *)key);