<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/arch/arm64/crypto, branch linux-4.16.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.16.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.16.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2018-04-08T12:29:51Z</updated>
<entry>
<title>crypto: arm,arm64 - Fix random regeneration of S_shipped</title>
<updated>2018-04-08T12:29:51Z</updated>
<author>
<name>Leonard Crestez</name>
</author>
<published>2018-03-13T20:17:23Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=84e2b81c9b06d2fed306b1f4ebd1fa061e7d110b'/>
<id>urn:sha1:84e2b81c9b06d2fed306b1f4ebd1fa061e7d110b</id>
<content type='text'>
commit 6aaf49b495b446ff6eec0ac983f781ca0dc56a73 upstream.

The decision to rebuild .S_shipped is made based on the relative
timestamps of .S_shipped and .pl files but git makes this essentially
random. This means that the perl script might run anyway (usually at
most once per checkout), defeating the whole purpose of _shipped.

Fix by skipping the rule unless explicit make variables are provided:
REGENERATE_ARM_CRYPTO or REGENERATE_ARM64_CRYPTO.

This can produce nasty occasional build failures downstream, for example
for toolchains with broken perl. The solution is minimally intrusive to
make it easier to push into stable.

Another report on a similar issue here: https://lkml.org/lkml/2018/3/8/1379

Signed-off-by: Leonard Crestez &lt;leonard.crestez@nxp.com&gt;
Cc: &lt;stable@vger.kernel.org&gt;
Reviewed-by: Masahiro Yamada &lt;yamada.masahiro@socionext.com&gt;
Acked-by: Ard Biesheuvel &lt;ard.biesheuvel@linaro.org&gt;
Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
</entry>
<entry>
<title>crypto: arm64/sha512 - fix/improve new v8.2 Crypto Extensions code</title>
<updated>2018-01-25T14:10:36Z</updated>
<author>
<name>Ard Biesheuvel</name>
</author>
<published>2018-01-19T12:04:40Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=fb87127bcefc17efab757606e1b1e333fd614dd0'/>
<id>urn:sha1:fb87127bcefc17efab757606e1b1e333fd614dd0</id>
<content type='text'>
Add a missing symbol export that prevents this code to be built as a
module. Also, move the round constant table to the .rodata section,
and use a more optimized version of the core transform.

Signed-off-by: Ard Biesheuvel &lt;ard.biesheuvel@linaro.org&gt;
Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</content>
</entry>
<entry>
<title>crypto: arm64/sm3 - new v8.2 Crypto Extensions implementation</title>
<updated>2018-01-25T14:10:35Z</updated>
<author>
<name>Ard Biesheuvel</name>
</author>
<published>2018-01-19T12:04:39Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=140aa50d68ea01e7caea6900f6f51882d4dd65c5'/>
<id>urn:sha1:140aa50d68ea01e7caea6900f6f51882d4dd65c5</id>
<content type='text'>
Implement the Chinese SM3 secure hash algorithm using the new
special instructions that have been introduced as an optional
extension in ARMv8.2.

Tested-by: Steve Capper &lt;steve.capper@arm.com&gt;
Signed-off-by: Ard Biesheuvel &lt;ard.biesheuvel@linaro.org&gt;
Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</content>
</entry>
<entry>
<title>crypto: arm64/sha3 - new v8.2 Crypto Extensions implementation</title>
<updated>2018-01-25T14:10:35Z</updated>
<author>
<name>Ard Biesheuvel</name>
</author>
<published>2018-01-19T12:04:38Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=15d5910e92614e642e7485bb9e89d46e4d1d65d9'/>
<id>urn:sha1:15d5910e92614e642e7485bb9e89d46e4d1d65d9</id>
<content type='text'>
Implement the various flavours of SHA3 using the new optional
EOR3/RAX1/XAR/BCAX instructions introduced by ARMv8.2.

Tested-by: Steve Capper &lt;steve.capper@arm.com&gt;
Signed-off-by: Ard Biesheuvel &lt;ard.biesheuvel@linaro.org&gt;
Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</content>
</entry>
<entry>
<title>crypto: arm64/sha1-ce - get rid of literal pool</title>
<updated>2018-01-18T12:00:33Z</updated>
<author>
<name>Ard Biesheuvel</name>
</author>
<published>2018-01-10T12:11:42Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=20b04c02bcb2d1e6a642bbe9e759157bb198499e'/>
<id>urn:sha1:20b04c02bcb2d1e6a642bbe9e759157bb198499e</id>
<content type='text'>
Load the four SHA-1 round constants using immediates rather than literal
pool entries, to avoid having executable data that may be exploitable
under speculation attacks.

Signed-off-by: Ard Biesheuvel &lt;ard.biesheuvel@linaro.org&gt;
Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</content>
</entry>
<entry>
<title>crypto: arm64/sha2-ce - move the round constant table to .rodata section</title>
<updated>2018-01-18T12:00:32Z</updated>
<author>
<name>Ard Biesheuvel</name>
</author>
<published>2018-01-10T12:11:41Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=17a0607019d56e136173600372a371c28a6c0076'/>
<id>urn:sha1:17a0607019d56e136173600372a371c28a6c0076</id>
<content type='text'>
Move the SHA2 round constant table to the .rodata section where it is
safe from being exploited by speculative execution.

Signed-off-by: Ard Biesheuvel &lt;ard.biesheuvel@linaro.org&gt;
Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</content>
</entry>
<entry>
<title>crypto: arm64/crct10dif - move literal data to .rodata section</title>
<updated>2018-01-18T12:00:31Z</updated>
<author>
<name>Ard Biesheuvel</name>
</author>
<published>2018-01-10T12:11:40Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=325f562d8f4a2047c26705b9788ce38a099225ed'/>
<id>urn:sha1:325f562d8f4a2047c26705b9788ce38a099225ed</id>
<content type='text'>
Move the CRC-T10DIF literal data to the .rodata section where it is
safe from being exploited by speculative execution.

Signed-off-by: Ard Biesheuvel &lt;ard.biesheuvel@linaro.org&gt;
Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</content>
</entry>
<entry>
<title>crypto: arm64/crc32 - move literal data to .rodata section</title>
<updated>2018-01-18T12:00:31Z</updated>
<author>
<name>Ard Biesheuvel</name>
</author>
<published>2018-01-10T12:11:39Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=eec7d4593a0c922c2d12649a373825cfa65c17ea'/>
<id>urn:sha1:eec7d4593a0c922c2d12649a373825cfa65c17ea</id>
<content type='text'>
Move CRC32 literal data to the .rodata section where it is safe from
being exploited by speculative execution.

Signed-off-by: Ard Biesheuvel &lt;ard.biesheuvel@linaro.org&gt;
Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</content>
</entry>
<entry>
<title>crypto: arm64/aes-neon - move literal data to .rodata section</title>
<updated>2018-01-18T12:00:30Z</updated>
<author>
<name>Ard Biesheuvel</name>
</author>
<published>2018-01-10T12:11:38Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=62c24708761aa41fcda5986170276b7aa2669798'/>
<id>urn:sha1:62c24708761aa41fcda5986170276b7aa2669798</id>
<content type='text'>
Move the S-boxes and some other literals to the .rodata section where
it is safe from being exploited by speculative execution.

Signed-off-by: Ard Biesheuvel &lt;ard.biesheuvel@linaro.org&gt;
Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</content>
</entry>
<entry>
<title>crypto: arm64/aes-cipher - move S-box to .rodata section</title>
<updated>2018-01-18T12:00:30Z</updated>
<author>
<name>Ard Biesheuvel</name>
</author>
<published>2018-01-10T12:11:37Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=96a74f7bdc9c1326a06b69797725a285e9282cb3'/>
<id>urn:sha1:96a74f7bdc9c1326a06b69797725a285e9282cb3</id>
<content type='text'>
Move the AES inverse S-box to the .rodata section where it is safe from
abuse by speculation.

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