Module exonum_sodiumoxide::utils
source · [−]Expand description
Libsodium utility functions
Functions
increment_le()
treats x
as an unsigned little-endian number and increments it.
memcmp()
returns true if x[0]
, x[1]
, …, x[len-1]
are the
same as y[0]
, y[1]
, …, y[len-1]
. Otherwise it returns false
.
memzero()
tries to effectively zero out the data in x
even if
optimizations are being applied to the code.