<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="/rss.xsl.xml"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
    <title>Changes in Makefile</title>
    <link>http://nxr.netbsd.org/rss/src/tests/sys/crypto/aes/Makefile</link>
    <description></description>
    <language>en</language>
    <copyright>Copyright 2005</copyright>
    <generator>Java</generator>
    
<item>
    <title>Needs the same compiler bug workaround as the kernel.</title>
    <description>/src/tests/sys/crypto/aes/Makefile - 1.11</description>
    <pubDate>Mon Nov 24 16:28:51 UTC 2025</pubDate>
    <dc:creator>nia</dc:creator>
</item>

<item>
    <title>aes(9): Rewrite x86 SSE2 implementation.<br/><br/>This computes eight AES_k instances simultaneously, using the<br/>bitsliced 32-bit aes_ct logic which computes two blocks at a time in<br/>uint32_t arithmetic, vectorized four ways.<br/><br/>Previously, the SSE2 code was a very naive adaptation of aes_ct64,<br/>which computes four blocks at a time in uint64_t arithmetic, without<br/>any 2x vectorization -- I did it at the time because:<br/><br/>(a) it was easier to get working,<br/>(b) it only affects really old hardware with neither AES-NI nor SSSE3<br/>    which are both much much faster.<br/><br/>But it was bugging me that this was a kind of dumb use of SSE2.<br/><br/>Substantially reduces stack usage (from ~1200 bytes to ~800 bytes)<br/>and should approximately double throughput for CBC decryption and for<br/>XTS encryption/decryption.<br/><br/>I also tried a 2x64 version but cursory performance measurements<br/>didn't reveal much benefit over 4x32.  (If anyone is interested in<br/>doing more serious performance measurements, on ancient hardware for<br/>which it might matter, I also have the 2x64 code around.)<br/><br/>Prompted by:<br/><br/>PR kern/59774: bearssl 32-bit AES is too slow, want 64-bit optimized<br/>version in kernel</title>
    <description>/src/tests/sys/crypto/aes/Makefile - 1.10</description>
    <pubDate>Sun Nov 23 22:48:27 UTC 2025</pubDate>
    <dc:creator>riastradh</dc:creator>
</item>

<item>
    <title>aes(9): New 64-bit bitsliced implementation.<br/><br/>Derived from BearSSL's aes_ct64 code.  Compared to the aes_ct code,<br/>on machines with native 64-bit integer arithmetic, aes_ct64 should<br/>have approximately:<br/><br/>- the same throughput for:<br/>  . CBC encryption,<br/>  . CCM encryption/decryption, and<br/>  . CBC-MAC;<br/><br/>- double the throughput for:<br/>  . CBC decryption,<br/>  . XTS encryption/decryption.<br/><br/>(aes_ct computes AES on two blocks at a time; aes_ct64 computes it on<br/>four blocks at a time, with roughly the same number of instructions.<br/>CBC encryption and CBC-MAC are inherently sequential; CCM, being a<br/>combination of CTR and CBC-MAC, can only really be parallelized two<br/>ways, so having four ways available doesn't help; and CBC decryption<br/>and XTS admit parallelism limited only by the size of the inputs.)<br/><br/>Enable with `options AES_BEAR64'.  Should be a reasonable default on<br/>all platforms with 64-bit integer registers.  Caveat: uses about 1200<br/>bytes of stack space.  (Could approximately halve that, like the<br/>BearSSL aes_ct code, at some speed cost which I haven't measured --<br/>by moving the br_aes_ct64_skey_expand logic into add_round_key in<br/>aes_ct64_{enc,dec}.c.)<br/><br/>PR kern/59774: bearssl 32-bit AES is too slow, want 64-bit optimized<br/>version in kernel</title>
    <description>/src/tests/sys/crypto/aes/Makefile - 1.9</description>
    <pubDate>Sun Nov 23 22:44:14 UTC 2025</pubDate>
    <dc:creator>riastradh</dc:creator>
</item>

<item>
    <title>aes(9): New aes_keysched_enc/dec.<br/><br/>These implement the standard key schedule.  They are named<br/>independently of any particular AES implementation, so that:<br/><br/>(a) we can swap between the BearSSL aes_ct and aes_ct64 code without<br/>    changing all the callers who don't care which one they get, and<br/><br/>(b) we could push it into the aes_impl abstraction if we wanted.<br/><br/>This eliminates all br_aes_* references outside aes_bear.c, aes_ct*.c,<br/>and the new aes_keysched.c wrappers.<br/><br/>Preparation for:<br/><br/>PR kern/59774: bearssl 32-bit AES is too slow, want 64-bit optimized<br/>version in kernel</title>
    <description>/src/tests/sys/crypto/aes/Makefile - 1.8</description>
    <pubDate>Sat Nov 22 22:32:39 UTC 2025</pubDate>
    <dc:creator>riastradh</dc:creator>
</item>

<item>
    <title>introduce new GCC 12 warning disables and use them in a few places<br/><br/>this introduces 4 new warning disable flags:<br/><br/>   CC_WNO_MISSING_TEMPLATE_KEYWORD<br/>   CC_WNO_REGISTER<br/>   CC_WNO_STRINGOP_OVERREAD<br/>   CC_WNO_ARRAY_BOUNDS<br/><br/>and documents them in README.warnings.  of these, the string op<br/>and array bounds are both problematic (real bugs) and also spurious<br/>(not real bugs), and the other 2 are mostly temporary for older<br/>3rd party code.<br/><br/>add some new uses of CC_WNO_STRINGOP_OVERFLOW.<br/><br/>fix m68k build for gallium and GCC 12.</title>
    <description>/src/tests/sys/crypto/aes/Makefile - 1.7</description>
    <pubDate>Tue Aug 08 06:27:32 UTC 2023</pubDate>
    <dc:creator>mrg</dc:creator>
</item>

<item>
    <title>Acknowledge clang warning for NEON cipher code on aarch64eb<br/><br/>We've already made the nonportable vector initializations portable; the<br/>code works on aarch64eb.</title>
    <description>/src/tests/sys/crypto/aes/Makefile - 1.6</description>
    <pubDate>Tue Sep 08 17:35:27 UTC 2020</pubDate>
    <dc:creator>jakllsch</dc:creator>
</item>

<item>
    <title>Make the AES and ChaCha NEON tests work in softfloat userland.<br/><br/>(`Softfloat' here refers to the ABI, which of course may be running<br/>on a CPU with NEON.)</title>
    <description>/src/tests/sys/crypto/aes/Makefile - 1.5</description>
    <pubDate>Mon Aug 17 16:26:02 UTC 2020</pubDate>
    <dc:creator>riastradh</dc:creator>
</item>

<item>
    <title>Restrict the NEON code to v7hf - the softfloat toolchain does not like<br/>it (nor is it likely to work if there is no FPU present).</title>
    <description>/src/tests/sys/crypto/aes/Makefile - 1.4</description>
    <pubDate>Sun Aug 16 15:52:14 UTC 2020</pubDate>
    <dc:creator>martin</dc:creator>
</item>

<item>
    <title>Implement AES-CCM with ARMv8.5-AES.</title>
    <description>/src/tests/sys/crypto/aes/Makefile - 1.3</description>
    <pubDate>Sat Jul 25 22:33:04 UTC 2020</pubDate>
    <dc:creator>riastradh</dc:creator>
</item>

<item>
    <title>Pass the requisite -msse options for i386.</title>
    <description>/src/tests/sys/crypto/aes/Makefile - 1.2</description>
    <pubDate>Wed Jul 01 09:58:29 UTC 2020</pubDate>
    <dc:creator>riastradh</dc:creator>
</item>

<item>
    <title>New test sys/crypto/aes/t_aes.<br/><br/>Runs aes_selftest on all kernel AES implementations supported on the<br/>current hardware, not just the preferred one.</title>
    <description>/src/tests/sys/crypto/aes/Makefile - 1.1</description>
    <pubDate>Tue Jun 30 20:32:11 UTC 2020</pubDate>
    <dc:creator>riastradh</dc:creator>
</item>
</channel></rss>

