blob: 08592e0c755a53a33ac2807d351b4828ead99c5b [file] [log] [blame]
Barani Muthukumaran3dfb0942020-02-03 13:06:45 -08001#ifndef _UAPI_LINUX_FSCRYPT_VOLD_H
2#define _UAPI_LINUX_FSCRYPT_VOLD_H
3
4#include <linux/fscrypt.h>
5#include <linux/types.h>
6
7#define FSCRYPT_ADD_KEY_FLAG_WRAPPED 0x01
8
9struct sys_fscrypt_add_key_arg {
10 struct fscrypt_key_specifier key_spec;
11 __u32 raw_size;
12 __u32 __reserved[8];
13 __u32 flags;
14 __u8 raw[];
15};
16
17#define fscrypt_add_key_arg sys_fscrypt_add_key_arg
18
19#endif //_UAPI_LINUX_FSCRYPT_VOLD_H