RustCrypto / hybrid-array

Hybrid typenum/const generic arrays
Apache License 2.0
9 stars 8 forks source link

Correct misunderstanding about bit direction for extra sizes #89

Closed jmwample closed 1 month ago

jmwample commented 1 month ago

In a previous pull request #84 I added several sizes, but mistook the direction of the binary representation of the added values. Along with that one of the sizes was calculated incorrectly. (My apologies!)

This corrects both of those errors, successfully tested using the downstream library. Also I checked (via script) all of the other binary representations and and they all match the assigned values.