#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 MAX_KEYS 8 |
| 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 | |||
| ) |
1.5.1