aboutsummaryrefslogtreecommitdiffstats
path: root/include/crypto/algapi.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/crypto/algapi.h')
-rw-r--r--include/crypto/algapi.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/include/crypto/algapi.h b/include/crypto/algapi.h
index e73c19e90e38..016c2f110f63 100644
--- a/include/crypto/algapi.h
+++ b/include/crypto/algapi.h
@@ -100,9 +100,12 @@ struct blkcipher_walk {
100 void *page; 100 void *page;
101 u8 *buffer; 101 u8 *buffer;
102 u8 *iv; 102 u8 *iv;
103 unsigned int ivsize;
103 104
104 int flags; 105 int flags;
105 unsigned int blocksize; 106 unsigned int walk_blocksize;
107 unsigned int cipher_blocksize;
108 unsigned int alignmask;
106}; 109};
107 110
108struct ablkcipher_walk { 111struct ablkcipher_walk {
@@ -192,6 +195,10 @@ int blkcipher_walk_phys(struct blkcipher_desc *desc,
192int blkcipher_walk_virt_block(struct blkcipher_desc *desc, 195int blkcipher_walk_virt_block(struct blkcipher_desc *desc,
193 struct blkcipher_walk *walk, 196 struct blkcipher_walk *walk,
194 unsigned int blocksize); 197 unsigned int blocksize);
198int blkcipher_aead_walk_virt_block(struct blkcipher_desc *desc,
199 struct blkcipher_walk *walk,
200 struct crypto_aead *tfm,
201 unsigned int blocksize);
195 202
196int ablkcipher_walk_done(struct ablkcipher_request *req, 203int ablkcipher_walk_done(struct ablkcipher_request *req,
197 struct ablkcipher_walk *walk, int err); 204 struct ablkcipher_walk *walk, int err);