fb38c3f3c30256143a40ef0cb8df3199d255940f
[platform/upstream/cryptsetup.git] / lib / utils_fips.h
1 /*
2  * FIPS mode utilities
3  *
4  * Copyright (C) 2011-2012, Red Hat, Inc. All rights reserved.
5  *
6  * This program is free software; you can redistribute it and/or
7  * modify it under the terms of the GNU General Public License
8  * version 2 as published by the Free Software Foundation.
9  *
10  * This program is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13  * GNU General Public License for more details.
14  *
15  * You should have received a copy of the GNU General Public License
16  * along with this program; if not, write to the Free Software
17  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
18  */
19
20 #ifndef _UTILS_FIPS_H
21 #define _UTILS_FIPS_H
22
23 struct crypt_device;
24
25 int crypt_fips_mode(void);
26 void crypt_fips_libcryptsetup_check(struct crypt_device *cd);
27 void crypt_fips_self_check(struct crypt_device *cd);
28
29 #endif /* _UTILS_FIPS_H */