<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openbsd/src/lib/libcrypto/arch/amd64/crypto_cpu_caps.c, 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>2025-08-14T15:11:01+00:00</updated>
<entry>
<title>Add CPU feature detection for ADX on amd64.</title>
<updated>2025-08-14T15:11:01+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2025-08-14T15:11:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=d31d4089b9ae677123f49cc1b071b80207baf184'/>
<id>urn:sha1:d31d4089b9ae677123f49cc1b071b80207baf184</id>
<content type='text'>
Add detection of Multi-Precision Add-Carry Instruction Extensions on amd64.
s2n-bignum provides a number of fast multiplication routines that can
leverage these instructions.

ok tb@
</content>
</entry>
<entry>
<title>Remove crypto_cpu_caps_ia32()</title>
<updated>2025-07-22T09:18:02+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2025-07-22T09:18:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=cbc4928ebdbd9c244a1c0e3c2e90497a0d246b38'/>
<id>urn:sha1:cbc4928ebdbd9c244a1c0e3c2e90497a0d246b38</id>
<content type='text'>
There are no more consumers of crypto_cpu_caps_ia32(), so remove it.

ok bcook@ joshua@ tb@
</content>
</entry>
<entry>
<title>Add CLMUL to machine dependent CPU capabilities for amd64.</title>
<updated>2025-06-28T12:20:39+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2025-06-28T12:20:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=c534647b2ec7521ee4210dd398faaad0018287d0'/>
<id>urn:sha1:c534647b2ec7521ee4210dd398faaad0018287d0</id>
<content type='text'>
ok tb@
</content>
</entry>
<entry>
<title>Provide CRYPTO_CPU_CAPS_AMD64_AES in machine dependent CPU capabilities.</title>
<updated>2025-06-15T14:16:11+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2025-06-15T14:16:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=00556dbdb2a0ef259141c777042dfb7562f0b7c5'/>
<id>urn:sha1:00556dbdb2a0ef259141c777042dfb7562f0b7c5</id>
<content type='text'>
ok tb@
</content>
</entry>
<entry>
<title>Add CPU capability detection for the Intel SHA extensions (aka SHA-NI).</title>
<updated>2024-11-16T13:05:35+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2024-11-16T13:05:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=d5d56fc45a9988f5488f0a2804155ccc5067def3'/>
<id>urn:sha1:d5d56fc45a9988f5488f0a2804155ccc5067def3</id>
<content type='text'>
This also provides a crypto_cpu_caps_amd64 variable that can be checked
for CRYPTO_CPU_CAPS_AMD64_SHA.

ok tb@
</content>
</entry>
<entry>
<title>Check the correct variable in cpuid().</title>
<updated>2024-11-12T13:14:57+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2024-11-12T13:14:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=e5a8d62d4380136d1e13d26d8b9b2462456b96a7'/>
<id>urn:sha1:e5a8d62d4380136d1e13d26d8b9b2462456b96a7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove IA32 specific code from cryptlib.c.</title>
<updated>2024-10-19T13:06:11+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2024-10-19T13:06:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=5d1b4ec04e3e4da6a278a481334cacf007acd117'/>
<id>urn:sha1:5d1b4ec04e3e4da6a278a481334cacf007acd117</id>
<content type='text'>
Move the IA32 specific code to arch/{amd64,i386}/crypto_cpu_caps.c, rather
than polluting cryptlib.c with machine dependent code. A stub version of
crypto_cpu_caps_ia32() still remains for now.
</content>
</entry>
<entry>
<title>Provide crypto_cpu_caps_init() for amd64.</title>
<updated>2024-10-18T13:36:24+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2024-10-18T13:36:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=8ca2cf944a22a441df7aea76d387ae44564b6b72'/>
<id>urn:sha1:8ca2cf944a22a441df7aea76d387ae44564b6b72</id>
<content type='text'>
This is a CPU capability detection implementation in C, with minimal
inline assembly (for cpuid and xgetbv). This replaces the assembly
mess generated by x86_64cpuid.pl. Rather than populating OPENSSL_ia32cap_P
directly with CPUID output, just set the bits that the remaining
perlasm checks (namely AESNI, AVX, FXSR, INTEL, HT, MMX, PCLMUL, SSE, SSE2
and SSSE3).

ok joshua@ tb@
</content>
</entry>
</feed>
