Skip to content

Commit cf57a3f

Browse files
committed
slight naming convention change
1 parent d098617 commit cf57a3f

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

groestl.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ void groestl_hash(const char* input, char* output, uint32_t len)
2323
memcpy(output, &hash2, 32);
2424
}
2525

26-
void groestl_myriad_hash(const char* input, char* output, uint32_t len)
26+
void groestlmyriad_hash(const char* input, char* output, uint32_t len)
2727
{
2828
char temp[64];
2929

groestl.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ extern "C" {
88
#include <stdint.h>
99

1010
void groestl_hash(const char* input, char* output, uint32_t len);
11-
void groestl_myriad_hash(const char* input, char* output, uint32_t len);
11+
void groestlmyriad_hash(const char* input, char* output, uint32_t len);
1212

1313
#ifdef __cplusplus
1414
}

multihashing.cc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ Handle<Value> groestl(const Arguments& args) {
247247
}
248248

249249

250-
Handle<Value> groestl_myriad(const Arguments& args) {
250+
Handle<Value> groestlmyriad(const Arguments& args) {
251251
HandleScope scope;
252252

253253
if (args.Length() < 1)
@@ -263,7 +263,7 @@ Handle<Value> groestl_myriad(const Arguments& args) {
263263

264264
uint32_t input_len = Buffer::Length(target);
265265

266-
groestl_myriad_hash(input, output, input_len);
266+
groestlmyriad_hash(input, output, input_len);
267267

268268
Buffer* buff = Buffer::New(output, 32);
269269
return scope.Close(buff->handle_);
@@ -394,7 +394,7 @@ void init(Handle<Object> exports) {
394394
exports->Set(String::NewSymbol("bcrypt"), FunctionTemplate::New(bcrypt)->GetFunction());
395395
exports->Set(String::NewSymbol("skein"), FunctionTemplate::New(skein)->GetFunction());
396396
exports->Set(String::NewSymbol("groestl"), FunctionTemplate::New(groestl)->GetFunction());
397-
exports->Set(String::NewSymbol("groestl_myriad"), FunctionTemplate::New(groestl_myriad)->GetFunction());
397+
exports->Set(String::NewSymbol("groestlmyriad"), FunctionTemplate::New(groestlmyriad)->GetFunction());
398398
exports->Set(String::NewSymbol("blake"), FunctionTemplate::New(blake)->GetFunction());
399399
exports->Set(String::NewSymbol("fugue"), FunctionTemplate::New(fugue)->GetFunction());
400400
exports->Set(String::NewSymbol("qubit"), FunctionTemplate::New(qubit)->GetFunction());

0 commit comments

Comments
 (0)