summaryrefslogtreecommitdiff
path: root/csrand/csrand.go
diff options
context:
space:
mode:
authorYawning Angel <yawning@schwanenlied.me>2014-05-24 05:06:34 +0000
committerYawning Angel <yawning@schwanenlied.me>2014-05-24 05:06:34 +0000
commit8cd2e1f0f9335221fbad892efdbb5e02e787a1e8 (patch)
tree47863b757a54e7030ab533e69868400e185ce4a3 /csrand/csrand.go
parentb3f0f51775ae2e19c62c70e15f77ef991ad4bb49 (diff)
Randomize length when the decoder receives an out-of-bound value.
This makes the length error and MAC error indistinguishable to an external attacker.
Diffstat (limited to 'csrand/csrand.go')
0 files changed, 0 insertions, 0 deletions