crypto.h

Go to the documentation of this file.
00001 
00028 #ifndef CRYPTO_H
00029 #define CRYPTO_H
00030 
00039 void md4_vector(size_t num_elem, const u8 *addr[], const size_t *len, u8 *mac);
00040 
00049 void md5_vector(size_t num_elem, const u8 *addr[], const size_t *len, u8 *mac);
00050 
00059 void sha1_vector(size_t num_elem, const u8 *addr[], const size_t *len,
00060                  u8 *mac);
00061 
00073 void sha1_transform(u8 *state, const u8 data[64]);
00074 
00082 void des_encrypt(const u8 *clear, const u8 *key, u8 *cypher);
00083 
00091 void * aes_encrypt_init(const u8 *key, size_t len);
00092 
00100 void aes_encrypt(void *ctx, const u8 *plain, u8 *crypt);
00101 
00107 void aes_encrypt_deinit(void *ctx);
00108 
00116 void * aes_decrypt_init(const u8 *key, size_t len);
00117 
00125 void aes_decrypt(void *ctx, const u8 *crypt, u8 *plain);
00126 
00132 void aes_decrypt_deinit(void *ctx);
00133 
00134 
00135 #endif /* CRYPTO_H */
00136 

Generated on Sat May 6 21:13:31 2006 for wpa_supplicant by  doxygen 1.4.2