mirror of
https://github.com/jwinterm/xmr-stak.git
synced 2026-12-02 12:33:56 +01:00
Faster multiplication
This commit is contained in:
@@ -190,23 +190,3 @@ void cryptonight_free_ctx(cryptonight_ctx* ctx)
|
||||
|
||||
_mm_free(ctx);
|
||||
}
|
||||
|
||||
void cryptonight_hash_ctx(const void* input, size_t len, void* output, cryptonight_ctx* ctx)
|
||||
{
|
||||
cryptonight_hash<0x80000, MEMORY, true, false>(input, len, output, ctx);
|
||||
}
|
||||
|
||||
void cryptonight_hash_ctx_soft(const void* input, size_t len, void* output, cryptonight_ctx* ctx)
|
||||
{
|
||||
cryptonight_hash<0x80000, MEMORY, true, true>(input, len, output, ctx);
|
||||
}
|
||||
|
||||
void cryptonight_hash_ctx_np(const void* input, size_t len, void* output, cryptonight_ctx* ctx)
|
||||
{
|
||||
cryptonight_hash<0x80000, MEMORY, false, false>(input, len, output, ctx);
|
||||
}
|
||||
|
||||
void cryptonight_double_hash_ctx(const void* input, size_t len, void* output, cryptonight_ctx* __restrict ctx0, cryptonight_ctx* __restrict ctx1)
|
||||
{
|
||||
cryptonight_double_hash<0x80000, MEMORY, false, false>(input, len, output, ctx0, ctx1);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user