mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-07-03 20:42:48 -05:00
Expose the structure tag 'crcda_ctx'.
This one isn't used in many places, but it's another 'void *' pointer that ought to come with an identifying structure tag.
This commit is contained in:
7
ssh.h
7
ssh.h
@ -322,9 +322,10 @@ unsigned long crc32_compute(const void *s, size_t len);
|
||||
unsigned long crc32_update(unsigned long crc_input, const void *s, size_t len);
|
||||
|
||||
/* SSH CRC compensation attack detector */
|
||||
void *crcda_make_context(void);
|
||||
void crcda_free_context(void *handle);
|
||||
int detect_attack(void *handle, unsigned char *buf, uint32 len,
|
||||
struct crcda_ctx;
|
||||
struct crcda_ctx *crcda_make_context(void);
|
||||
void crcda_free_context(struct crcda_ctx *ctx);
|
||||
int detect_attack(struct crcda_ctx *ctx, unsigned char *buf, uint32 len,
|
||||
unsigned char *IV);
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user