des_i.h

Go to the documentation of this file.
00001 
00016 #ifndef DES_I_H
00017 #define DES_I_H
00018 
00019 struct des3_key_s {
00020         u32 ek[3][32];
00021         u32 dk[3][32];
00022 };
00023 
00024 void des_key_setup(const u8 *key, u32 *ek, u32 *dk);
00025 void des_block_encrypt(const u8 *plain, const u32 *ek, u8 *crypt);
00026 void des_block_decrypt(const u8 *crypt, const u32 *dk, u8 *plain);
00027 
00028 void des3_key_setup(const u8 *key, struct des3_key_s *dkey);
00029 void des3_encrypt(const u8 *plain, const struct des3_key_s *key, u8 *crypt);
00030 void des3_decrypt(const u8 *crypt, const struct des3_key_s *key, u8 *plain);
00031 
00032 #endif /* DES_I_H */
00033 
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines

Generated on Sat Nov 21 23:16:50 2009 for hostapd by  doxygen 1.6.1