OpenKMIP / libkmip

A C implementation of the KMIP specification.
Other
38 stars 25 forks source link

Update the integer encoding functions to remove left shifts #49

Closed PeterHamilton closed 4 years ago

PeterHamilton commented 4 years ago

This change updates the integer encoding functions to remove the use of left shift, which caused a series of UncharacterizedAlerts. This change also explicitly recasts signed integer values to unsigned integer values, since only the raw byte values are needed for the encoding process.