Commit Graph

2 Commits (c3acefb7e5aa5ef4cd65fc77ad4caa917efda130)

Author SHA1 Message Date
Yawning Angel 433ff8027d Fix a comment (No functional changes). 10 years ago
Yawning Angel 9712aec73b Preliminary support padding, log on panic.
This adds preliminary support for data padding by adding another layer
of encapsulation inside each AEAD frame containing a type and length.
For now, data is still sent unpadded, but the infrastructure for
supporting it is mostly there.

Additionally, use log.Panic[f]() instead of panic through out the code
so that some panics are logged.
10 years ago