]> mj.ucw.cz Git - libucw.git/blobdiff - ucw/sha1.h
Merge branch 'dev-api' into dev-package
[libucw.git] / ucw / sha1.h
index 4b17da548c97c6eaf98b158dddd2a28f7e6a43b4..b7fd7121d1389b5055a6d155c40e6ff621f69047 100644 (file)
 #ifndef _UCW_SHA1_H
 #define _UCW_SHA1_H
 
+#ifdef CONFIG_UCW_CLEAN_ABI
+#define sha1_final ucw_sha1_final
+#define sha1_hash_buffer ucw_sha1_hash_buffer
+#define sha1_hmac ucw_sha1_hmac
+#define sha1_hmac_final ucw_sha1_hmac_final
+#define sha1_hmac_init ucw_sha1_hmac_init
+#define sha1_hmac_update ucw_sha1_hmac_update
+#define sha1_init ucw_sha1_init
+#define sha1_update ucw_sha1_update
+#endif
+
 /**
  * Internal SHA1 state.
  * You should use it just as an opaque handle only.