<feed xmlns='http://www.w3.org/2005/Atom'>
<title>pm24.git/crypto, branch v2.6.15</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<id>https://git.kobert.dev/pm24.git/atom?h=v2.6.15</id>
<link rel='self' href='https://git.kobert.dev/pm24.git/atom?h=v2.6.15'/>
<link rel='alternate' type='text/html' href='https://git.kobert.dev/pm24.git/'/>
<updated>2005-10-30T00:19:43Z</updated>
<entry>
<title>[CRYPTO] Check cra_alignmask against cra_blocksize</title>
<updated>2005-10-30T00:19:43Z</updated>
<author>
<name>Herbert Xu</name>
<email>herbert@gondor.apana.org.au</email>
</author>
<published>2005-10-03T05:15:36Z</published>
<link rel='alternate' type='text/html' href='https://git.kobert.dev/pm24.git/commit/?id=1b40efd772f4419fbc1a8940506424246985c333'/>
<id>urn:sha1:1b40efd772f4419fbc1a8940506424246985c333</id>
<content type='text'>
The cipher code relies on the fact that the block size is a multiple
of the required alignment.  So we should check this at the time of
algorith registration.  We also ensure that the block size is bounded
by the page size.

Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</content>
</entry>
<entry>
<title>[CRYPTO] Simplify one-member scatterlist expressions</title>
<updated>2005-10-30T00:19:43Z</updated>
<author>
<name>Herbert Xu</name>
<email>herbert@gondor.apana.org.au</email>
</author>
<published>2005-09-19T12:30:11Z</published>
<link rel='alternate' type='text/html' href='https://git.kobert.dev/pm24.git/commit/?id=6df5b9f48dd0e77fa796b9b7d3fde7cc5f1237f2'/>
<id>urn:sha1:6df5b9f48dd0e77fa796b9b7d3fde7cc5f1237f2</id>
<content type='text'>
This patch rewrites various occurences of &amp;sg[0] where sg is an array
of length one to simply sg.

Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</content>
</entry>
<entry>
<title>[PATCH] Use sg_set_buf/sg_init_one where applicable</title>
<updated>2005-10-30T00:19:43Z</updated>
<author>
<name>David Hardeman</name>
<email>david@2gen.com</email>
</author>
<published>2005-09-17T07:55:31Z</published>
<link rel='alternate' type='text/html' href='https://git.kobert.dev/pm24.git/commit/?id=378f058cc49bcda7fa63d3cd86d2f9a0a5188b1c'/>
<id>urn:sha1:378f058cc49bcda7fa63d3cd86d2f9a0a5188b1c</id>
<content type='text'>
This patch uses sg_set_buf/sg_init_one in some places where it was
duplicated.

Signed-off-by: David Hardeman &lt;david@2gen.com&gt;
Cc: James Bottomley &lt;James.Bottomley@steeleye.com&gt;
Cc: Greg KH &lt;greg@kroah.com&gt;
Cc: "David S. Miller" &lt;davem@davemloft.net&gt;
Cc: Jeff Garzik &lt;jgarzik@pobox.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@osdl.org&gt;
Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</content>
</entry>
<entry>
<title>[CRYPTO] Fix boundary check in standard multi-block cipher processors</title>
<updated>2005-09-06T21:49:44Z</updated>
<author>
<name>Herbert Xu</name>
<email>herbert@gondor.apana.org.au</email>
</author>
<published>2005-09-06T21:49:44Z</published>
<link rel='alternate' type='text/html' href='https://git.kobert.dev/pm24.git/commit/?id=fe2d5295a11e2ab2d6f4e7ea074816000b32eba3'/>
<id>urn:sha1:fe2d5295a11e2ab2d6f4e7ea074816000b32eba3</id>
<content type='text'>
The boundary check in the standard multi-block cipher processors are
broken when nbytes is not a multiple of bsize.  In those cases it will
always process an extra block.

This patch corrects the check so that it processes at most nbytes of
data.

Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>[CRYPTO]: Added CRYPTO_TFM_REQ_MAY_SLEEP flag</title>
<updated>2005-09-02T00:43:05Z</updated>
<author>
<name>Herbert Xu</name>
<email>herbert@gondor.apana.org.au</email>
</author>
<published>2005-09-02T00:43:05Z</published>
<link rel='alternate' type='text/html' href='https://git.kobert.dev/pm24.git/commit/?id=64baf3cfea974d2b9e671ccfdbc03e030ea5ebc6'/>
<id>urn:sha1:64baf3cfea974d2b9e671ccfdbc03e030ea5ebc6</id>
<content type='text'>
The crypto layer currently uses in_atomic() to determine whether it is
allowed to sleep.  This is incorrect since spin locks don't always cause
in_atomic() to return true.

Instead of that, this patch returns to an earlier idea of a per-tfm flag
which determines whether sleeping is allowed.  Unlike the earlier version,
the default is to not allow sleeping.  This ensures that no existing code
can break.

As usual, this flag may either be set through crypto_alloc_tfm(), or
just before a specific crypto operation.

Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>[CRYPTO]: Fix XTEA implementation</title>
<updated>2005-09-02T00:42:46Z</updated>
<author>
<name>Aaron Grothe</name>
<email>ajgrothe@yahoo.com</email>
</author>
<published>2005-09-02T00:42:46Z</published>
<link rel='alternate' type='text/html' href='https://git.kobert.dev/pm24.git/commit/?id=fb4f10ed50f01b0f953068456bfb6e2885921b01'/>
<id>urn:sha1:fb4f10ed50f01b0f953068456bfb6e2885921b01</id>
<content type='text'>
The XTEA implementation was incorrect due to a misinterpretation of
operator precedence.  Because of the wide-spread nature of this
error, the erroneous implementation will be kept, albeit under the
new name of XETA.

Signed-off-by: Aaron Grothe &lt;ajgrothe@yahoo.com&gt;
Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>[PATCH] clean up inline static vs static inline</title>
<updated>2005-07-27T23:26:20Z</updated>
<author>
<name>Jesper Juhl</name>
<email>juhl@dif.dk</email>
</author>
<published>2005-07-27T18:46:09Z</published>
<link rel='alternate' type='text/html' href='https://git.kobert.dev/pm24.git/commit/?id=77933d7276ee8fa0e2947641941a6f7a100a327b'/>
<id>urn:sha1:77933d7276ee8fa0e2947641941a6f7a100a327b</id>
<content type='text'>
`gcc -W' likes to complain if the static keyword is not at the beginning of
the declaration.  This patch fixes all remaining occurrences of "inline
static" up with "static inline" in the entire kernel tree (140 occurrences in
47 files).

While making this change I came across a few lines with trailing whitespace
that I also fixed up, I have also added or removed a blank line or two here
and there, but there are no functional changes in the patch.

Signed-off-by: Jesper Juhl &lt;juhl-lkml@dif.dk&gt;
Signed-off-by: Andrew Morton &lt;akpm@osdl.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
</entry>
<entry>
<title>[CRYPTO]: Fix zero-extension bug on 64-bit architectures.</title>
<updated>2005-07-15T14:41:31Z</updated>
<author>
<name>Herbert Xu</name>
<email>herbert@gondor.apana.org.au</email>
</author>
<published>2005-07-15T14:41:31Z</published>
<link rel='alternate' type='text/html' href='https://git.kobert.dev/pm24.git/commit/?id=9d853c3757ef74ded5ae564d68370f22208fb88b'/>
<id>urn:sha1:9d853c3757ef74ded5ae564d68370f22208fb88b</id>
<content type='text'>
Noticed by Ken-ichirou MATSUZAWA.

Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>[CRYPTO] Add faster DES code from Dag Arne Osvik</title>
<updated>2005-07-06T20:55:44Z</updated>
<author>
<name>Dag Arne Osvik</name>
<email>da@osvik.no</email>
</author>
<published>2005-07-06T20:55:44Z</published>
<link rel='alternate' type='text/html' href='https://git.kobert.dev/pm24.git/commit/?id=e1d5dea1dfbfe484358c40db7f233ed6b5605646'/>
<id>urn:sha1:e1d5dea1dfbfe484358c40db7f233ed6b5605646</id>
<content type='text'>
I've made a new implementation of DES to replace the old one in the kernel.
It provides faster encryption on all tested processors apart from the original
Pentium, and key setup is many times faster.

                                Speed relative to old kernel implementation
Processor       des_setkey      des_encrypt     des3_ede_setkey des3_ede_encrypt
Pentium
120Mhz          6.8             0.82            7.2             0.86
Pentium III
1.266Ghz        5.6             1.19            5.8             1.34
Pentium M
1.3Ghz          5.7             1.15            6.0             1.31
Pentium 4
2.266Ghz        5.8             1.24            6.0             1.40
Pentium 4E
3Ghz            5.4             1.27            5.5             1.48
StrongARM 1110
206Mhz          4.3             1.03            4.4             1.14
Athlon XP
2Ghz            7.8             1.44            8.1             1.61
Athlon 64
2Ghz            7.8             1.34            8.3             1.49

Signed-off-by: Dag Arne Osvik &lt;da@osvik.no&gt;
Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>[CRYPTO] Remove unused iv field from context structure</title>
<updated>2005-07-06T20:55:21Z</updated>
<author>
<name>Herbert Xu</name>
<email>herbert@gondor.apana.org.au</email>
</author>
<published>2005-07-06T20:55:21Z</published>
<link rel='alternate' type='text/html' href='https://git.kobert.dev/pm24.git/commit/?id=a9df3597fec5472d0840fbfdc2a3fac5268f7d08'/>
<id>urn:sha1:a9df3597fec5472d0840fbfdc2a3fac5268f7d08</id>
<content type='text'>
The iv field in des_ctx/des3_ede_ctx/serpent_ctx has never been used.
This was noticed by Dag Arne Osvik.

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