pornin / CTTK

Constant-Time Toolkit
MIT License
294 stars 14 forks source link

Fixed warnings #4

Closed waywardgeek closed 6 years ago

waywardgeek commented 6 years ago

I got warnings when compiling in the code different environments. Cross-compiling to an ARM m3 architecture flagged some places where unsigned was assumed to be the same type as uint32_t, Another stricter compilation environment complained that parameter names in declarations do not match those in the definition.

These changes fixed my warnings, but I am not very confident I made all the right decisions. Please feel free to fix my mistakes in this patch.