Home
last modified time | relevance | path

Searched refs:crypto_simd_usable (Results 1 – 25 of 38) sorted by relevance

12

/linux/arch/riscv/crypto/
H A Dsm4-riscv64-glue.c32 if (crypto_simd_usable()) { in riscv64_sm4_setkey()
47 if (crypto_simd_usable()) { in riscv64_sm4_encrypt()
60 if (crypto_simd_usable()) { in riscv64_sm4_decrypt()
H A Dsm3-riscv64-glue.c37 if (crypto_simd_usable()) { in sm3_block()
/linux/lib/crc/arm64/
H A Dcrc32.h26 if (len >= min_len && cpu_have_named_feature(PMULL) && crypto_simd_usable()) { in crc32_le_arch()
46 if (len >= min_len && cpu_have_named_feature(PMULL) && crypto_simd_usable()) { in crc32c_arch()
66 if (len >= min_len && cpu_have_named_feature(PMULL) && crypto_simd_usable()) { in crc32_be_arch()
H A Dcrc-t10dif.h28 if (crypto_simd_usable()) { in crc_t10dif_arch()
36 crypto_simd_usable()) { in crc_t10dif_arch()
/linux/include/crypto/internal/
H A Dsimd.h42 * crypto_simd_usable() - is it allowed at this time to use SIMD instructions or
53 #define crypto_simd_usable() \ macro
56 #define crypto_simd_usable() may_use_simd() macro
/linux/lib/crc/arm/
H A Dcrc-t10dif.h26 if (crypto_simd_usable()) { in crc_t10dif_arch()
34 crypto_simd_usable()) { in crc_t10dif_arch()
H A Dcrc32.h37 static_branch_likely(&have_pmull) && crypto_simd_usable()) { in crc32_le_arch()
66 static_branch_likely(&have_pmull) && crypto_simd_usable()) { in crc32c_arch()
/linux/arch/arm64/crypto/
H A Dsm4-ce-cipher-glue.c32 if (!crypto_simd_usable()) { in sm4_ce_encrypt()
45 if (!crypto_simd_usable()) { in sm4_ce_decrypt()
H A Daes-ce-glue.c50 if (!crypto_simd_usable()) { in aes_cipher_encrypt()
64 if (!crypto_simd_usable()) { in aes_cipher_decrypt()
/linux/lib/crypto/arm64/
H A Dchacha-neon-glue.c67 if (!static_branch_likely(&have_neon) || !crypto_simd_usable()) { in hchacha_block_arch()
81 !crypto_simd_usable()) in chacha_crypt_arch()
H A Dsha512.h24 likely(crypto_simd_usable())) { in sha512_blocks()
H A Dsha256.h25 static_branch_likely(&have_neon) && crypto_simd_usable()) { in sha256_blocks()
/linux/arch/powerpc/crypto/
H A Daes.c85 if (!crypto_simd_usable()) { in p8_aes_encrypt()
102 if (!crypto_simd_usable()) { in p8_aes_decrypt()
H A Dghash.c76 if (crypto_simd_usable()) { in __ghash_block()
97 if (crypto_simd_usable()) { in __ghash_blocks()
/linux/crypto/
H A Dsimd.c72 if (!crypto_simd_usable() || in simd_skcipher_encrypt()
93 if (!crypto_simd_usable() || in simd_skcipher_decrypt()
298 if (!crypto_simd_usable() || in simd_aead_encrypt()
319 if (!crypto_simd_usable() || in simd_aead_decrypt()
/linux/lib/crypto/riscv/
H A Dsha512.h25 likely(crypto_simd_usable())) { in sha512_blocks()
H A Dsha256.h24 if (static_branch_likely(&have_extensions) && crypto_simd_usable()) { in sha256_blocks()
H A Dchacha-riscv64-glue.c35 if (!static_branch_likely(&use_zvkb) || !crypto_simd_usable()) in chacha_crypt_arch()
/linux/lib/crypto/arm/
H A Dsha512.h22 static_branch_likely(&have_neon) && likely(crypto_simd_usable())) { in sha512_blocks()
H A Dsha256.h24 static_branch_likely(&have_neon) && crypto_simd_usable()) { in sha256_blocks()
/linux/lib/crypto/x86/
H A Dsha512.h20 if (likely(crypto_simd_usable())) { \
H A Dsha256.h19 if (likely(crypto_simd_usable())) { \
/linux/lib/crc/x86/
H A Dcrc-pclmul-template.h60 crypto_simd_usable()) { \
/linux/lib/crc/powerpc/
H A Dcrc-t10dif.h32 !static_branch_likely(&have_vec_crypto) || !crypto_simd_usable()) in crc_t10dif_arch()
H A Dcrc32.h27 !static_branch_likely(&have_vec_crypto) || !crypto_simd_usable()) in crc32c_arch()

12