mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-05 22:52:22 +02:00
It may happen that the scalars used by SECPxxxr1 turn out to be slightly smaller than their actual size when serialized to `UnsignedBigInteger`, especially for P521. Handle this case by serializing zeros instead of failing. Originally discovered as a flaky WPT test.