by nicce · 4y ago · 0 comments
In contrast BearSSL is kept simple, and is primarily the work of a single author, who knows a lot about cryptography
Smaller code helps prevent bugs, as there's simply less code where bugs could be.
Thus it is not as clear as you picture it.
What is clear, however, is that it should be easier to make BearSSL's code bug-free, by virtue of having less code.
Which makes it complicated.
On the other hand, every bug in OpenSSL gets CVE mark and will end up into the news. It gives distorted view and comparison of the software quality between many projects.
I still can't comprehend how the industry didn't simply move to libressl early on.
And Heartbleed bug was in the extension, not in the core software.
> (citation needed, btw)
Not really. But if you insist, OpenSSL is defacto crypto library [1] , at least on server side. Browsers and OpenSSL takes the most burden for securing every-day use of internet in the world. There are billions testers every day.
Sure, this is done all the time via verification and other formal methods. It's not common in the industry, but not entirely uncommon either.
Using proofs just shifts the bugs into the assumptions/axioms (i.e you think your proof is proving X but it's actually proving Y)
It is not recommended to use for general parties, even Google does not recommend.