News for hackers. Stuff that matters.
Re:SSH Backdoor found in Fortinet firewalls by munin on Tuesday January 12, 2016 @04:46PM (#10890651)
> You implement a formal spec for a requirement and/or high-level function that takes plaintext as input and outputs ciphertext.

this misses the relationship between the size of the plaintext and the ciphertext...

edit: part of the problem is tooling, to deal with stuff like this you need dependent types and those do exist, but not in a way that "the programmer on the street" can use...

Re:SSH Backdoor found in Fortinet firewalls by nickpsecurity on Tuesday January 12, 2016 @05:04PM (#10890770)
It doesn't and you don't. Size should be specified in both the spec (data properties) and the pre-conditions of the function implementing it.