From cf57a3fb7b0ba539a8477a4c0d4b7ea2157bc865 Mon Sep 17 00:00:00 2001 From: Matt Date: Mon, 21 Apr 2014 13:43:41 -0600 Subject: [PATCH] slight naming convention change --- groestl.c | 2 +- groestl.h | 2 +- multihashing.cc | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/groestl.c b/groestl.c index 5be47b8..59f2511 100644 --- a/groestl.c +++ b/groestl.c @@ -23,7 +23,7 @@ void groestl_hash(const char* input, char* output, uint32_t len) memcpy(output, &hash2, 32); } -void groestl_myriad_hash(const char* input, char* output, uint32_t len) +void groestlmyriad_hash(const char* input, char* output, uint32_t len) { char temp[64]; diff --git a/groestl.h b/groestl.h index 9f95b80..15dc102 100644 --- a/groestl.h +++ b/groestl.h @@ -8,7 +8,7 @@ extern "C" { #include void groestl_hash(const char* input, char* output, uint32_t len); -void groestl_myriad_hash(const char* input, char* output, uint32_t len); +void groestlmyriad_hash(const char* input, char* output, uint32_t len); #ifdef __cplusplus } diff --git a/multihashing.cc b/multihashing.cc index c865b67..db1d295 100644 --- a/multihashing.cc +++ b/multihashing.cc @@ -247,7 +247,7 @@ Handle groestl(const Arguments& args) { } -Handle groestl_myriad(const Arguments& args) { +Handle groestlmyriad(const Arguments& args) { HandleScope scope; if (args.Length() < 1) @@ -263,7 +263,7 @@ Handle groestl_myriad(const Arguments& args) { uint32_t input_len = Buffer::Length(target); - groestl_myriad_hash(input, output, input_len); + groestlmyriad_hash(input, output, input_len); Buffer* buff = Buffer::New(output, 32); return scope.Close(buff->handle_); @@ -394,7 +394,7 @@ void init(Handle exports) { exports->Set(String::NewSymbol("bcrypt"), FunctionTemplate::New(bcrypt)->GetFunction()); exports->Set(String::NewSymbol("skein"), FunctionTemplate::New(skein)->GetFunction()); exports->Set(String::NewSymbol("groestl"), FunctionTemplate::New(groestl)->GetFunction()); - exports->Set(String::NewSymbol("groestl_myriad"), FunctionTemplate::New(groestl_myriad)->GetFunction()); + exports->Set(String::NewSymbol("groestlmyriad"), FunctionTemplate::New(groestlmyriad)->GetFunction()); exports->Set(String::NewSymbol("blake"), FunctionTemplate::New(blake)->GetFunction()); exports->Set(String::NewSymbol("fugue"), FunctionTemplate::New(fugue)->GetFunction()); exports->Set(String::NewSymbol("qubit"), FunctionTemplate::New(qubit)->GetFunction());