<feed xmlns='http://www.w3.org/2005/Atom'>
<title>zears/src, branch v0.2.1</title>
<subtitle>AEZ v5 implementation in Rust</subtitle>
<link rel='alternate' type='text/html' href='https://git.kingdread.de/cgit.cgi/zears/'/>
<entry>
<title>some doc updates</title>
<updated>2025-06-13T16:20:44+00:00</updated>
<author>
<name>Daniel Schadt</name>
<email>kingdread@gmx.de</email>
</author>
<published>2025-06-13T16:20:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.kingdread.de/cgit.cgi/zears/commit/?id=ab9599ab84256cf78a117d1e0bf7dfd8c36951b2'/>
<id>ab9599ab84256cf78a117d1e0bf7dfd8c36951b2</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>don't (always) allocate in decrypt</title>
<updated>2025-06-13T15:50:12+00:00</updated>
<author>
<name>Daniel Schadt</name>
<email>kingdread@gmx.de</email>
</author>
<published>2025-06-13T15:50:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.kingdread.de/cgit.cgi/zears/commit/?id=d146075205d3115ebfb0cd560e224af47604f5c8'/>
<id>d146075205d3115ebfb0cd560e224af47604f5c8</id>
<content type='text'>
This is the same thing we do in encrypt
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is the same thing we do in encrypt
</pre>
</div>
</content>
</entry>
<entry>
<title>don't allocate in pad_to_blocks</title>
<updated>2025-06-13T15:41:19+00:00</updated>
<author>
<name>Daniel Schadt</name>
<email>kingdread@gmx.de</email>
</author>
<published>2025-06-13T15:41:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.kingdread.de/cgit.cgi/zears/commit/?id=34cc371f5f47a4ce180bd81a3d7ecc3b53a3c67a'/>
<id>34cc371f5f47a4ce180bd81a3d7ecc3b53a3c67a</id>
<content type='text'>
This saves around 6% on my machine.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This saves around 6% on my machine.
</pre>
</div>
</content>
</entry>
<entry>
<title>implement Block::pad without integer conversion</title>
<updated>2025-06-13T15:40:05+00:00</updated>
<author>
<name>Daniel Schadt</name>
<email>kingdread@gmx.de</email>
</author>
<published>2025-06-13T15:40:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.kingdread.de/cgit.cgi/zears/commit/?id=4bf0986d8c7a19c0b0eb7d875817fa8981c4d32e'/>
<id>4bf0986d8c7a19c0b0eb7d875817fa8981c4d32e</id>
<content type='text'>
Here, this gives around 2% in speedup in the 1024 byte case.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Here, this gives around 2% in speedup in the 1024 byte case.
</pre>
</div>
</content>
</entry>
<entry>
<title>use SIMD for left-shift</title>
<updated>2025-06-13T15:39:21+00:00</updated>
<author>
<name>Daniel Schadt</name>
<email>kingdread@gmx.de</email>
</author>
<published>2025-06-13T15:35:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.kingdread.de/cgit.cgi/zears/commit/?id=ffc0299cfd9bf32e02b61d15e52904d7ce268565'/>
<id>ffc0299cfd9bf32e02b61d15e52904d7ce268565</id>
<content type='text'>
This saves the integer conversion. Here, for the 1024 byte benchmark, I
get an improvement of ~4% in runtime
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This saves the integer conversion. Here, for the 1024 byte benchmark, I
get an improvement of ~4% in runtime
</pre>
</div>
</content>
</entry>
<entry>
<title>fuzz against aez crate</title>
<updated>2025-04-16T17:21:29+00:00</updated>
<author>
<name>Daniel Schadt</name>
<email>kingdread@gmx.de</email>
</author>
<published>2025-04-16T17:21:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.kingdread.de/cgit.cgi/zears/commit/?id=66814768f8c172d6996d037064924c908245a951'/>
<id>66814768f8c172d6996d037064924c908245a951</id>
<content type='text'>
I just want to ensure that we get the same encrypted values as the
reference (which seems fine), but for some reason, I get a lot of
crashes in aez:

AddressSanitizer:DEADLYSIGNAL
=================================================================
==15467==ERROR: AddressSanitizer: SEGV on unknown address 0x7b34b0420000 (pc 0x6371fcd8f682 bp 0x7ffceb91abf0 sp 0x7ffceb91a950 T0)
==15467==The signal is caused by a READ memory access.
    #0 0x6371fcd8f682 in _mm_loadu_si128 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/emmintrin.h:706:10
    #1 0x6371fcd8f682 in loadu /home/daniel/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aez-0.0.7/aez5-impls/aesni/encrypt.c:107:46
    #2 0x6371fcd8f682 in cipher_aez_core /home/daniel/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aez-0.0.7/aez5-impls/aesni/encrypt.c:572:32
    #3 0x6371fcd8d581 in aez::Aez::encrypt::h56048920113a17d9 /home/daniel/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aez-0.0.7/src/lib.rs:118:13

The crash
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
I just want to ensure that we get the same encrypted values as the
reference (which seems fine), but for some reason, I get a lot of
crashes in aez:

AddressSanitizer:DEADLYSIGNAL
=================================================================
==15467==ERROR: AddressSanitizer: SEGV on unknown address 0x7b34b0420000 (pc 0x6371fcd8f682 bp 0x7ffceb91abf0 sp 0x7ffceb91a950 T0)
==15467==The signal is caused by a READ memory access.
    #0 0x6371fcd8f682 in _mm_loadu_si128 /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/emmintrin.h:706:10
    #1 0x6371fcd8f682 in loadu /home/daniel/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aez-0.0.7/aez5-impls/aesni/encrypt.c:107:46
    #2 0x6371fcd8f682 in cipher_aez_core /home/daniel/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aez-0.0.7/aez5-impls/aesni/encrypt.c:572:32
    #3 0x6371fcd8d581 in aez::Aez::encrypt::h56048920113a17d9 /home/daniel/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aez-0.0.7/src/lib.rs:118:13

The crash
</pre>
</div>
</content>
</entry>
<entry>
<title>slightly speed up aez_prf</title>
<updated>2025-04-15T20:30:40+00:00</updated>
<author>
<name>Daniel Schadt</name>
<email>kingdread@gmx.de</email>
</author>
<published>2025-04-15T20:29:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.kingdread.de/cgit.cgi/zears/commit/?id=5e05745e93a126673f2ba96d1746637fe0a3f52d'/>
<id>5e05745e93a126673f2ba96d1746637fe0a3f52d</id>
<content type='text'>
It doesn't matter much because we barely expect tau &gt; 16, but if
somebody decides to use aez as a way to generate a lot of pseudorandom
bytes, then oh well.

With this change, we make better use of SIMD block xor'ing if available.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It doesn't matter much because we barely expect tau &gt; 16, but if
somebody decides to use aez as a way to generate a lot of pseudorandom
bytes, then oh well.

With this change, we make better use of SIMD block xor'ing if available.
</pre>
</div>
</content>
</entry>
<entry>
<title>add documentation about feature flags</title>
<updated>2025-04-15T20:17:04+00:00</updated>
<author>
<name>Daniel Schadt</name>
<email>kingdread@gmx.de</email>
</author>
<published>2025-04-15T20:17:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.kingdread.de/cgit.cgi/zears/commit/?id=9b6cdde3509aa269b77698283f8080c587d4d1dc'/>
<id>9b6cdde3509aa269b77698283f8080c587d4d1dc</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>make portable_simd optional</title>
<updated>2025-04-15T20:00:53+00:00</updated>
<author>
<name>Daniel Schadt</name>
<email>kingdread@gmx.de</email>
</author>
<published>2025-04-15T20:00:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.kingdread.de/cgit.cgi/zears/commit/?id=ff3a647bc51d83208da341daa121db674e41f9e6'/>
<id>ff3a647bc51d83208da341daa121db674e41f9e6</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>merge {de,en}cipher_aez_{tiny,core}</title>
<updated>2025-04-11T16:24:44+00:00</updated>
<author>
<name>Daniel Schadt</name>
<email>kingdread@gmx.de</email>
</author>
<published>2025-04-11T16:24:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.kingdread.de/cgit.cgi/zears/commit/?id=af2c01c00afdb819c95d68e2c7e980e673c0d5b2'/>
<id>af2c01c00afdb819c95d68e2c7e980e673c0d5b2</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
