mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-01-09 09:27:59 +00:00
66e62915d2
sshblowf.h (as was) is 100% internal to that directory. And mpint_i.h and ecc.h are specialist enough that it's reasonable to ask clients outside the crypto directory to include them with a subdirectory path, to hint that it's an unusual thing to be doing.
15 lines
552 B
C
15 lines
552 B
C
/*
|
|
* 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);
|