aboutsummaryrefslogtreecommitdiff
path: root/rust/helpers.c
diff options
context:
space:
mode:
authorEric Biggers <[email protected]>2023-10-18 22:53:28 -0700
committerHerbert Xu <[email protected]>2023-10-27 18:04:24 +0800
commit0174275a08e1ed72b3a4ddee462ee3d75c13cc65 (patch)
tree13e25954ef5100a9971f41cc28cbb534766ca466 /rust/helpers.c
parent9924003807a9738b3f5295174b6c623f5a85eb97 (diff)
crypto: stm32 - remove unnecessary alignmask
The stm32 crc32 algorithms set a nonzero alignmask, but they don't seem to actually need it. Their ->update function already has code that handles aligning the data to the same alignment that the alignmask specifies, their ->setkey function already uses get_unaligned_le32(), and their ->final function already uses put_unaligned_le32(). Therefore, stop setting the alignmask. This will allow these algorithms to keep being registered after alignmask support is removed from shash. Signed-off-by: Eric Biggers <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'rust/helpers.c')
0 files changed, 0 insertions, 0 deletions