openssl/doc
Valerii Krygin f86acc9434 EVP_DecodeUpdate() should not produce padding zeros to the decoded output (Fixes #26677)
EVP_DecodeUpdate() should not produce zeros for input padding `=` signs to avoid writing to non-allocated memory regions.

To achieve this:
- Add `eof` parameter to `evp_decodeblock_int` function in `openssl/crypto/evp`. The parameter should either contain the number of the input padding characters to ignore or `-1` if the function has to count them.
- Use precalculated `eof` in `EVP_DecodeUpdate` to fix its behaviour.
- Use `eof = -1` in `EVP_DecodeFinal` to count it in `evp_decodeblock_int`.
- Do not ignore padding in `EVP_DecodeBlock` (`eof = 0`) because it should write padding zeros according to the documentation.
- Add the HISTORY section to EVP_EncodeInit documentation to describe the fix.

Other changes:
- Update AUTHORS.md
- Update the copyright date in the documentation.

Reviewed-by: Tim Hudson <tjh@openssl.org>
Reviewed-by: Viktor Dukhovni <viktor@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/26678)
2025-02-27 17:38:57 +00:00
..
designs SLH_DSA: Add support for generating X509 certs via the openssl 2025-02-18 10:17:29 +01:00
HOWTO Left over doc TODOs 2025-02-14 10:50:59 +01:00
images update logo 2024-10-21 11:49:25 +01:00
internal Adds missing checks of return from XXX_up_ref(). 2025-02-18 16:32:59 +01:00
life-cycles Add EVP_DigestSqueeze() API. 2023-11-10 13:27:00 +01:00
man1 doc/, CHANGES, NEWS: add missing entries and fix existing ones when which CMP feature was added 2025-02-27 16:58:47 +01:00
man3 EVP_DecodeUpdate() should not produce padding zeros to the decoded output (Fixes #26677) 2025-02-27 17:38:57 +00:00
man5 Document random_provider option in random section 2025-02-05 07:20:10 +11:00
man7 Make the KEM operating mode optional 2025-02-25 10:58:23 +01:00
build.info Add SLH-DSA documentation 2025-02-18 10:16:04 +01:00
build.info.in doc: remove end of line whitespace 2021-09-22 16:22:50 +10:00
dir-locals.example.el
fingerprints.txt Drop the old PGP key fingerprint 2024-06-06 16:03:38 +02:00
openssl-c-indent.el
perlvars.pm Support CLI and API setting of provider configuration parameters 2025-01-18 03:46:37 +11:00
README.md Fix many MarkDown issues in {NOTES*,README*,HACKING,LICENSE}.md files 2020-07-05 11:29:43 +02:00

OpenSSL Documentation

README.md This file

fingerprints.txt PGP fingerprints of authorised release signers

standards.txt standards.txt Moved to the web, https://www.openssl.org/docs/standards.html

HOWTO/ A few how-to documents; not necessarily up-to-date

man1/ The openssl command-line tools; start with openssl.pod

man3/ The SSL library and the crypto library

man5/ File formats

man7/ Overviews; start with crypto.pod and ssl.pod, for example Algorithm specific EVP_PKEY documentation.

Formatted versions of the manpages (apps,ssl,crypto) can be found at https://www.openssl.org/docs/manpages.html