Linux Kernel
3.7.1
Main Page
Related Pages
Modules
Namespaces
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Groups
Pages
security
keys
encrypted-keys
ecryptfs_format.h
Go to the documentation of this file.
1
/*
2
* ecryptfs_format.h: helper functions for the encrypted key type
3
*
4
* Copyright (C) 2006 International Business Machines Corp.
5
* Copyright (C) 2010 Politecnico di Torino, Italy
6
* TORSEC group -- http://security.polito.it
7
*
8
* Authors:
9
* Michael A. Halcrow <
[email protected]
>
10
* Tyler Hicks <
[email protected]
>
11
* Roberto Sassu <
[email protected]
>
12
*
13
* This program is free software; you can redistribute it and/or modify
14
* it under the terms of the GNU General Public License as published by
15
* the Free Software Foundation, version 2 of the License.
16
*/
17
18
#ifndef __KEYS_ECRYPTFS_H
19
#define __KEYS_ECRYPTFS_H
20
21
#include <
linux/ecryptfs.h
>
22
23
#define PGP_DIGEST_ALGO_SHA512 10
24
25
u8
*
ecryptfs_get_auth_tok_key
(
struct
ecryptfs_auth_tok
*auth_tok);
26
void
ecryptfs_get_versions
(
int
*major,
int
*minor,
int
*file_version);
27
int
ecryptfs_fill_auth_tok
(
struct
ecryptfs_auth_tok
*auth_tok,
28
const
char
*key_desc);
29
30
#endif
/* __KEYS_ECRYPTFS_H */
Generated on Thu Jan 10 2013 15:03:12 for Linux Kernel by
1.8.2