aboutsummaryrefslogtreecommitdiffstats
path: root/ext/tweetpwhash.h
diff options
context:
space:
mode:
Diffstat (limited to 'ext/tweetpwhash.h')
-rw-r--r--ext/tweetpwhash.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/ext/tweetpwhash.h b/ext/tweetpwhash.h
new file mode 100644
index 0000000..177c304
--- /dev/null
+++ b/ext/tweetpwhash.h
@@ -0,0 +1,15 @@
+#ifndef TWEETPWHASH_H
+#define TWEETPWHASH_H
+#define crypto_pwhash_PRIMITIVE "pbkdf2hmacsha512"
+#define crypto_pwhash crypto_pwhash_pbkdf2hmacsha512
+#define crypto_pwhash_SALTBYTES crypto_pwhash_pbkdf2hmacsha512_SALTBYTES
+#define crypto_pwhash_IMPLEMENTATION crypto_pwhash_pbkdf2hmacsha512_IMPLEMENTATION
+#define crypto_pwhash_VERSION crypto_pwhash_pbkdf2hmacsha512_VERSION
+#define crypto_pwhash_pbkdf2hmacsha512_tweet_SALTBYTES 32
+extern int crypto_pwhash_pbkdf2hmacsha512_tweet(unsigned char *,unsigned long long,const unsigned char *,unsigned long long,const unsigned char *,unsigned long long);
+#define crypto_pwhash_pbkdf2hmacsha512_tweet_VERSION "-"
+#define crypto_pwhash_pbkdf2hmacsha512 crypto_pwhash_pbkdf2hmacsha512_tweet
+#define crypto_pwhash_pbkdf2hmacsha512_SALTBYTES crypto_pwhash_pbkdf2hmacsha512_tweet_SALTBYTES
+#define crypto_pwhash_pbkdf2hmacsha512_VERSION crypto_pwhash_pbkdf2hmacsha512_tweet_VERSION
+#define crypto_pwhash_pbkdf2hmacsha512_IMPLEMENTATION "crypto_pwhash/pbkdf2hmacsha512/tweet"
+#endif