source: filezilla/trunk/fuentes/src/putty/sshblowf.h @ 130

Last change on this file since 130 was 130, checked in by jrpelegrina, 3 years ago

First release to xenial

File size: 590 bytes
Line 
1/*
2 * Header file shared between sshblowf.c and sshbcrypt.c. Exposes the
3 * internal Blowfish routines needed by bcrypt.
4 */
5
6typedef struct BlowfishContext BlowfishContext;
7
8void *blowfish_make_context(void);
9void blowfish_free_context(void *handle);
10void blowfish_initkey(BlowfishContext *ctx);
11void blowfish_expandkey(BlowfishContext *ctx,
12                        const unsigned char *key, short keybytes,
13                        const unsigned char *salt, short saltbytes);
14void blowfish_lsb_encrypt_ecb(unsigned char *blk, int len,
15                              BlowfishContext *ctx);
Note: See TracBrowser for help on using the repository browser.