Doc: Fix broken link
[TortoiseGit.git] / src / TortoisePlink / sshblowf.h
blobe14bd32ce11580f7b7784d307e7e2ba8893cbd96
1 /*
2 * Header file shared between sshblowf.c and sshbcrypt.c. Exposes the
3 * internal Blowfish routines needed by bcrypt.
4 */
6 typedef struct BlowfishContext BlowfishContext;
8 void *blowfish_make_context(void);
9 void blowfish_free_context(void *handle);
10 void blowfish_initkey(BlowfishContext *ctx);
11 void blowfish_expandkey(BlowfishContext *ctx,
12 const unsigned char *key, short keybytes,
13 const unsigned char *salt, short saltbytes);
14 void blowfish_lsb_encrypt_ecb(unsigned char *blk, int len,
15 BlowfishContext *ctx);