]> git.ipfire.org Git - thirdparty/systemd.git/commit
sha256: port to new generic IS_ALIGNED32() macro 25667/head
authorLennart Poettering <lennart@poettering.net>
Wed, 7 Dec 2022 17:19:29 +0000 (18:19 +0100)
committerLennart Poettering <lennart@poettering.net>
Thu, 8 Dec 2022 14:30:41 +0000 (15:30 +0100)
commita0ccc18e89a9cb04b4177a0f5bbf3bb571397ca6
tree66587e2b704426b045882e5fb12ab8514b2ae2a8
parent4f07388360a3513b9fc8d2773568b8def941f4a4
sha256: port to new generic IS_ALIGNED32() macro

This drops the special casing for s390 and other archs, which was
cargo-culted from glibc. Given it's not obvious why it exists, and is at
best an optimization let's simply avoid it, in particular as the archs
are relatively non-mainstream.

Inspired by: #25636
src/fundamental/sha256.c