CryptoLib
CryptoLib copied to clipboard
Examine TLV bounding
Examine TLV bounding in Crypto_Process_Extended_Procedure_Pdu.
Need to ensure that TLV values in a packet are:
- Less than or equal to Max TLV Length (done, and fixed otherwise segfault - UTs exist) , and
- That TLV values make sense in the context of the length of both frames and space packets received
2 is a little more complicated and I can revisit
Behold, an example of what mismatched lengths and corrupted values can currently do - and also the point of this issue:
Need to look deeper into sa_start