<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openbsd/src/lib/libcrypto/arch/arm, branch libressl-v4.1.2</title>
<subtitle>A mirror of https://github.com/libressl/openbsd.git
</subtitle>
<id>https://git.lua4.win/openbsd/atom?h=libressl-v4.1.2</id>
<link rel='self' href='https://git.lua4.win/openbsd/atom?h=libressl-v4.1.2'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/'/>
<updated>2025-03-09T15:12:18+00:00</updated>
<entry>
<title>Support OPENSSL_NO_FILENAMES</title>
<updated>2025-03-09T15:12:18+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2025-03-09T15:12:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=b8acfd2983c50474382bf8ed132a5b7e7bdedb34'/>
<id>urn:sha1:b8acfd2983c50474382bf8ed132a5b7e7bdedb34</id>
<content type='text'>
Some people are concerned that leaking a user name is a privacy issue.
Allow disabling the __FILE__ and __LINE__ argument in the error stack
to avoid this. This can be improved a bit in tree.

From Viktor Szakats in https://github.com/libressl/portable/issues/761

ok bcook jsing
</content>
</entry>
<entry>
<title>Replace Makefile based SHA*_ASM defines with HAVE_SHA_* defines.</title>
<updated>2025-02-14T12:01:58+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2025-02-14T12:01:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=a89810379a758c9cd27af2462547dc646dcfaa61'/>
<id>urn:sha1:a89810379a758c9cd27af2462547dc646dcfaa61</id>
<content type='text'>
Currently, SHA{1,256,512}_ASM defines are used to remove the C
implementation of sha{1,256,512}_block_data_order() when it is provided
by assembly. However, this prevents the C implementation from being used
as a fallback.

Rename the C sha*_block_data_order() to sha*_block_generic() and provide
a sha*_block_data_order() that calls sha*_block_generic(). Replace the
Makefile based SHA*_ASM defines with two HAVE_SHA_* defines that allow
these functions to be compiled in or removed, such that machine specific
verisons can be provided. This should effectively be a no-op on any
platform that defined SHA{1,256,512}_ASM.

ok tb@
</content>
</entry>
<entry>
<title>Mop up RC4_INDEX.</title>
<updated>2025-01-27T14:02:32+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2025-01-27T14:02:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=d97873f8db01cd052f45675db2ed3d9584c93c44'/>
<id>urn:sha1:d97873f8db01cd052f45675db2ed3d9584c93c44</id>
<content type='text'>
The RC4_INDEX define switches between base pointer indexing and per-byte
pointer increment. This supposedly made a huge difference to performance
on x86 at some point, however compilers have improved somewhat since then.
There is no change (or effectively no change) in generated assembly on
a the majority of LLVM platforms and even when there is some change
(e.g. aarch64), there is no noticable performance difference.

Simplify the (still messy) macros/code and mop up RC4_INDEX.

ok tb@
</content>
</entry>
<entry>
<title>cryptlib.h: adjust header guard for upcoming surgery</title>
<updated>2024-11-05T06:09:12+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2024-11-05T06:09:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=843a9f265f386c844efd76e86f84452741cb03d6'/>
<id>urn:sha1:843a9f265f386c844efd76e86f84452741cb03d6</id>
<content type='text'>
It is gross that an internal detail leaked into a public header, but,
hey, it's openssl. No hack is too terrible to appear in this library.
opensslconf.h needs major pruning but the day that happens is not today.

ok jsing
</content>
</entry>
<entry>
<title>repair bizzare indents; ok tb</title>
<updated>2024-08-29T03:30:05+00:00</updated>
<author>
<name>deraadt</name>
<email></email>
</author>
<published>2024-08-29T03:30:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=a3a2318c82ab1c8073cc4b0a0abe520fb9c5ec4c'/>
<id>urn:sha1:a3a2318c82ab1c8073cc4b0a0abe520fb9c5ec4c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Provide and use crypto_arch.h.</title>
<updated>2024-08-11T13:02:39+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2024-08-11T13:02:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=5dcef2b3ea9eb7ace8ed74c27534785fc0b87130'/>
<id>urn:sha1:5dcef2b3ea9eb7ace8ed74c27534785fc0b87130</id>
<content type='text'>
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@
</content>
</entry>
<entry>
<title>Always use C functions for AES_{encrypt,decrypt}().</title>
<updated>2024-03-29T11:00:57+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2024-03-29T11:00:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=2f6039e975b851c54c5857fe9253b02da013fb32'/>
<id>urn:sha1:2f6039e975b851c54c5857fe9253b02da013fb32</id>
<content type='text'>
Always provide AES_{encrypt,decrypt}() via C functions, which then either
use a C implementation or call the assembly implementation.

ok tb@
</content>
</entry>
<entry>
<title>Move camellia to primary Makefile.</title>
<updated>2024-03-29T07:24:09+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2024-03-29T07:24:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=720ec2c3adcad1ded38a6104e4ca139b4a62ac19'/>
<id>urn:sha1:720ec2c3adcad1ded38a6104e4ca139b4a62ac19</id>
<content type='text'>
These files are now built on all platforms.
</content>
</entry>
<entry>
<title>Move aes_core.c to the primary Makefile.</title>
<updated>2024-03-29T06:03:21+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2024-03-29T06:03:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=5d94d0325a5b03c1ba85b2e0d51af503a072cc2a'/>
<id>urn:sha1:5d94d0325a5b03c1ba85b2e0d51af503a072cc2a</id>
<content type='text'>
This is now built on all platforms.
</content>
</entry>
<entry>
<title>Always use C functions for AES_set_{encrypt,decrypt}_key().</title>
<updated>2024-03-29T04:39:54+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2024-03-29T04:39:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=2c1a87a439933e428607afc0c18d4d12070ae246'/>
<id>urn:sha1:2c1a87a439933e428607afc0c18d4d12070ae246</id>
<content type='text'>
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@
</content>
</entry>
</feed>
