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 File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void rsa_public_encrypt (BIGNUM *src, BIGNUM *dst, RSA *key)
 
void rsa_private_decrypt (BIGNUM *src, BIGNUM *dst, RSA *key)
 
void * blowfish_init (u_char *sesskey, int len)
 
void blowfish_encrypt (u_char *src, u_char *dst, int len, void *state)
 
void blowfish_decrypt (u_char *src, u_char *dst, int len, void *state)
 
void * des3_init (u_char *sesskey, int len)
 
void des3_encrypt (u_char *src, u_char *dst, int len, void *state)
 
void des3_decrypt (u_char *src, u_char *dst, int len, void *state)
 

Function Documentation

◆ blowfish_decrypt()

void blowfish_decrypt ( u_char *  src,
u_char *  dst,
int  len,
void *  state 
)

Definition at line 136 of file sshcrypto.c.

References blowfish_state::iv, blowfish_state::key, and swap_bytes().

Referenced by SSH_accept(), and SSH_connect().

◆ blowfish_encrypt()

void blowfish_encrypt ( u_char *  src,
u_char *  dst,
int  len,
void *  state 
)

Definition at line 124 of file sshcrypto.c.

References blowfish_state::iv, blowfish_state::key, and swap_bytes().

Referenced by SSH_accept(), and SSH_connect().

◆ blowfish_init()

void* blowfish_init ( u_char *  sesskey,
int  len 
)

Definition at line 110 of file sshcrypto.c.

References err(), blowfish_state::iv, and blowfish_state::key.

Referenced by SSH_accept(), and SSH_connect().

◆ des3_decrypt()

void des3_decrypt ( u_char *  src,
u_char *  dst,
int  len,
void *  state 
)

◆ des3_encrypt()

void des3_encrypt ( u_char *  src,
u_char *  dst,
int  len,
void *  state 
)

◆ des3_init()

void* des3_init ( u_char *  sesskey,
int  len 
)

◆ rsa_private_decrypt()

void rsa_private_decrypt ( BIGNUM *  src,
BIGNUM *  dst,
RSA *  key 
)

Definition at line 67 of file sshcrypto.c.

References err(), and errx().

Referenced by SSH_accept().

◆ rsa_public_encrypt()

void rsa_public_encrypt ( BIGNUM *  src,
BIGNUM *  dst,
RSA *  key 
)

Definition at line 35 of file sshcrypto.c.

References err(), and errx().

Referenced by SSH_connect().