Substracting large numbers
The sodium_sub() function accepts two arrays of unsigned numbers encoded in little-
endian format, a and b, both of size len bytes.
It computes (a - b) mod 2^(8*len) in constant time for a given length, and overwrites a
with the result.
Substracting large numbers The sodium_sub() function accepts two arrays of unsigned numbers encoded in little- endian format, a and b, both of size len bytes. It computes (a - b) mod 2^(8*len) in constant time for a given length, and overwrites a with the result.