Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
raspberrypi-kernel
提交
16db63fd
R
raspberrypi-kernel
项目概览
openeuler
/
raspberrypi-kernel
通知
13
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
R
raspberrypi-kernel
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
16db63fd
编写于
10月 12, 2007
作者:
R
Ralph Wuerthner
提交者:
Martin Schwidefsky
10月 12, 2007
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
[S390] zcrypt: remove duplicated struct CPRBX definition
Signed-off-by:
N
Ralph Wuerthner
<
rwuerthn@de.ibm.com
>
上级
731475c9
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
3 addition
and
48 deletion
+3
-48
drivers/s390/crypto/zcrypt_pcixcc.c
drivers/s390/crypto/zcrypt_pcixcc.c
+1
-1
drivers/s390/crypto/zcrypt_pcixcc.h
drivers/s390/crypto/zcrypt_pcixcc.h
+0
-45
include/asm-s390/zcrypt.h
include/asm-s390/zcrypt.h
+2
-2
未找到文件。
drivers/s390/crypto/zcrypt_pcixcc.c
浏览文件 @
16db63fd
...
...
@@ -277,7 +277,7 @@ static int XCRB_msg_to_type6CPRB_msgX(struct zcrypt_device *zdev,
};
struct
{
struct
type6_hdr
hdr
;
struct
ica_
CPRBX
cprbx
;
struct
CPRBX
cprbx
;
}
__attribute__
((
packed
))
*
msg
=
ap_msg
->
message
;
int
rcblen
=
CEIL4
(
xcRB
->
request_control_blk_length
);
...
...
drivers/s390/crypto/zcrypt_pcixcc.h
浏览文件 @
16db63fd
...
...
@@ -28,51 +28,6 @@
#ifndef _ZCRYPT_PCIXCC_H_
#define _ZCRYPT_PCIXCC_H_
/**
* CPRBX
* Note that all shorts and ints are big-endian.
* All pointer fields are 16 bytes long, and mean nothing.
*
* A request CPRB is followed by a request_parameter_block.
*
* The request (or reply) parameter block is organized thus:
* function code
* VUD block
* key block
*/
struct
CPRBX
{
unsigned
short
cprb_len
;
/* CPRB length 220 */
unsigned
char
cprb_ver_id
;
/* CPRB version id. 0x02 */
unsigned
char
pad_000
[
3
];
/* Alignment pad bytes */
unsigned
char
func_id
[
2
];
/* function id 0x5432 */
unsigned
char
cprb_flags
[
4
];
/* Flags */
unsigned
int
req_parml
;
/* request parameter buffer len */
unsigned
int
req_datal
;
/* request data buffer */
unsigned
int
rpl_msgbl
;
/* reply message block length */
unsigned
int
rpld_parml
;
/* replied parameter block len */
unsigned
int
rpl_datal
;
/* reply data block len */
unsigned
int
rpld_datal
;
/* replied data block len */
unsigned
int
req_extbl
;
/* request extension block len */
unsigned
char
pad_001
[
4
];
/* reserved */
unsigned
int
rpld_extbl
;
/* replied extension block len */
unsigned
char
req_parmb
[
16
];
/* request parm block 'address' */
unsigned
char
req_datab
[
16
];
/* request data block 'address' */
unsigned
char
rpl_parmb
[
16
];
/* reply parm block 'address' */
unsigned
char
rpl_datab
[
16
];
/* reply data block 'address' */
unsigned
char
req_extb
[
16
];
/* request extension block 'addr'*/
unsigned
char
rpl_extb
[
16
];
/* reply extension block 'addres'*/
unsigned
short
ccp_rtcode
;
/* server return code */
unsigned
short
ccp_rscode
;
/* server reason code */
unsigned
int
mac_data_len
;
/* Mac Data Length */
unsigned
char
logon_id
[
8
];
/* Logon Identifier */
unsigned
char
mac_value
[
8
];
/* Mac Value */
unsigned
char
mac_content_flgs
;
/* Mac content flag byte */
unsigned
char
pad_002
;
/* Alignment */
unsigned
short
domain
;
/* Domain */
unsigned
char
pad_003
[
12
];
/* Domain masks */
unsigned
char
pad_004
[
36
];
/* reserved */
}
__attribute__
((
packed
));
int
zcrypt_pcixcc_init
(
void
);
void
zcrypt_pcixcc_exit
(
void
);
...
...
include/asm-s390/zcrypt.h
浏览文件 @
16db63fd
...
...
@@ -91,7 +91,7 @@ struct ica_rsa_modexpo_crt {
* VUD block
* key block
*/
struct
ica_
CPRBX
{
struct
CPRBX
{
unsigned
short
cprb_len
;
/* CPRB length 220 */
unsigned
char
cprb_ver_id
;
/* CPRB version id. 0x02 */
unsigned
char
pad_000
[
3
];
/* Alignment pad bytes */
...
...
@@ -130,7 +130,7 @@ struct ica_CPRBX {
unsigned
char
cntrl_domain
[
4
];
/* Control domain */
unsigned
char
S390enf_mask
[
4
];
/* S/390 enforcement mask */
unsigned
char
pad_004
[
36
];
/* reserved */
};
}
__attribute__
((
packed
))
;
/**
* xcRB
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录