Whamcloud - gitweb
LU-3570 libcfs: accelerate crc32c with pclmulqdq
[fs/lustre-release.git] / libcfs / include / libcfs / linux / linux-crypto.h
index c8a4e76..6346c59 100644 (file)
@@ -41,3 +41,15 @@ void cfs_crypto_crc32_unregister(void);
  */
 int cfs_crypto_adler32_register(void);
 void cfs_crypto_adler32_unregister(void);
+
+/**
+ * Functions for start/stop shash crc32 pclmulqdq
+ */
+int cfs_crypto_crc32_pclmul_register(void);
+void cfs_crypto_crc32_pclmul_unregister(void);
+
+/**
+ * Functions for start/stop shash crc32c pclmulqdq
+ */
+int cfs_crypto_crc32c_pclmul_register(void);
+void cfs_crypto_crc32c_pclmul_unregister(void);