Welcome to mirror list, hosted at ThFree Co, Russian Federation.

sshblowf.h - github.com/mRemoteNG/PuTTYNG.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: a9efe3dab2ef9b4a0ebbd98f6dcdf8ef39b25397 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/*
 * Header file shared between sshblowf.c and sshbcrypt.c. Exposes the
 * internal Blowfish routines needed by bcrypt.
 */

typedef struct BlowfishContext BlowfishContext;

BlowfishContext *blowfish_make_context(void);
void blowfish_free_context(BlowfishContext *ctx);
void blowfish_initkey(BlowfishContext *ctx);
void blowfish_expandkey(BlowfishContext *ctx,
                        const void *key, short keybytes,
                        const void *salt, short saltbytes);
void blowfish_lsb_encrypt_ecb(void *blk, int len, BlowfishContext *ctx);