by IsThisObvious · 13y ago · 0 comments
Even unrelated code is heavily audited to make sure that it can't somehow impact the main control loop and cause an invalid state.
Cryptography software should be much the same.
Formal verification of software properties is an interesting field.
I assume that the crypto group I know, who developed most of the code generator I use, takes similar measures to make sure that their verified "theorems" translate correctly to code.
The unverified stage is actually the hardware, which is an open problem.