move new files out from platform support patch
[openwrt/staging/yousong.git] / target / linux / ubicom32 / files / arch / ubicom32 / crypto / crypto_des.h
1 /*
2 * arch/ubicom32/crypto/crypto_des.h
3 * Function for checking keys for the DES and Triple DES Encryption
4 * algorithms.
5 *
6 * (C) Copyright 2009, Ubicom, Inc.
7 *
8 * This file is part of the Ubicom32 Linux Kernel Port.
9 *
10 * The Ubicom32 Linux Kernel Port is free software: you can redistribute
11 * it and/or modify it under the terms of the GNU General Public License
12 * as published by the Free Software Foundation, either version 2 of the
13 * License, or (at your option) any later version.
14 *
15 * The Ubicom32 Linux Kernel Port is distributed in the hope that it
16 * will be useful, but WITHOUT ANY WARRANTY; without even the implied
17 * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See
18 * the GNU General Public License for more details.
19 *
20 * You should have received a copy of the GNU General Public License
21 * along with the Ubicom32 Linux Kernel Port. If not,
22 * see <http://www.gnu.org/licenses/>.
23 *
24 * Ubicom32 implementation derived from (with many thanks):
25 * arch/m68knommu
26 * arch/blackfin
27 * arch/parisc
28 */
29 #ifndef __CRYPTO_DES_H__
30 #define __CRYPTO_DES_H__
31
32 extern int crypto_des_check_key(const u8*, unsigned int, u32*);
33
34 #endif /* __CRYPTO_DES_H__ */