FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
linux/include/keys/encrypted-type.h at master · shittydeveloper/linux · GitHub
shittydeveloper
/
linux
Public
forked from
torvalds/linux
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
linux
/
include
/
keys
/
encrypted-type.h
Copy path
More file actions
More file actions
Latest commit
History
History
History
38 lines (33 loc) · 1.25 KB
Breadcrumbs
linux
/
include
/
keys
/
encrypted-type.h
Copy path
File metadata and controls
38 lines (33 loc) · 1.25 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
/*
* Copyright (C) 2010 IBM Corporation
* Copyright (C) 2010 Politecnico di Torino, Italy
* TORSEC group -- http://security.polito.it
*
* Authors:
* Mimi Zohar <zohar@us.ibm.com>
* Roberto Sassu <roberto.sassu@polito.it>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, version 2 of the License.
*/
#ifndef
_KEYS_ENCRYPTED_TYPE_H
#define
_KEYS_ENCRYPTED_TYPE_H
#include
<linux/key.h>
#include
<linux/rcupdate.h>
struct
encrypted_key_payload
{
struct
rcu_head
rcu
;
char
*
format
;
/* datablob: format */
char
*
master_desc
;
/* datablob: master key name */
char
*
datalen
;
/* datablob: decrypted key length */
u8
*
iv
;
/* datablob: iv */
u8
*
encrypted_data
;
/* datablob: encrypted data */
unsigned short
datablob_len
;
/* length of datablob */
unsigned short
decrypted_datalen
;
/* decrypted data length */
unsigned short
payload_datalen
;
/* payload data length */
unsigned short
encrypted_key_format
;
/* encrypted key format */
u8
*
decrypted_data
;
/* decrypted data */
u8
payload_data
[
0
];
/* payload data + datablob + hmac */
};
extern
struct
key_type
key_type_encrypted
;
#endif
/* _KEYS_ENCRYPTED_TYPE_H */
Back
|
FazBrowse Home
|
New Git URL