Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
cloud-kernel
提交
76de64db
cloud-kernel
项目概览
openanolis
/
cloud-kernel
接近 2 年 前同步成功
通知
169
Star
36
Fork
7
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
10
列表
看板
标记
里程碑
合并请求
2
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
cloud-kernel
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
10
Issue
10
列表
看板
标记
里程碑
合并请求
2
合并请求
2
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
76de64db
编写于
7月 14, 2011
作者:
L
Larry Finger
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
staging: rtl8192e: Remove dead code associated with CONFIG_CRYPTO_HMAC
Signed-off-by:
N
Larry Finger
<
Larry.Finger@lwfinger.net
>
上级
c29fed1e
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
0 addition
and
21 deletion
+0
-21
drivers/staging/rtl8192e/internal.h
drivers/staging/rtl8192e/internal.h
+0
-5
drivers/staging/rtl8192e/rtl_crypto.h
drivers/staging/rtl8192e/rtl_crypto.h
+0
-16
未找到文件。
drivers/staging/rtl8192e/internal.h
浏览文件 @
76de64db
...
@@ -63,10 +63,6 @@ static inline struct crypto_alg *crypto_alg_mod_lookup(const char *name)
...
@@ -63,10 +63,6 @@ static inline struct crypto_alg *crypto_alg_mod_lookup(const char *name)
}
}
#endif
#endif
#ifdef CONFIG_CRYPTO_HMAC
int
crypto_alloc_hmac_block
(
struct
crypto_tfm
*
tfm
);
void
crypto_free_hmac_block
(
struct
crypto_tfm
*
tfm
);
#else
static
inline
int
crypto_alloc_hmac_block
(
struct
crypto_tfm
*
tfm
)
static
inline
int
crypto_alloc_hmac_block
(
struct
crypto_tfm
*
tfm
)
{
{
return
0
;
return
0
;
...
@@ -74,7 +70,6 @@ static inline int crypto_alloc_hmac_block(struct crypto_tfm *tfm)
...
@@ -74,7 +70,6 @@ static inline int crypto_alloc_hmac_block(struct crypto_tfm *tfm)
static
inline
void
crypto_free_hmac_block
(
struct
crypto_tfm
*
tfm
)
static
inline
void
crypto_free_hmac_block
(
struct
crypto_tfm
*
tfm
)
{
}
{
}
#endif
#ifdef CONFIG_PROC_FS
#ifdef CONFIG_PROC_FS
void
__init
crypto_init_proc
(
void
);
void
__init
crypto_init_proc
(
void
);
...
...
drivers/staging/rtl8192e/rtl_crypto.h
浏览文件 @
76de64db
...
@@ -168,9 +168,6 @@ struct digest_tfm {
...
@@ -168,9 +168,6 @@ struct digest_tfm {
unsigned
int
nsg
,
u8
*
out
);
unsigned
int
nsg
,
u8
*
out
);
int
(
*
dit_setkey
)(
struct
crypto_tfm
*
tfm
,
int
(
*
dit_setkey
)(
struct
crypto_tfm
*
tfm
,
const
u8
*
key
,
unsigned
int
keylen
);
const
u8
*
key
,
unsigned
int
keylen
);
#ifdef CONFIG_CRYPTO_HMAC
void
*
dit_hmac_block
;
#endif
};
};
struct
compress_tfm
{
struct
compress_tfm
{
...
@@ -382,17 +379,4 @@ static inline int crypto_comp_decompress(struct crypto_tfm *tfm,
...
@@ -382,17 +379,4 @@ static inline int crypto_comp_decompress(struct crypto_tfm *tfm,
return
tfm
->
crt_compress
.
cot_decompress
(
tfm
,
src
,
slen
,
dst
,
dlen
);
return
tfm
->
crt_compress
.
cot_decompress
(
tfm
,
src
,
slen
,
dst
,
dlen
);
}
}
/*
* HMAC support.
*/
#ifdef CONFIG_CRYPTO_HMAC
void
crypto_hmac_init
(
struct
crypto_tfm
*
tfm
,
u8
*
key
,
unsigned
int
*
keylen
);
void
crypto_hmac_update
(
struct
crypto_tfm
*
tfm
,
struct
scatterlist
*
sg
,
unsigned
int
nsg
);
void
crypto_hmac_final
(
struct
crypto_tfm
*
tfm
,
u8
*
key
,
unsigned
int
*
keylen
,
u8
*
out
);
void
crypto_hmac
(
struct
crypto_tfm
*
tfm
,
u8
*
key
,
unsigned
int
*
keylen
,
struct
scatterlist
*
sg
,
unsigned
int
nsg
,
u8
*
out
);
#endif
/* CONFIG_CRYPTO_HMAC */
#endif
/* _LINUX_CRYPTO_H */
#endif
/* _LINUX_CRYPTO_H */
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录