X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/ab494c1e3eafc27c84c8cf0eb5e5ad8ef37389bc..63f3a66069c0d87abd7c3f713299591df66dac7e:/stglibs/crypto.lib/blowfish.h?ds=sidebyside diff --git a/stglibs/crypto.lib/blowfish.h b/stglibs/crypto.lib/blowfish.h index 20f2fff7..a8800d75 100644 --- a/stglibs/crypto.lib/blowfish.h +++ b/stglibs/crypto.lib/blowfish.h @@ -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);