diff options
author | tb <> | 2023-12-20 11:01:34 +0000 |
---|---|---|
committer | tb <> | 2023-12-20 11:01:34 +0000 |
commit | 3ac16d4b9877c8a9dd9b5f656fb781b84d50c2e1 (patch) | |
tree | 59e94bd04de23e14a572ad99e60f61364aa01d1a /src/lib/libcrypto/evp/p_open.c | |
parent | 80e4de172f40f987f5a744584af0bd7e50273529 (diff) | |
download | openbsd-3ac16d4b9877c8a9dd9b5f656fb781b84d50c2e1.tar.gz openbsd-3ac16d4b9877c8a9dd9b5f656fb781b84d50c2e1.tar.bz2 openbsd-3ac16d4b9877c8a9dd9b5f656fb781b84d50c2e1.zip |
Clean up EVP_DecryptFinal_ex()
Rework the code to use the usual variable names, return early if we
have block size 1 and unindent the remainder of the code for block
sizes 8 and 16. Rework the padding check to be less acrobatic and
copy the remainder of the plain text into out using memcpy() rather
than a for loop.
input/ok jsing
Diffstat (limited to 'src/lib/libcrypto/evp/p_open.c')
0 files changed, 0 insertions, 0 deletions