Home
last modified time | relevance | path

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

123

/linux/arch/arm64/crypto/
H A Dsm3-neon-glue.c26 if (!crypto_simd_usable()) { in sm3_neon_update()
40 if (!crypto_simd_usable()) { in sm3_neon_final()
55 if (!crypto_simd_usable()) { in sm3_neon_finup()
H A Dsm3-ce-glue.c29 if (!crypto_simd_usable()) { in sm3_ce_update()
43 if (!crypto_simd_usable()) { in sm3_ce_final()
58 if (!crypto_simd_usable()) { in sm3_ce_finup()
H A Dsha512-ce-glue.c57 sha512_block_fn *fn = crypto_simd_usable() ? sha512_ce_transform in sha512_ce_update()
67 sha512_block_fn *fn = crypto_simd_usable() ? sha512_ce_transform in sha512_ce_finup()
77 sha512_block_fn *fn = crypto_simd_usable() ? sha512_ce_transform in sha512_ce_final()
H A Dsha1-ce-glue.c59 if (!crypto_simd_usable()) in sha1_ce_update()
74 if (!crypto_simd_usable()) in sha1_ce_finup()
93 if (!crypto_simd_usable()) in sha1_ce_final()
H A Dsha2-ce-glue.c70 if (!crypto_simd_usable()) in sha256_ce_update()
86 if (!crypto_simd_usable()) { in sha256_ce_finup()
110 if (!crypto_simd_usable()) { in sha256_ce_final()
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 Dcrct10dif-ce-glue.c39 if (length >= CRC_T10DIF_PMULL_CHUNK_SIZE && crypto_simd_usable()) { in crct10dif_update_pmull_p8()
64 if (length >= CRC_T10DIF_PMULL_CHUNK_SIZE && crypto_simd_usable()) { in crct10dif_update_pmull_p64()
H A Dchacha-neon-glue.c67 if (!static_branch_likely(&have_neon) || !crypto_simd_usable()) { in hchacha_block_arch()
87 !crypto_simd_usable()) in chacha_crypt_arch()
122 !crypto_simd_usable()) { in chacha_neon_stream_xor()
H A Dpolyval-ce-glue.c51 if (likely(crypto_simd_usable())) { in internal_polyval_update()
63 if (likely(crypto_simd_usable())) { in internal_polyval_mul()
H A Daes-ce-glue.c50 if (!crypto_simd_usable()) { in aes_cipher_encrypt()
64 if (!crypto_simd_usable()) { in aes_cipher_decrypt()
H A Dsha3-ce-glue.c40 if (!crypto_simd_usable()) in sha3_update()
88 if (!crypto_simd_usable()) in sha3_final()
/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.c36 if (crypto_simd_usable()) { in riscv64_sm3_update()
51 if (crypto_simd_usable()) { in riscv64_sm3_finup()
H A Dsha256-riscv64-glue.c36 if (crypto_simd_usable()) { in riscv64_sha256_update()
50 if (crypto_simd_usable()) { in riscv64_sha256_finup()
H A Dsha512-riscv64-glue.c36 if (crypto_simd_usable()) { in riscv64_sha512_update()
50 if (crypto_simd_usable()) { in riscv64_sha512_finup()
/linux/arch/x86/crypto/
H A Dsm3_avx_glue.c28 if (!crypto_simd_usable() || in sm3_avx_update()
50 if (!crypto_simd_usable()) { in sm3_avx_finup()
71 if (!crypto_simd_usable()) { in sm3_avx_final()
H A Dcrct10dif-pclmul_glue.c57 if (length >= 16 && crypto_simd_usable()) { in chksum_update()
76 if (len >= 16 && crypto_simd_usable()) { in __chksum_finup()
H A Dchacha_glue.c126 if (!static_branch_likely(&chacha_use_simd) || !crypto_simd_usable()) { in hchacha_block_arch()
145 if (!static_branch_likely(&chacha_use_simd) || !crypto_simd_usable() || in chacha_crypt_arch()
181 !crypto_simd_usable()) { in chacha_simd_stream_xor()
216 if (req->cryptlen > CHACHA_BLOCK_SIZE && crypto_simd_usable()) { in xchacha_simd()
/linux/include/crypto/internal/
H A Dsimd.h55 #define crypto_simd_usable() \ macro
58 #define crypto_simd_usable() may_use_simd() macro
/linux/arch/arm/crypto/
H A Dsha1_neon_glue.c37 if (!crypto_simd_usable() || in sha1_neon_update()
51 if (!crypto_simd_usable()) in sha1_neon_finup()
H A Dsha1-ce-glue.c34 if (!crypto_simd_usable() || in sha1_ce_update()
48 if (!crypto_simd_usable()) in sha1_ce_finup()
H A Dsha512-neon-glue.c31 if (!crypto_simd_usable() || in sha512_neon_update()
45 if (!crypto_simd_usable()) in sha512_neon_finup()
H A Dsha256_neon_glue.c32 if (!crypto_simd_usable() || in crypto_sha256_neon_update()
46 if (!crypto_simd_usable()) in crypto_sha256_neon_finup()
H A Dsha2-ce-glue.c35 if (!crypto_simd_usable() || in sha2_ce_update()
50 if (!crypto_simd_usable()) in sha2_ce_finup()
/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()

123