From 660f92b6a7f91f9a4c53e0c40ce188a6f8878f04 Mon Sep 17 00:00:00 2001 From: Adam Ierymenko Date: Sat, 14 Sep 2013 13:51:08 -0400 Subject: Add test vectors for ensuring identical C25519 operation across systems. --- node/Poly1305.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'node/Poly1305.cpp') 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); -- cgit v1.2.3