Skip to content
Snippets Groups Projects
  • Gaël PORTAY's avatar
    Uses k_size as an signed integer · 897da4ee
    Gaël PORTAY authored
    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.
    897da4ee