<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/crypto/testmgr.c, branch linux-2.6.32.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.32.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.32.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2010-08-13T20:20:15Z</updated>
<entry>
<title>crypto: testmgr - Fix complain about lack test for internal used algorithm</title>
<updated>2010-08-13T20:20:15Z</updated>
<author>
<name>Song Youquan</name>
</author>
<published>2009-12-23T11:45:20Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=07049d16deb4ff91526619a471bdfb84b25db0d9'/>
<id>urn:sha1:07049d16deb4ff91526619a471bdfb84b25db0d9</id>
<content type='text'>
commit 863b557a88f8c033f7419fabafef4712a5055f85 upstream.

When load aesni-intel and ghash_clmulni-intel driver,kernel will complain no
 test for some internal used algorithm.
The strange information as following:

alg: No test for __aes-aesni (__driver-aes-aesni)
alg: No test for __ecb-aes-aesni (__driver-ecb-aes-aesni)
alg: No test for __cbc-aes-aesni (__driver-cbc-aes-aesni)
alg: No test for __ecb-aes-aesni (cryptd(__driver-ecb-aes-aesni)
alg: No test for __ghash (__ghash-pclmulqdqni)
alg: No test for __ghash (cryptd(__ghash-pclmulqdqni))

This patch add NULL test entries for these algorithm and driver.

Signed-off-by: Song Youquan &lt;youquan.song@intel.com&gt;
Signed-off-by: Hang Ying &lt;ying.huang@intel.com&gt;
Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
Acked-by: Jiri Kosina &lt;jkosina@suse.cz&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>crypto: vmac - New hash algorithm for intel_txt support</title>
<updated>2009-09-02T10:05:22Z</updated>
<author>
<name>Shane Wang</name>
</author>
<published>2009-09-02T10:05:22Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f1939f7c56456d22a559d2c75156e91912a2e97e'/>
<id>urn:sha1:f1939f7c56456d22a559d2c75156e91912a2e97e</id>
<content type='text'>
This patch adds VMAC (a fast MAC) support into crypto framework.

Signed-off-by: Shane Wang &lt;shane.wang@intel.com&gt;
Signed-off-by: Joseph Cihula &lt;joseph.cihula@intel.com&gt;
Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</content>
</entry>
<entry>
<title>crypto: testmgr - Allow implementation-specific tests</title>
<updated>2009-07-02T08:32:12Z</updated>
<author>
<name>Herbert Xu</name>
</author>
<published>2009-07-02T08:32:12Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a68f6610d4f1ebe61818f5926fa8fa9e75d06a95'/>
<id>urn:sha1:a68f6610d4f1ebe61818f5926fa8fa9e75d06a95</id>
<content type='text'>
This patch adds the support for testing specific implementations.
This should only be used in very specific situations.  Right now
this means specific implementations of random number generators.

Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</content>
</entry>
<entry>
<title>crypto: testmgr - Remove hash size check</title>
<updated>2009-06-24T05:48:13Z</updated>
<author>
<name>Herbert Xu</name>
</author>
<published>2009-06-24T05:48:13Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=259c5e05c13daaaea039b5bf29a2674701cfd68e'/>
<id>urn:sha1:259c5e05c13daaaea039b5bf29a2674701cfd68e</id>
<content type='text'>
Until hash test vectors grow longer than 256 bytes, the only
purpose of the check is to generate a gcc warning.

Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</content>
</entry>
<entry>
<title>crypto: testmgr - Allow hash test vectors longer than a page</title>
<updated>2009-06-02T04:05:02Z</updated>
<author>
<name>Herbert Xu</name>
</author>
<published>2009-05-29T06:23:12Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a0cfae59f8381c5c670fce2cc3de70b35421f920'/>
<id>urn:sha1:a0cfae59f8381c5c670fce2cc3de70b35421f920</id>
<content type='text'>
As it stands we will each test hash vector both linearly and as
a scatter list if applicable.  This means that we cannot have
vectors longer than a page, even with scatter lists.

This patch fixes this by skipping test vectors with np != 0 when
testing linearly.

Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</content>
</entry>
<entry>
<title>crypto: testmgr - Check all test vector lengths</title>
<updated>2009-06-02T04:05:00Z</updated>
<author>
<name>Herbert Xu</name>
</author>
<published>2009-05-29T06:05:42Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=fd57f22a09ae276ca3e9cd11ed99b617d611ba82'/>
<id>urn:sha1:fd57f22a09ae276ca3e9cd11ed99b617d611ba82</id>
<content type='text'>
As we cannot guarantee the availability of contiguous pages at
run-time, all test vectors must either fit within a page, or use
scatter lists.  In some cases vectors were not checked as to
whether they fit inside a page.  This patch adds all the missing
checks.

Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</content>
</entry>
<entry>
<title>crypto: compress - Return produced bytes in crypto_{,de}compress_{update,final}</title>
<updated>2009-06-02T04:04:56Z</updated>
<author>
<name>Geert Uytterhoeven</name>
</author>
<published>2009-05-27T05:05:02Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=3ce858cb04de8bc83449eac707c8012a1944daca'/>
<id>urn:sha1:3ce858cb04de8bc83449eac707c8012a1944daca</id>
<content type='text'>
If crypto_{,de}compress_{update,final}() succeed, return the actual number of
bytes produced instead of zero, so their users don't have to calculate that
theirselves.

Signed-off-by: Geert Uytterhoeven &lt;Geert.Uytterhoeven@sonycom.com&gt;
Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</content>
</entry>
<entry>
<title>crypto: testmgr - Skip algs not flagged fips_allowed in fips mode</title>
<updated>2009-06-02T04:04:49Z</updated>
<author>
<name>Jarod Wilson</name>
</author>
<published>2009-05-15T05:17:05Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a3bef3a31a19bd943047ba8bf5b2cc7b5d164362'/>
<id>urn:sha1:a3bef3a31a19bd943047ba8bf5b2cc7b5d164362</id>
<content type='text'>
Because all fips-allowed algorithms must be self-tested before they
can be used, they will all have entries in testmgr.c's alg_test_descs[].
Skip self-tests for any algs not flagged as fips_approved and return
-EINVAL when in fips mode.

Signed-off-by: Jarod Wilson &lt;jarod@redhat.com&gt;
Acked-by: Neil Horman &lt;nhorman@tuxdriver.com&gt;
Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</content>
</entry>
<entry>
<title>crypto: testmgr - Mark algs allowed in fips mode</title>
<updated>2009-06-02T04:04:48Z</updated>
<author>
<name>Jarod Wilson</name>
</author>
<published>2009-05-15T05:16:03Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a1915d51e8e7ee192d2101d621d425379088cbb0'/>
<id>urn:sha1:a1915d51e8e7ee192d2101d621d425379088cbb0</id>
<content type='text'>
Set the fips_allowed flag in testmgr.c's alg_test_descs[] for algs
that are allowed to be used when in fips mode.

One caveat: des isn't actually allowed anymore, but des (and thus also
ecb(des)) has to be permitted, because disallowing them results in
des3_ede being unable to properly register (see des module init func).

Also, crc32 isn't technically on the fips approved list, but I think
it gets used in various places that necessitate it being allowed.

This list is based on
http://csrc.nist.gov/groups/STM/cavp/index.html

Important note: allowed/approved here does NOT mean "validated", just
that its an alg that *could* be validated.

Signed-off-by: Jarod Wilson &lt;jarod@redhat.com&gt;
Acked-by: Neil Horman &lt;nhorman@tuxdriver.com&gt;
Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</content>
</entry>
<entry>
<title>crypto: testmgr - Add ctr(aes) test vectors</title>
<updated>2009-06-02T04:04:46Z</updated>
<author>
<name>Jarod Wilson</name>
</author>
<published>2009-05-06T09:29:17Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f7cb80f2b9fa06730be20d17c80b12e511a36c1c'/>
<id>urn:sha1:f7cb80f2b9fa06730be20d17c80b12e511a36c1c</id>
<content type='text'>
Now with multi-block test vectors, all from SP800-38A, Appendix F.5.
Also added ctr(aes) to case 10 in tcrypt.

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