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.
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...