On 2024/11/3 21:57, Eric Biggers wrote:
On Sun, Nov 03, 2024 at 09:36:55PM +0800, WangYuli wrote:
Even though the narrower CRC instructions doesn't require GRLEN=64, they still
*aren't* part of LA32 (LoongArch reference manual v1.10, Volume 1, Table 2-1).
Link:
https://lore.kernel.org/all/0a7
Even though the narrower CRC instructions doesn't require GRLEN=64, they still
*aren't* part of LA32 (LoongArch reference manual v1.10, Volume 1, Table 2-1).
Link:
https://lore.kernel.org/all/0a7d0a9e-c56e-4ee2-a83b-00164a450...@xen0n.name/
Therefore, we could not directly add ARCH_HAS_CRC32 to
On Sun, Nov 03, 2024 at 09:36:55PM +0800, WangYuli wrote:
> Even though the narrower CRC instructions doesn't require GRLEN=64, they
> still *aren't* part of LA32 (LoongArch reference manual v1.10, Volume 1,
> Table 2-1).
> Link:
> https://lore.kernel.org/all/0a7d0a9e-c56e-4ee2-a83b-00164a450...
From: Eric Biggers
Move the loongarch CRC32 assembly code into the lib directory and wire
it up to the library interface. This allows it to be used without going
through the crypto API. It remains usable via the crypto API too via
the shash algorithms that use the library interface. Thus all t