wpa_supplicant / hostapd
2.5
Main Page
Related Pages
Data Structures
Files
File List
Globals
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
src
crypto
des_i.h
Go to the documentation of this file.
1
5
#ifndef DES_I_H
6
#define DES_I_H
7
8
struct
des3_key_s
{
9
u32 ek[3][32];
10
u32 dk[3][32];
11
};
12
13
void
des_key_setup(
const
u8 *key, u32 *ek, u32 *dk);
14
void
des_block_encrypt(
const
u8 *plain,
const
u32 *ek, u8 *crypt);
15
void
des_block_decrypt(
const
u8 *crypt,
const
u32 *dk, u8 *plain);
16
17
void
des3_key_setup(
const
u8 *key,
struct
des3_key_s
*dkey);
18
void
des3_encrypt(
const
u8 *plain,
const
struct
des3_key_s
*key, u8 *crypt);
19
void
des3_decrypt(
const
u8 *crypt,
const
struct
des3_key_s
*key, u8 *plain);
20
21
#endif
/* DES_I_H */
des3_key_s
Definition:
des_i.h:8
Generated on Sun Sep 27 2015 22:08:07 for wpa_supplicant / hostapd by
1.8.6