<feed xmlns='http://www.w3.org/2005/Atom'>
<title>user/sven/linux.git/crypto/seqiv.c, branch v4.3-rc4</title>
<subtitle>Linux Kernel
</subtitle>
<id>https://git.stealer.net/cgit.cgi/user/sven/linux.git/atom?h=v4.3-rc4</id>
<link rel='self' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/atom?h=v4.3-rc4'/>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/'/>
<updated>2015-08-17T08:53:46Z</updated>
<entry>
<title>crypto: seqiv - Use generic geniv init/exit helpers</title>
<updated>2015-08-17T08:53:46Z</updated>
<author>
<name>Herbert Xu</name>
<email>herbert@gondor.apana.org.au</email>
</author>
<published>2015-08-13T09:28:59Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=659e7f528317d5a97e5100abcaf6e00552c23417'/>
<id>urn:sha1:659e7f528317d5a97e5100abcaf6e00552c23417</id>
<content type='text'>
This patch replaces the seqiv init/exit handlers with the generic
geniv helpers.

Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</content>
</entry>
<entry>
<title>crypto: seqiv - Remove AEAD compatibility code</title>
<updated>2015-08-17T08:53:43Z</updated>
<author>
<name>Herbert Xu</name>
<email>herbert@gondor.apana.org.au</email>
</author>
<published>2015-08-13T09:28:54Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=92932d03c2b3613f40ce49ff42088e814e403afc'/>
<id>urn:sha1:92932d03c2b3613f40ce49ff42088e814e403afc</id>
<content type='text'>
Now that we no longer have any legacy AEAD implementations the
compatibility code path can no longer be triggered.  This patch
removes it.

Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</content>
</entry>
<entry>
<title>crypto: seqiv - Remove seqniv</title>
<updated>2015-08-17T08:53:42Z</updated>
<author>
<name>Herbert Xu</name>
<email>herbert@gondor.apana.org.au</email>
</author>
<published>2015-08-13T09:28:53Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=8a2cd1c4a7aa0b4a24eafd6914756be6fbe7f361'/>
<id>urn:sha1:8a2cd1c4a7aa0b4a24eafd6914756be6fbe7f361</id>
<content type='text'>
Now that IPsec no longer uses seqniv we can remove it.

Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</content>
</entry>
<entry>
<title>crypto: seqiv - Replace seqniv with seqiv</title>
<updated>2015-07-14T06:56:46Z</updated>
<author>
<name>Herbert Xu</name>
<email>herbert@gondor.apana.org.au</email>
</author>
<published>2015-07-08T23:17:22Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=5964f26c9f6003e9badedb768a0735eaf034ac56'/>
<id>urn:sha1:5964f26c9f6003e9badedb768a0735eaf034ac56</id>
<content type='text'>
This patch replaces the seqniv generator with seqiv when the
underlying algorithm understands the new calling convention.

This not only makes more sense as now seqiv is solely responsible
for IV generation rather than also determining how the IV is going
to be used, it also allows for optimisations in the underlying
implementation.  For example, the space for the IV could be used
to add padding for authentication.

This patch also removes the unnecessary copying of IV to dst
during seqiv decryption as the IV is part of the AD and not cipher
text.

Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</content>
</entry>
<entry>
<title>crypto: seqiv - Add compatibility support without RNG</title>
<updated>2015-06-22T07:49:28Z</updated>
<author>
<name>Herbert Xu</name>
<email>herbert@gondor.apana.org.au</email>
</author>
<published>2015-06-21T11:11:49Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=eeee12aa34d840c6c99051f0ff85a9ffa1badd07'/>
<id>urn:sha1:eeee12aa34d840c6c99051f0ff85a9ffa1badd07</id>
<content type='text'>
When seqiv is used in compatibility mode, this patch allows it
to function even when an RNG Is not available.  It also changes
the RNG allocation for the new explicit seqiv interface so that
we only hold a reference to the RNG during initialisation.

Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</content>
</entry>
<entry>
<title>crypto: seqiv - Move IV seeding into init function</title>
<updated>2015-06-04T07:05:01Z</updated>
<author>
<name>Herbert Xu</name>
<email>herbert@gondor.apana.org.au</email>
</author>
<published>2015-06-03T06:49:27Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=b7dcfab4a7cdc3103c7560cd2386036266b2740e'/>
<id>urn:sha1:b7dcfab4a7cdc3103c7560cd2386036266b2740e</id>
<content type='text'>
We currently do the IV seeding on the first givencrypt call in
order to conserve entropy.  However, this does not work with
DRBG which cannot be called from interrupt context.  In fact,
with DRBG we don't need to conserve entropy anyway.  So this
patch moves the seeding into the init function.

Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</content>
</entry>
<entry>
<title>crypto: seqiv - Fix module unload/reload crash</title>
<updated>2015-05-28T03:23:19Z</updated>
<author>
<name>Herbert Xu</name>
<email>herbert@gondor.apana.org.au</email>
</author>
<published>2015-05-27T06:37:40Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=056c04ba8bbad4c563c05306cc8a8c66e713f280'/>
<id>urn:sha1:056c04ba8bbad4c563c05306cc8a8c66e713f280</id>
<content type='text'>
On module unload we weren't unregistering the seqniv template,
thus leading to a crash the next time someone walks the template
list.

Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</content>
</entry>
<entry>
<title>crypto: seqiv - Fix IV size in context size calculation</title>
<updated>2015-05-28T03:23:19Z</updated>
<author>
<name>Herbert Xu</name>
<email>herbert@gondor.apana.org.au</email>
</author>
<published>2015-05-27T06:37:39Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=ccdb8a038451e5f8d62c786591902f08308be524'/>
<id>urn:sha1:ccdb8a038451e5f8d62c786591902f08308be524</id>
<content type='text'>
This patch fixes a bug in the context size calculation where we
were still referring to the old cra_aead.

Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</content>
</entry>
<entry>
<title>crypto: seqiv - Use common IV generation code</title>
<updated>2015-05-28T03:23:18Z</updated>
<author>
<name>Herbert Xu</name>
<email>herbert@gondor.apana.org.au</email>
</author>
<published>2015-05-27T06:37:37Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=661cfd0e5ed22cfd89a09c5f371d8fcb7d302547'/>
<id>urn:sha1:661cfd0e5ed22cfd89a09c5f371d8fcb7d302547</id>
<content type='text'>
This patch makes use of the new common IV generation code.

Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</content>
</entry>
<entry>
<title>crypto: seqiv - Copy AD along with plain/cipher text</title>
<updated>2015-05-28T03:23:18Z</updated>
<author>
<name>Herbert Xu</name>
<email>herbert@gondor.apana.org.au</email>
</author>
<published>2015-05-27T06:37:36Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=d0ad1b246dc3d77df9a931c4a7852ff72e84ce4d'/>
<id>urn:sha1:d0ad1b246dc3d77df9a931c4a7852ff72e84ce4d</id>
<content type='text'>
As the AD does not necessarily exist in the destination buffer
it must be copied along with the plain/cipher text.

Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</content>
</entry>
</feed>
