diff options
author | jsing <> | 2022-08-20 18:44:58 +0000 |
---|---|---|
committer | jsing <> | 2022-08-20 18:44:58 +0000 |
commit | fc53650fac6d818e74786e8e94b2d9bb8e390901 (patch) | |
tree | a11d32f1d64962ab4a6131e20dc47622d67c5858 /src/lib/libssl/s3_lib.c | |
parent | 1f514c7f37e83673996474309b61dfea3714ed3c (diff) | |
download | openbsd-fc53650fac6d818e74786e8e94b2d9bb8e390901.tar.gz openbsd-fc53650fac6d818e74786e8e94b2d9bb8e390901.tar.bz2 openbsd-fc53650fac6d818e74786e8e94b2d9bb8e390901.zip |
Remove UINT32_MAX limitation on ChaCha() and CRYPTO_chacha_20().
We can avoid this unnecessary limitation by calling chacha_encrypt_bytes()
multiple times internally. In the case of ChaCha(), the caller still needs
to ensure that the same IV is not used for more than 2^70 bytes.
ok tb@
Diffstat (limited to 'src/lib/libssl/s3_lib.c')
0 files changed, 0 insertions, 0 deletions