|
|
Warp wrote:
> I wonder how they make sure that an implementation is correct...
Generally, code coverage and intermediate results, along with a set of
test vectors designed to cover all paths through and often showing the
intermediate results.
It's somewhat easier when your specification is "here's the C code to do
it" rather than an ambiguous description of what you're supposed to do.
Especially since there isn't any "real world" right or wrong answer,
other than "match what the C code outputs."
Plus, of course, it's designed to go wildly arwy with the slightest
peturbation of the process, so even tiny bugs tend to produce completely
different results. Which is its own debugging problem.
--
Darren New / San Diego, CA, USA (PST)
Remember the good old days, when we
used to complain about cryptography
being export-restricted?
Post a reply to this message
|
|