<feed xmlns='http://www.w3.org/2005/Atom'>
<title>zears, branch v0.2.0</title>
<subtitle>AEZ v5 implementation in Rust</subtitle>
<link rel='alternate' type='text/html' href='https://git.kingdread.de/cgit.cgi/zears/'/>
<entry>
<title>push version to 0.2.0</title>
<updated>2025-04-22T19:58:50+00:00</updated>
<author>
<name>Daniel Schadt</name>
<email>kingdread@gmx.de</email>
</author>
<published>2025-04-22T19:58:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.kingdread.de/cgit.cgi/zears/commit/?id=9ff8dcab2c0de9dfceeadb2894afe1b079613faa'/>
<id>9ff8dcab2c0de9dfceeadb2894afe1b079613faa</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>add notes about fuzzing to readme</title>
<updated>2025-04-22T19:43:03+00:00</updated>
<author>
<name>Daniel Schadt</name>
<email>kingdread@gmx.de</email>
</author>
<published>2025-04-22T19:43:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.kingdread.de/cgit.cgi/zears/commit/?id=aa259b1c8109bd590c1bd3abda0674729cfdf388'/>
<id>aa259b1c8109bd590c1bd3abda0674729cfdf388</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>add keywords/categories/badges</title>
<updated>2025-04-17T11:50:01+00:00</updated>
<author>
<name>Daniel Schadt</name>
<email>kingdread@gmx.de</email>
</author>
<published>2025-04-17T11:50:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.kingdread.de/cgit.cgi/zears/commit/?id=4bd12bb7d8ab938fadf4f63f6dbabd67dfc9e186'/>
<id>4bd12bb7d8ab938fadf4f63f6dbabd67dfc9e186</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>fuzz against slow aez-ref, not fast aez-ni</title>
<updated>2025-04-17T10:56:44+00:00</updated>
<author>
<name>Daniel Schadt</name>
<email>kingdread@gmx.de</email>
</author>
<published>2025-04-17T10:56:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.kingdread.de/cgit.cgi/zears/commit/?id=9287a6cdc37c7c37e744f8418a13a74bb0e629ef'/>
<id>9287a6cdc37c7c37e744f8418a13a74bb0e629ef</id>
<content type='text'>
Two reasons:

First, this allows us to test more of the algorithm, as the (slow)
reference implementation supports multiple associated data items, large
values for tau, ...

Second, this avoids the segfault crash, which is a limit of the fast
implementation (the assumption there is that data is aligned properly,
and even a read out-of-bounds will not cause a segfault).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Two reasons:

First, this allows us to test more of the algorithm, as the (slow)
reference implementation supports multiple associated data items, large
values for tau, ...

Second, this avoids the segfault crash, which is a limit of the fast
implementation (the assumption there is that data is aligned properly,
and even a read out-of-bounds will not cause a segfault).
</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>
<entry>
<title>add decryption benchmark</title>
<updated>2025-04-11T15:44:32+00:00</updated>
<author>
<name>Daniel Schadt</name>
<email>kingdread@gmx.de</email>
</author>
<published>2025-04-11T15:44:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.kingdread.de/cgit.cgi/zears/commit/?id=ab5cb252fc6b16ce308646011d7c692aa935d223'/>
<id>ab5cb252fc6b16ce308646011d7c692aa935d223</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
