forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[GFS2] Fix up merge of Linus' kernel into GFS2
This fixes up a couple of conflicts when merging up with Linus' latest kernel. This will hopefully allow GFS2 to be more easily merged into forthcoming -mm and FC kernels due to the "one line per header" format now used for the kernel headers. Signed-off-by: Steven Whitehouse <[email protected]> Conflicts: include/linux/Kbuild include/linux/kernel.h
- Loading branch information
Showing
1,897 changed files
with
174,259 additions
and
66,009 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2384,6 +2384,13 @@ N: Thomas Molina | |
E: [email protected] | ||
D: bug fixes, documentation, minor hackery | ||
|
||
N: Paul Moore | ||
E: [email protected] | ||
D: NetLabel author | ||
S: Hewlett-Packard | ||
S: 110 Spit Brook Road | ||
S: Nashua, NH 03062 | ||
|
||
N: James Morris | ||
E: [email protected] | ||
W: http://namei.org/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,15 +19,14 @@ At the lowest level are algorithms, which register dynamically with the | |
API. | ||
|
||
'Transforms' are user-instantiated objects, which maintain state, handle all | ||
of the implementation logic (e.g. manipulating page vectors), provide an | ||
abstraction to the underlying algorithms, and handle common logical | ||
operations (e.g. cipher modes, HMAC for digests). However, at the user | ||
of the implementation logic (e.g. manipulating page vectors) and provide an | ||
abstraction to the underlying algorithms. However, at the user | ||
level they are very simple. | ||
|
||
Conceptually, the API layering looks like this: | ||
|
||
[transform api] (user interface) | ||
[transform ops] (per-type logic glue e.g. cipher.c, digest.c) | ||
[transform ops] (per-type logic glue e.g. cipher.c, compress.c) | ||
[algorithm api] (for registering algorithms) | ||
|
||
The idea is to make the user interface and algorithm registration API | ||
|
@@ -44,22 +43,27 @@ under development. | |
Here's an example of how to use the API: | ||
|
||
#include <linux/crypto.h> | ||
#include <linux/err.h> | ||
#include <linux/scatterlist.h> | ||
|
||
struct scatterlist sg[2]; | ||
char result[128]; | ||
struct crypto_tfm *tfm; | ||
struct crypto_hash *tfm; | ||
struct hash_desc desc; | ||
|
||
tfm = crypto_alloc_tfm("md5", 0); | ||
if (tfm == NULL) | ||
tfm = crypto_alloc_hash("md5", 0, CRYPTO_ALG_ASYNC); | ||
if (IS_ERR(tfm)) | ||
fail(); | ||
|
||
/* ... set up the scatterlists ... */ | ||
|
||
desc.tfm = tfm; | ||
desc.flags = 0; | ||
|
||
crypto_digest_init(tfm); | ||
crypto_digest_update(tfm, &sg, 2); | ||
crypto_digest_final(tfm, result); | ||
if (crypto_hash_digest(&desc, &sg, 2, result)) | ||
fail(); | ||
|
||
crypto_free_tfm(tfm); | ||
crypto_free_hash(tfm); | ||
|
||
|
||
Many real examples are available in the regression test module (tcrypt.c). | ||
|
@@ -126,21 +130,22 @@ might already be working on. | |
BUGS | ||
|
||
Send bug reports to: | ||
James Morris <[email protected]> | ||
Herbert Xu <[email protected]> | ||
Cc: David S. Miller <[email protected]> | ||
|
||
|
||
FURTHER INFORMATION | ||
|
||
For further patches and various updates, including the current TODO | ||
list, see: | ||
http://samba.org/~jamesm/crypto/ | ||
http://gondor.apana.org.au/~herbert/crypto/ | ||
|
||
|
||
AUTHORS | ||
|
||
James Morris | ||
David S. Miller | ||
Herbert Xu | ||
|
||
|
||
CREDITS | ||
|
@@ -238,8 +243,11 @@ Anubis algorithm contributors: | |
Tiger algorithm contributors: | ||
Aaron Grothe | ||
|
||
VIA PadLock contributors: | ||
Michal Ludvig | ||
|
||
Generic scatterwalk code by Adam J. Richter <[email protected]> | ||
|
||
Please send any credits updates or corrections to: | ||
James Morris <[email protected]> | ||
Herbert Xu <[email protected]> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -135,6 +135,7 @@ tags | |
times.h* | ||
tkparse | ||
trix_boot.h | ||
utsrelease.h* | ||
version.h* | ||
vmlinux | ||
vmlinux-* | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.