summaryrefslogtreecommitdiff
path: root/crypto/aegis.h
diff options
context:
space:
mode:
authorDanilo Krummrich <dakr@kernel.org>2024-08-05 12:39:15 +0200
committerDanilo Krummrich <dakr@kernel.org>2024-08-13 16:05:09 +0200
commit3634762ead9f828eac6796e0d68e4dfed0f6b4cf (patch)
tree953347f4a44bd9507887826200f8f59ea3cf408e /crypto/aegis.h
parent58a32cb00d641066657491add0638239f806777f (diff)
rust: alloc: implement `contains` for `Flags`
Provide a simple helper function to check whether given flags do contain one or multiple other flags. This is used by a subsequent patch implementing the Cmalloc `Allocator` to check for __GFP_ZERO. Reviewed-by: Alice Ryhl <aliceryhl@google.com> Signed-off-by: Danilo Krummrich <dakr@kernel.org>
Diffstat (limited to 'crypto/aegis.h')
0 files changed, 0 insertions, 0 deletions