diff options
author | Steffen Trumtrar <s.trumtrar@pengutronix.de> | 2016-02-15 15:47:54 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2019-04-12 11:58:39 +0200 |
commit | 4b4dc564f46d2179dbf7e40f6434ec0664ed7c53 (patch) | |
tree | e22cc5d8644b51d3010f38272388646775461c33 /include/crypto.h | |
parent | 0b19683428fdd146fec3f3e4257e025256c2939d (diff) | |
download | barebox-4b4dc564f46d2179dbf7e40f6434ec0664ed7c53.tar.gz barebox-4b4dc564f46d2179dbf7e40f6434ec0664ed7c53.tar.xz |
include: crypto: import ablkcipher struct from kernel
Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de>
Diffstat (limited to 'include/crypto.h')
-rw-r--r-- | include/crypto.h | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/include/crypto.h b/include/crypto.h new file mode 100644 index 0000000000..ac70111cab --- /dev/null +++ b/include/crypto.h @@ -0,0 +1,27 @@ +/* + * Copyright (C) 2016 Pengutronix, Steffen Trumtrar <kernel@pengutronix.de> + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * version 2, as published by the Free Software Foundation. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + */ + +#ifndef __CRYPTO_H__ +#define __CRYPTO_H__ + +struct ablkcipher_request { + unsigned int nbytes; + + void __iomem *info; + + void __iomem *dst; + void __iomem *src; +}; + +#endif |