Revision 11647,
393 bytes
checked in by ghudson, 27 years ago
(diff) |
Add code from a CORE SDI advisory to prevent connection hijacking.
|
Line | |
---|
1 | /* $Id: deattack.h,v 1.1 1998-06-17 17:29:39 ghudson Exp $ |
---|
2 | * Cryptographic attack detector for ssh - Header file |
---|
3 | * (C)1998 CORE-SDI, Buenos Aires Argentina |
---|
4 | * Ariel Futoransky(futo@core-sdi.com) |
---|
5 | */ |
---|
6 | |
---|
7 | #ifndef _DEATTACK_H |
---|
8 | #define _DEATTACK_H |
---|
9 | |
---|
10 | /* Return codes */ |
---|
11 | #define DEATTACK_OK 0 |
---|
12 | #define DEATTACK_DETECTED 1 |
---|
13 | |
---|
14 | int detect_attack(unsigned char *buf, word32 len, unsigned char IV[8]); |
---|
15 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.