Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
76de64db
Commit
76de64db
authored
Jul 14, 2011
by
Larry Finger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
staging: rtl8192e: Remove dead code associated with CONFIG_CRYPTO_HMAC
Signed-off-by:
Larry Finger
<
Larry.Finger@lwfinger.net
>
parent
c29fed1e
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
21 deletions
+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
No files found.
drivers/staging/rtl8192e/internal.h
View file @
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
View file @
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 */
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment