summaryrefslogtreecommitdiff
path: root/internal/cryptocore/gcm_go1.4.go
diff options
context:
space:
mode:
authorJakob Unterwurzacher2016-07-03 15:35:58 +0200
committerJakob Unterwurzacher2016-07-03 15:35:58 +0200
commite574a6cc1f053a16158bd228cf0ec9c6b255ad09 (patch)
tree5964982fa8f93b1e24be1f8a229ff7e197501fd2 /internal/cryptocore/gcm_go1.4.go
parentd5b7eb33daec612626305c961b7ec6d5eccd79a7 (diff)
nametransform: hide detailed padding error behind the debug flag
unPad16 returns detailed errors including the position of the incorrect bytes. Kill a possible padding oracle by lumping everything into a generic error. The detailed error is only logged if debug is active.
Diffstat (limited to 'internal/cryptocore/gcm_go1.4.go')
0 files changed, 0 insertions, 0 deletions