forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-10 748e4f3d702def1a4bff191e0cf93b6a05340f01
kernel/arch/arm/crypto/blake2b-neon-glue.c
....@@ -21,7 +21,7 @@
2121 static void blake2b_compress_arch(struct blake2b_state *state,
2222 const u8 *block, size_t nblocks, u32 inc)
2323 {
24
- if (!may_use_simd()) {
24
+ if (!crypto_simd_usable()) {
2525 blake2b_compress_generic(state, block, nblocks, inc);
2626 return;
2727 }