#
09b34817 |
| 11-Aug-2024 |
jsing <jsing@openbsd.org> |
Provide and use crypto_arch.h.
Provide a per architecture crypto_arch.h - this will be used in a similar manner to bn_arch.h and will allow for architecture specific #defines and static inline funct
Provide and use crypto_arch.h.
Provide a per architecture crypto_arch.h - this will be used in a similar manner to bn_arch.h and will allow for architecture specific #defines and static inline functions. Move the HAVE_AES_* and HAVE_RC4_* defines here.
ok tb@
show more ...
|
#
1bda4576 |
| 30-Mar-2024 |
joshua <joshua@openbsd.org> |
Hide symbols in aes
ok jsing
|
#
e5d97f7e |
| 29-Mar-2024 |
jsing <jsing@openbsd.org> |
Tweak defines since the Td4 table is only used for AES_{encrypt,decrypt}
|
#
4a615b87 |
| 29-Mar-2024 |
jsing <jsing@openbsd.org> |
Always use C functions for AES_{encrypt,decrypt}().
Always provide AES_{encrypt,decrypt}() via C functions, which then either use a C implementation or call the assembly implementation.
ok tb@
|
#
4efebcfa |
| 29-Mar-2024 |
jsing <jsing@openbsd.org> |
Always use C functions for AES_set_{encrypt,decrypt}_key().
Always include aes_core.c and provide AES_set_{encrypt,decrypt}_key() via C functions, which then either use a C implementation or call th
Always use C functions for AES_set_{encrypt,decrypt}_key().
Always include aes_core.c and provide AES_set_{encrypt,decrypt}_key() via C functions, which then either use a C implementation or call the assembly implementation.
ok tb@
show more ...
|
#
120bcd37 |
| 27-Mar-2024 |
jsing <jsing@openbsd.org> |
Replace GETU32 and PUTU32.
Replace GETU32 with crypto_load_be32toh() and PUTU32 with crypto_store_htobe32(). Make the offset handling cleaner at the same time.
ok beck@ joshua@ tb@
|
#
cc1e018a |
| 27-Mar-2024 |
jsing <jsing@openbsd.org> |
Remove near duplicate AES_set_{encrypt,decrypt}_key() functions.
There are currently three ways in which AES is implemented - all in assembly (amd64 et al), all in C (aarch64 et al) and, half in C a
Remove near duplicate AES_set_{encrypt,decrypt}_key() functions.
There are currently three ways in which AES is implemented - all in assembly (amd64 et al), all in C (aarch64 et al) and, half in C and half in assembly (hppa and sparc64). The last of these cases currently makes use of a near duplicate AES_set_{encrypt,decrypt}_key() implementation that avoids using the AES tables.
Remove the near duplicate version and if only a half assembly version is implemented, use the same C version of AES_set_{encrypt,decrypt}_key() as everyone else. This adds around 8KB of rodata to libcrypto on these two platforms.
Discussed with beck and tb.
show more ...
|
#
126290c1 |
| 27-Mar-2024 |
jsing <jsing@openbsd.org> |
Use crypto_rol_u32() instead of an undefined ROTATE macro.
ok tb@
|
#
136e4f6e |
| 27-Mar-2024 |
jsing <jsing@openbsd.org> |
Remove unused NDEBUG define.
|
#
92844ed9 |
| 27-Mar-2024 |
jsing <jsing@openbsd.org> |
Tidy includes and a comment.
|
#
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 ...
|
#
282842ed |
| 05-Nov-2015 |
miod <miod@openbsd.org> |
Cast Td4[] values (which are uint8_t) to uint32_t before shifting them left by 24 bits; if we don't, Td4[] gets cast to signed int, and according to C>=99 6.5.7, signed int shifted by enough bits to
Cast Td4[] values (which are uint8_t) to uint32_t before shifting them left by 24 bits; if we don't, Td4[] gets cast to signed int, and according to C>=99 6.5.7, signed int shifted by enough bits to cause a the sign bit to be set is an UB.
Reported by Pascal Cuoq on behalf of the trust-in-soft.com mafia I am {partial,slightly related} to.
show more ...
|
#
fb6600ec |
| 10-Feb-2015 |
miod <miod@openbsd.org> |
Remove assert() or OPENSSL_assert() of pointers being non-NULL. The policy for libraries in OpenBSD is to deliberately let NULL pointers cause a SIGSEGV. ok doug@ jsing@
|
#
edf0542b |
| 09-Jul-2014 |
miod <miod@openbsd.org> |
Kill more FIPS tentacles by removing the private_AES_set_{enc,dec}rypt_key() internal interfaces, and promoting them to being the public AES_set_{enc,dec}rypt_key() interfaces. In non-FIPS mode, thes
Kill more FIPS tentacles by removing the private_AES_set_{enc,dec}rypt_key() internal interfaces, and promoting them to being the public AES_set_{enc,dec}rypt_key() interfaces. In non-FIPS mode, these public interfaces were directly calling the private ones.
ok guenther@ jsing@
show more ...
|
#
c3d6a26a |
| 12-Jun-2014 |
deraadt <deraadt@openbsd.org> |
tags as requested by miod and tedu
|
#
1d119de1 |
| 11-Jun-2014 |
deraadt <deraadt@openbsd.org> |
c-file-style hints, begone; ok beck
|
#
9c3c3568 |
| 15-Apr-2014 |
jsing <jsing@openbsd.org> |
First pass at applying KNF to the OpenSSL code, which almost makes it readable. This pass is whitespace only and can readily be verified using tr and md5.
|
#
5cdd308e |
| 13-Oct-2012 |
djm <djm@openbsd.org> |
resolve conflicts
|
#
0a5d6ede |
| 01-Oct-2010 |
djm <djm@openbsd.org> |
resolve conflicts, fix local changes
|
#
e6841c1d |
| 09-Jan-2009 |
djm <djm@openbsd.org> |
resolve conflicts
|
#
4fcf65c5 |
| 06-Sep-2008 |
djm <djm@openbsd.org> |
resolve conflicts
|
#
40d8aef3 |
| 29-Apr-2005 |
djm <djm@openbsd.org> |
resolve conflicts
|
#
3a5f3d0e |
| 11-May-2003 |
markus <markus@openbsd.org> |
import 0.9.7b (without idea and rc5)
|
#
da347917 |
| 15-May-2002 |
beck <beck@openbsd.org> |
OpenSSL 0.9.7 stable 2002 05 08 merge
|