Skip to content
Snippets Groups Projects
Commit 897da4ee authored by Gaël PORTAY's avatar Gaël PORTAY
Browse files

Uses k_size as an signed integer

buf_incrwritepos() and mp_to_unsigned_bin() functions use k_size as signed
integer argument.

k_size is also used in an assertion that compared it to curve_size which is
a signed long.

Only buf_getwriteptr() is using k_size as unsigned.

So it safe to use it as signed.
parent 90f9f433
Branches
Tags
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment