mirror of https://github.com/zcash/zips.git
We only use unsigned integers, and there should be no unspecified formats
(except Pour proofs, currently). Signed-off-by: Daira Hopwood <daira@jacaranda.org>
This commit is contained in:
parent
d9fea514aa
commit
a9ef6f47ab
|
@ -168,13 +168,8 @@ protected by zero-knowledge succinct non-interactive arguments of knowledge
|
|||
|
||||
\subsection{Integers and Endianness}
|
||||
|
||||
Abstractly, integers have a signedness (signed or unsigned), and a bit length.
|
||||
The limits are the same as for the usual two's complement system. All integers
|
||||
in the publicly-visible \Zcash protocol are encoded in big endian two's
|
||||
complement.
|
||||
|
||||
If unspecified, curve points, field elements, etc., are encoded according to the
|
||||
crypto libraries the \Zcash implementation uses.
|
||||
All integers visible in \Zcash-specific encodings are unsigned, have a fixed
|
||||
bit length, and are encoded as big-endian.
|
||||
|
||||
\subsection{Cryptographic Functions}
|
||||
|
||||
|
|
Loading…
Reference in New Issue