#
9bac3682 |
| 09-Apr-2024 |
beck <beck@openbsd.org> |
Hide public symbols in evp.h
largely mechanically done by the guentherizer 9000
ok tb@
|
#
a6d8ed60 |
| 04-Jan-2024 |
tb <tb@openbsd.org> |
Remove unused app_data from EVP_CIPHER
The EVP_CIPHER structs are static const data that the library returns when you call EVP_aes_128_cbc(), for example. It makes no sense whatsoever to hang user d
Remove unused app_data from EVP_CIPHER
The EVP_CIPHER structs are static const data that the library returns when you call EVP_aes_128_cbc(), for example. It makes no sense whatsoever to hang user data off such a struct, but it's been there since forever.
ok jsing
show more ...
|
#
63177169 |
| 02-Jan-2024 |
tb <tb@openbsd.org> |
sm4: more NULL misspellings
|
#
040dcbc5 |
| 02-Dec-2023 |
tb <tb@openbsd.org> |
Fix some NULL misspellings
|
#
1ec3c770 |
| 07-Jul-2023 |
beck <beck@openbsd.org> |
Unbreak the namespace build after a broken mk.conf and tool misfire had me aliasing symbols not in the headers I was procesing.
This unbreaks the namespace build so it will pass again
ok tb@
|
#
ea2baf45 |
| 07-Jul-2023 |
beck <beck@openbsd.org> |
Hide symbols in hkdf, evp, err, ecdsa, and ec
(part 2 of commit)
ok jsing@
|
#
c9675a23 |
| 26-Nov-2022 |
tb <tb@openbsd.org> |
Make internal header file names consistent
Libcrypto currently has a mess of *_lcl.h, *_locl.h, and *_local.h names used for internal headers. Move all these headers we inherited from OpenSSL to *_l
Make internal header file names consistent
Libcrypto currently has a mess of *_lcl.h, *_locl.h, and *_local.h names used for internal headers. Move all these headers we inherited from OpenSSL to *_local.h, reserving the name *_internal.h for our own code. Similarly, move dtls_locl.h and ssl_locl.h to dtls_local and ssl_local.h. constant_time_locl.h is moved to constant_time.h since it's special.
Adjust all .c files in libcrypto, libssl and regress.
The diff is mechanical with the exception of tls13_quic.c, where #include <ssl_locl.h> was fixed manually.
discussed with jsing, no objection bcook
show more ...
|
#
7a606269 |
| 10-Sep-2022 |
jsing <jsing@openbsd.org> |
Use correct length for EVP CFB mode ciphers.
The BLOCK_CIPHER_* macros contained a bug where the total length is passed to the underlying cipher implementation, rather than the length of the current
Use correct length for EVP CFB mode ciphers.
The BLOCK_CIPHER_* macros contained a bug where the total length is passed to the underlying cipher implementation, rather than the length of the current chunk. Correct this and use the chunk length instead.
Should address the remaining issues reported by Coverity.
ok tb@
show more ...
|
#
d5650aa3 |
| 06-Sep-2022 |
jsing <jsing@openbsd.org> |
Stop casting a size_t to a long and then passing it as a size_t.
These cipher implementations take a size_t length argument, so stop casting it to a long.
Found by Coverity.
ok tb@
|
#
ad70b5f1 |
| 04-Sep-2022 |
jsing <jsing@openbsd.org> |
Remove dead code.
No change in generated assembly.
|
#
5b4a16c0 |
| 04-Sep-2022 |
jsing <jsing@openbsd.org> |
Rearrange some functions.
Pull the init_key and ctrl (if present) functions up to the top. This improves readability and allows for the removal of function prototypes.
No functional change.
|
#
8dc670f6 |
| 03-Sep-2022 |
jsing <jsing@openbsd.org> |
Mechanically expand IMPLEMENT_BLOCK_CIPHER macro.
No change in generated assembly.
|
#
85824259 |
| 17-Mar-2019 |
tb <tb@openbsd.org> |
Add the SM4 block cipher from the Chinese standard GB/T 32907-2016. This is an ISC licensed version based on the sources by Ribose Inc that were ported to OpenSSL in 2017.
Patch from Daniel Wyatt wi
Add the SM4 block cipher from the Chinese standard GB/T 32907-2016. This is an ISC licensed version based on the sources by Ribose Inc that were ported to OpenSSL in 2017.
Patch from Daniel Wyatt with minor tweaks. ok inoguchi, jsing
show more ...
|