☰
Debian Codegraph
@
0.18.5.0+~0+20260428-1
/
/
Xsupercop
/
crypto_sign
/
ed25519
/
amd64-51-30k
/
sc25519_iszero.c
☽
☼
Xsupercop/crypto_sign/ed25519/amd64-51-30k/sc25519_iszero.c
code
plain
raw
symbols
SCIP
BSD-3-clause
2017 Raymond Chen, Microsoft; 2012-2013 The Cryptonote developers; 2014-2026 The Monero Project
debian/copyright
1
#include
"sc25519.h"
2
3
int
sc25519_iszero_vartime
(
const
sc25519
*x)
4
{
5
if
(x->
v
[
0
] !=
0
)
return
0
;
6
if
(x->
v
[
1
] !=
0
)
return
0
;
7
if
(x->
v
[
2
] !=
0
)
return
0
;
8
if
(x->
v
[
3
] !=
0
)
return
0
;
9
return
1
;
10
}