]> git.stg.codes - stg.git/blobdiff - libs/crypto/include/stg/blowfish.h
Cryptography with void* in the interfaces.
[stg.git] / libs / crypto / include / stg / blowfish.h
index 6a4e6f317531a186f8a8e4b7e868fc3cd451e080..101b2f6fcd0b22754e0ed311508aef9a50bb0d7f 100644 (file)
@@ -24,7 +24,7 @@ typedef struct {
   uint32_t S[4][256];
 } BLOWFISH_CTX;
 
-void Blowfish_Init(BLOWFISH_CTX * ctx, unsigned char * key, int keyLen);
+void Blowfish_Init(BLOWFISH_CTX * ctx, void* key, int keyLen);
 void Blowfish_Encrypt(const BLOWFISH_CTX * ctx, uint32_t * xl, uint32_t * xr);
 void Blowfish_Decrypt(const BLOWFISH_CTX * ctx, uint32_t * xl, uint32_t * xr);