diff options
author | tedu <> | 2014-12-29 16:12:59 +0000 |
---|---|---|
committer | tedu <> | 2014-12-29 16:12:59 +0000 |
commit | 15c08499feb2a77f298159a4291118c1be540c87 (patch) | |
tree | a2c18c6c3329f18637e0be843cec170757390714 /src/lib/libc/crypt/cryptutil.c | |
parent | a7d85cf7039c61eee67b7d87f077183e369c2215 (diff) | |
download | openbsd-15c08499feb2a77f298159a4291118c1be540c87.tar.gz openbsd-15c08499feb2a77f298159a4291118c1be540c87.tar.bz2 openbsd-15c08499feb2a77f298159a4291118c1be540c87.zip |
don't leak timing info about padding errors by generating a fake key
afterwards. openssl has a more complicated fix, but it's less intrusive
for now to simply hoist the expensive part (fake key generation) up without
sweating a branch or two.
ok bcook jsing
Diffstat (limited to 'src/lib/libc/crypt/cryptutil.c')
0 files changed, 0 insertions, 0 deletions