RustCrypto / crypto-bigint

Cryptography-oriented big integer library with constant-time, stack-allocated (no_std-friendly) implementations of modern formulas
Apache License 2.0
167 stars 45 forks source link

Account for Bincode allowing trailing bytes by default #607

Closed daxpedda closed 3 weeks ago

daxpedda commented 3 weeks ago

Adjusting the test to account for Bincode allowing trailing bytes by default. See the Bincode documentation on this matter.

Fixes #605. Cc @dvdplm and thank you for finding the issue.