]> git.stg.codes - stg.git/blobdiff - stglibs/crypto.lib/blowfish.h
Fixed interface in stgcrypto
[stg.git] / stglibs / crypto.lib / blowfish.h
index 20f2fff76f951463ac7faefc740401f14fcbef78..a8800d7533201b6fe8ac195bd43d7d612544f362 100644 (file)
@@ -25,7 +25,7 @@ void Blowfish_Init(BLOWFISH_CTX *ctx, unsigned char *key, int keyLen);
 void Blowfish_Encrypt(BLOWFISH_CTX *ctx, uint32_t *xl, uint32_t *xr);
 void Blowfish_Decrypt(BLOWFISH_CTX *ctx, uint32_t *xl, uint32_t *xr);
 
-void EnDecodeInit(const char * key, int passwdLen, BLOWFISH_CTX *ctx);
+void EnDecodeInit(const char * key, size_t length, BLOWFISH_CTX *ctx);
 void DecodeString(char * d, const char * s, BLOWFISH_CTX *ctx);
 void EncodeString(char * d, const char * s, BLOWFISH_CTX *ctx);