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
nexedi
linux
Commits
d69ea277
Commit
d69ea277
authored
Oct 28, 2002
by
David S. Miller
Committed by
James Morris
Oct 28, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[CRYPTO]: Build/warning fixups.
parent
d0bd0849
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
crypto/api.c
crypto/api.c
+1
-1
include/linux/crypto.h
include/linux/crypto.h
+4
-0
No files found.
crypto/api.c
View file @
d69ea277
...
@@ -179,7 +179,7 @@ int crypto_register_alg(struct crypto_alg *alg)
...
@@ -179,7 +179,7 @@ int crypto_register_alg(struct crypto_alg *alg)
if
(
crypto_alg_blocksize_check
(
alg
))
{
if
(
crypto_alg_blocksize_check
(
alg
))
{
printk
(
KERN_WARNING
"%s: blocksize %Zd exceeds max. "
printk
(
KERN_WARNING
"%s: blocksize %Zd exceeds max. "
"size %
Z
d
\n
"
,
__FUNCTION__
,
alg
->
cra_blocksize
,
"size %d
\n
"
,
__FUNCTION__
,
alg
->
cra_blocksize
,
CRYPTO_MAX_CIPHER_BLOCK_SIZE
);
CRYPTO_MAX_CIPHER_BLOCK_SIZE
);
ret
=
-
EINVAL
;
ret
=
-
EINVAL
;
}
}
...
...
include/linux/crypto.h
View file @
d69ea277
...
@@ -16,6 +16,10 @@
...
@@ -16,6 +16,10 @@
#ifndef _LINUX_CRYPTO_H
#ifndef _LINUX_CRYPTO_H
#define _LINUX_CRYPTO_H
#define _LINUX_CRYPTO_H
#include <linux/module.h>
#include <linux/types.h>
#include <linux/list.h>
/*
/*
* Algorithm masks and types.
* Algorithm masks and types.
*/
*/
...
...
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