<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openbsd/src/lib/libcrypto/arch/hppa/Makefile.inc, branch OPENBSD_7_9</title>
<subtitle>A mirror of https://github.com/libressl/openbsd.git
</subtitle>
<id>https://git.lua4.win/openbsd/atom?h=OPENBSD_7_9</id>
<link rel='self' href='https://git.lua4.win/openbsd/atom?h=OPENBSD_7_9'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/'/>
<updated>2026-01-17T16:18:32+00:00</updated>
<entry>
<title>Provide LIBRESSL_USE_.*_ASSEMBLY defines.</title>
<updated>2026-01-17T16:18:32+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2026-01-17T16:18:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=03fc8f9b9ecbb65326348dd8eccc5d22344abefe'/>
<id>urn:sha1:03fc8f9b9ecbb65326348dd8eccc5d22344abefe</id>
<content type='text'>
Make life easier for portable by providing LIBRESSL_USE_.*_ASSEMBLY
defines, which enable/disable assembly for a specific algorithm. This
means that selected platforms can include the assembly files and specify
a define, rather than having to try to patch the crypto_arch.h headers.

Discussed with tb@
</content>
</entry>
<entry>
<title>Replace GHASH_ASM with function specific defines.</title>
<updated>2026-01-17T14:30:37+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2026-01-17T14:30:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=db12bd9b580e2fc1c5c7d3224d2d9d0f534d1b8d'/>
<id>urn:sha1:db12bd9b580e2fc1c5c7d3224d2d9d0f534d1b8d</id>
<content type='text'>
Use the same pattern that is now used for most other code - provide HAVE_*
defines for functions and use these to selectively enable source code.
</content>
</entry>
<entry>
<title>Mop up unused AES_ASM and RSA_ASM defines.</title>
<updated>2026-01-17T13:55:31+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2026-01-17T13:55:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=1dd1aaafcbe820792a0f2e002a85a22055696509'/>
<id>urn:sha1:1dd1aaafcbe820792a0f2e002a85a22055696509</id>
<content type='text'>
These have not been used for quite some time.
</content>
</entry>
<entry>
<title>Remove BN_DIV2W.</title>
<updated>2025-09-07T06:28:03+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2025-09-07T06:28:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=98287b7cd5d64488bbaf57088225f91bd8e8a7f9'/>
<id>urn:sha1:98287b7cd5d64488bbaf57088225f91bd8e8a7f9</id>
<content type='text'>
The BN_DIV2W define provides a code path for double word division via the C
compiler, which is only enabled on hppa. Simplify the code and mop this up.

ok tb@
</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>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>Move wp_block.c to the primary Makefile.</title>
<updated>2024-03-29T02:33:45+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2024-03-29T02:33:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=56504c1b338a0cf1e2340ecd05ecce2ff1b68680'/>
<id>urn:sha1:56504c1b338a0cf1e2340ecd05ecce2ff1b68680</id>
<content type='text'>
This is now built on all platforms.
</content>
</entry>
</feed>
