dsniff  2.4b2
About: A collection of tools for network auditing
  Fossies Dox: dsniff-2.4b2.tar.gz  ("inofficial" and yet experimental doxygen-generated source code documentation)  

sshcrypto.h
Go to the documentation of this file.
1 /*
2  * sshcrypto.c
3  *
4  * SSH-1 crypto routines, adapted from OpenSSH.
5  *
6  * Copyright (c) 2000 Dug Song <dugsong@monkey.org>
7  * Copyright (c) 2000 Niels Provos <provos@monkey.org>
8  * Copyright (c) 2000 Markus Friedl <markus@openbsd.org>
9  *
10  * $Id: sshcrypto.h,v 1.3 2001/03/15 08:33:06 dugsong Exp $
11  */
12 
13 #ifndef SSHCRYPTO_H
14 #define SSHCRYPTO_H
15 
16 void rsa_public_encrypt(BIGNUM *src, BIGNUM *dst, RSA *key);
17 void rsa_private_decrypt(BIGNUM *src, BIGNUM *dst, RSA *key);
18 
19 void *blowfish_init(u_char *sesskey, int len);
20 void blowfish_encrypt(u_char *src, u_char *dst, int len, void *state);
21 void blowfish_decrypt(u_char *src, u_char *dst, int len, void *state);
22 
23 void *des3_init(u_char *sesskey, int len);
24 void des3_encrypt(u_char *src, u_char *dst, int len, void *state);
25 void des3_decrypt(u_char *src, u_char *dst, int len, void *state);
26 
27 #endif /* SSHCRYPTO_H */
28 
des3_encrypt
void des3_encrypt(u_char *src, u_char *dst, int len, void *state)
Definition: sshcrypto.c:171
blowfish_init
void * blowfish_init(u_char *sesskey, int len)
Definition: sshcrypto.c:110
blowfish_encrypt
void blowfish_encrypt(u_char *src, u_char *dst, int len, void *state)
Definition: sshcrypto.c:124
des3_init
void * des3_init(u_char *sesskey, int len)
Definition: sshcrypto.c:149
des3_decrypt
void des3_decrypt(u_char *src, u_char *dst, int len, void *state)
Definition: sshcrypto.c:184
rsa_public_encrypt
void rsa_public_encrypt(BIGNUM *src, BIGNUM *dst, RSA *key)
Definition: sshcrypto.c:35
blowfish_decrypt
void blowfish_decrypt(u_char *src, u_char *dst, int len, void *state)
Definition: sshcrypto.c:136
rsa_private_decrypt
void rsa_private_decrypt(BIGNUM *src, BIGNUM *dst, RSA *key)
Definition: sshcrypto.c:67