forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-11 04dd17822334871b23ea2862f7798fb0e0007777
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 }