diff options
author | Eric Biggers <ebiggers@google.com> | 2025-01-27 14:15:33 -0800 |
---|---|---|
committer | Mikulas Patocka <mpatocka@redhat.com> | 2025-02-03 14:10:10 +0100 |
commit | f656fa4013388a52d1fdd82268955c5e7be63ad2 (patch) | |
tree | 7c7bef0635ed072ba8acec347f74478dd39eb321 /scripts/lib/kdoc/kdoc_parser.py | |
parent | 2014c95afecee3e76ca4a56956a936e23283f05b (diff) |
dm-crypt: switch to using the crc32 library
Now that the crc32() library function takes advantage of
architecture-specific optimizations, it is unnecessary to go through the
crypto API. Just use crc32(). This is much simpler, and it improves
performance due to eliminating the crypto API overhead. (However, this
only affects the TCW IV mode of dm-crypt, which is a compatibility mode
that is rarely used compared to other dm-crypt modes.)
Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_parser.py')
0 files changed, 0 insertions, 0 deletions