Open frochet opened 3 years ago
Repeat the zeroes, which is the frame type.
Woh. That's going to be way too costly to unpack. A length is more appropriate.
a padding with length would make sense
There's a third direction that could also be investigated. AEAD ciphers already provide padding capabilities, and it might be possible to instrument them to add padding.
The advantage would be that the padding would be removed during the decryption, and not to be handled by the TCPLS implementation at the receiver side, leading to a slight speedup. However, as of now, I am not entirely sure this could work seamlessly.
I am not sure to understand why Padding Frame has no content.
How can we specify sending a record of N bytes that are just padding? We would need a Length field in Padding frame, no?