summaryrefslogtreecommitdiff
path: root/src/lib/libc/stdlib/random.c
diff options
context:
space:
mode:
authortb <>2020-04-27 19:31:02 +0000
committertb <>2020-04-27 19:31:02 +0000
commit30a0f6e6eb2e9f8944e28e141ddfa6f640033c2c (patch)
tree690e769e57ab9ebb2919a9465adde8c1621ffb33 /src/lib/libc/stdlib/random.c
parent241295e8155a67d455196dd25c2c9728ad04ca61 (diff)
downloadopenbsd-30a0f6e6eb2e9f8944e28e141ddfa6f640033c2c.tar.gz
openbsd-30a0f6e6eb2e9f8944e28e141ddfa6f640033c2c.tar.bz2
openbsd-30a0f6e6eb2e9f8944e28e141ddfa6f640033c2c.zip
Disallow the use of zero length IVs in AES-GCM via
EVP_AEAD_CTX_{open,seal}, as this leaks the authentication key. Issue reported and fix tested by Guido Vranken. ok beck, jsing This commit adds a constant to a public header despite library lock, as discussed with deraadt and sthen.
Diffstat (limited to 'src/lib/libc/stdlib/random.c')
0 files changed, 0 insertions, 0 deletions