projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
81dc036
)
crypto: rsa-pkcs1pad - fix rsa-pkcs1pad request struct
author
Herbert Xu
<
[email protected]
>
Fri, 22 Jul 2016 09:58:21 +0000
(17:58 +0800)
committer
Herbert Xu
<
[email protected]
>
Fri, 22 Jul 2016 09:58:21 +0000
(17:58 +0800)
To allow for child request context the struct akcipher_request child_req
needs to be at the end of the structure.
Cc:
[email protected]
Signed-off-by: Tadeusz Struk <
[email protected]
>
Signed-off-by: Herbert Xu <
[email protected]
>
crypto/rsa-pkcs1pad.c
patch
|
blob
|
history
diff --git
a/crypto/rsa-pkcs1pad.c
b/crypto/rsa-pkcs1pad.c
index ead8dc0d084e749e35733abc164f1e209aca3f6f..8ba426635b1b39631824f7bb2b1f2e3a056bafa4 100644
(file)
--- a/
crypto/rsa-pkcs1pad.c
+++ b/
crypto/rsa-pkcs1pad.c
@@
-102,10
+102,10
@@
struct pkcs1pad_inst_ctx {
};
struct pkcs1pad_request {
- struct akcipher_request child_req;
-
struct scatterlist in_sg[3], out_sg[2];
uint8_t *in_buf, *out_buf;
+
+ struct akcipher_request child_req;
};
static int pkcs1pad_set_pub_key(struct crypto_akcipher *tfm, const void *key,