/home/tomh/openhip/hip-0.5/src/protocol/hip_keymat.c File Reference

#include <stdio.h>
#include <string.h>
#include <openssl/sha.h>
#include <openssl/des.h>
#include <openssl/dsa.h>
#include <hip/hip_types.h>
#include <hip/hip_proto.h>
#include <hip/hip_globals.h>
#include <hip/hip_funcs.h>

Defines

#define MAX_KEYS   8

Functions

int set_secret_key (unsigned char *key, hip_assoc *hip_a)
unsigned char * get_key (hip_assoc *hip_a, int type, int peer)
void compute_keys (hip_assoc *hip_a)
int compute_keymat (hip_assoc *hip_a)
int draw_keys (hip_assoc *hip_a, int draw_hip_keys, int keymat_index)
int auth_key_len (int suite_id)
int enc_key_len (int suite_id)
int enc_iv_len (int suite_id)

Define Documentation

#define MAX_KEYS   8


Function Documentation

int auth_key_len ( int  suite_id  ) 

int compute_keymat ( hip_assoc hip_a  ) 

void compute_keys ( hip_assoc hip_a  ) 

int draw_keys ( hip_assoc hip_a,
int  draw_hip_keys,
int  keymat_index 
)

int enc_iv_len ( int  suite_id  ) 

int enc_key_len ( int  suite_id  ) 

unsigned char* get_key ( hip_assoc hip_a,
int  type,
int  peer 
)

int set_secret_key ( unsigned char *  key,
hip_assoc hip_a 
)


Generated on Mon Oct 22 11:43:44 2007 for OpenHIP by  doxygen 1.5.1