diff options
Diffstat (limited to 'ext/tweetpwhash.h')
| -rw-r--r-- | ext/tweetpwhash.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/ext/tweetpwhash.h b/ext/tweetpwhash.h index 177c304..0514183 100644 --- a/ext/tweetpwhash.h +++ b/ext/tweetpwhash.h @@ -12,4 +12,16 @@ extern int crypto_pwhash_pbkdf2hmacsha512_tweet(unsigned char *,unsigned long lo #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" +#define crypto_kdf_PRIMITIVE "hkdfhmacsha512" +#define crypto_kdf crypto_kdf_hkdfhmacsha512 +#define crypto_kdf_CONTEXTBYTES crypto_kdf_hkdfhmacsha512_CONTEXTBYTES +#define crypto_kdf_IMPLEMENTATION crypto_kdf_hkdfhmacsha512_IMPLEMENTATION +#define crypto_kdf_VERSION crypto_kdf_hkdfhmacsha512_VERSION +#define crypto_kdf_hkdfhmacsha512_tweet_CONTEXTBYTES 8 +extern int crypto_kdf_hkdfhmacsha512_tweet(unsigned char *,unsigned long long,unsigned long long,const unsigned char *,const unsigned char *,unsigned long long); +#define crypto_kdf_hkdfhmacsha512_tweet_VERSION "-" +#define crypto_kdf_hkdfhmacsha512 crypto_kdf_hkdfhmacsha512_tweet +#define crypto_kdf_hkdfhmacsha512_CONTEXTBYTES crypto_kdf_hkdfhmacsha512_tweet_CONTEXTBYTES +#define crypto_kdf_hkdfhmacsha512_VERSION crypto_kdf_hkdfhmacsha512_tweet_VERSION +#define crypto_kdf_hkdfhmacsha512_IMPLEMENTATION "crypto_kdf/hkdfhmacsha512/tweet" #endif |