forked from lthn/blockchain
removed parentheses
This commit is contained in:
parent
f1a7c25fa3
commit
8c90dc4032
1 changed files with 2 additions and 2 deletions
|
|
@ -844,11 +844,11 @@ namespace crypto
|
|||
// zeroes all elements
|
||||
void zero()
|
||||
{
|
||||
PUSH_GCC_WARNINGS()
|
||||
PUSH_GCC_WARNINGS
|
||||
DISABLE_GCC_AND_CLANG_WARNING(class-memaccess)
|
||||
size_t size_bytes = sizeof(scalar_t) * size();
|
||||
memset(data(), 0, size_bytes);
|
||||
POP_GCC_WARNINGS()
|
||||
POP_GCC_WARNINGS
|
||||
}
|
||||
|
||||
// invert all elements in-place efficiently: 4*N muptiplications + 1 inversion
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue