summaryrefslogtreecommitdiff
path: root/src/lib/libssl/ssl_ciph.c
diff options
context:
space:
mode:
authortb <>2024-01-04 09:47:54 +0000
committertb <>2024-01-04 09:47:54 +0000
commit76e5444b8b83a458d445e4aed6454246db6b0c88 (patch)
treebfe6ee8e2ba60c88926a794b82a3568c4d257a07 /src/lib/libssl/ssl_ciph.c
parentd168f547ff3cf9b163783adacef5060d005ca680 (diff)
downloadopenbsd-76e5444b8b83a458d445e4aed6454246db6b0c88.tar.gz
openbsd-76e5444b8b83a458d445e4aed6454246db6b0c88.tar.bz2
openbsd-76e5444b8b83a458d445e4aed6454246db6b0c88.zip
Improve length checks for oiv and iv
There are two unsigned char arrays of size EVP_MAX_IV_LENGTH to store the IVs of block ciphers. In most modes, only iv is used, but in some modes iv is modified and oiv is used to store the original IV. At the moment nothing enforces that they are of the same length. Therefore make sure the correct one or both are checked before writing to or reading from them. ok miod
Diffstat (limited to 'src/lib/libssl/ssl_ciph.c')
0 files changed, 0 insertions, 0 deletions