2 * DES and 3DES-EDE ciphers
3 * Copyright (c) 2006-2009, Jouni Malinen <j@w1.fi>
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License version 2 as
7 * published by the Free Software Foundation.
9 * Alternatively, this software may be distributed under the terms of BSD
12 * See README and COPYING for more details.
23 void des_key_setup(const u8
*key
, u32
*ek
, u32
*dk
);
24 void des_block_encrypt(const u8
*plain
, const u32
*ek
, u8
*crypt
);
25 void des_block_decrypt(const u8
*crypt
, const u32
*dk
, u8
*plain
);
27 void des3_key_setup(const u8
*key
, struct des3_key_s
*dkey
);
28 void des3_encrypt(const u8
*plain
, const struct des3_key_s
*key
, u8
*crypt
);
29 void des3_decrypt(const u8
*crypt
, const struct des3_key_s
*key
, u8
*plain
);