-
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.
yaml --- r: 75967 b: refs/heads/master c: 61da88e h: refs/heads/master i: 75965: f7dad30 75963: a5350a7 75959: 5c33e6e 75951: 758c65f 75935: e7c093d 75903: a14abbb v: v3
- Loading branch information
Herbert Xu
committed
Jan 10, 2008
1 parent
15a6d7d
commit 4b4532c
Showing
5 changed files
with
101 additions
and
1 deletion.
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 |
---|---|---|
@@ -1,2 +1,2 @@ | ||
--- | ||
refs/heads/master: 378f4f51f9fdd8df80ea875320e2bf1d7c6e6e77 | ||
refs/heads/master: 61da88e2b800eed2b03834a73c46cc89ad48716d |
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 |
---|---|---|
@@ -0,0 +1,38 @@ | ||
/* | ||
* Symmetric key ciphers. | ||
* | ||
* Copyright (c) 2007 Herbert Xu <herbert@gondor.apana.org.au> | ||
* | ||
* This program is free software; you can redistribute it and/or modify it | ||
* under the terms of the GNU General Public License as published by the Free | ||
* Software Foundation; either version 2 of the License, or (at your option) | ||
* any later version. | ||
* | ||
*/ | ||
|
||
#ifndef _CRYPTO_SKCIPHER_H | ||
#define _CRYPTO_SKCIPHER_H | ||
|
||
#include <linux/crypto.h> | ||
|
||
/** | ||
* struct skcipher_givcrypt_request - Crypto request with IV generation | ||
* @seq: Sequence number for IV generation | ||
* @giv: Space for generated IV | ||
* @creq: The crypto request itself | ||
*/ | ||
struct skcipher_givcrypt_request { | ||
u64 seq; | ||
u8 *giv; | ||
|
||
struct ablkcipher_request creq; | ||
}; | ||
|
||
static inline struct crypto_ablkcipher *skcipher_givcrypt_reqtfm( | ||
struct skcipher_givcrypt_request *req) | ||
{ | ||
return crypto_ablkcipher_reqtfm(&req->creq); | ||
} | ||
|
||
#endif /* _CRYPTO_SKCIPHER_H */ | ||
|
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