aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKees Cook <keescook@chromium.org>2018-09-18 22:11:00 -0400
committerHerbert Xu <herbert@gondor.apana.org.au>2018-09-28 00:46:09 -0400
commita9cbfe4c784436368790f0c59674f99ba97ae21e (patch)
tree6f8e3c4d34c3561190ed54c9fd90a55784fdbe49
parent6adfbd621b59e0a399cb1398fd263b15ebc53f5b (diff)
crypto: skcipher - Remove SKCIPHER_REQUEST_ON_STACK()
Now that all the users of the VLA-generating SKCIPHER_REQUEST_ON_STACK() macro have been moved to SYNC_SKCIPHER_REQUEST_ON_STACK(), we can remove the former. Signed-off-by: Kees Cook <keescook@chromium.org> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
-rw-r--r--include/crypto/skcipher.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/include/crypto/skcipher.h b/include/crypto/skcipher.h
index d00ce90dc7da..45ae894fda32 100644
--- a/include/crypto/skcipher.h
+++ b/include/crypto/skcipher.h
@@ -156,11 +156,6 @@ struct skcipher_alg {
156 ] CRYPTO_MINALIGN_ATTR; \ 156 ] CRYPTO_MINALIGN_ATTR; \
157 struct skcipher_request *name = (void *)__##name##_desc 157 struct skcipher_request *name = (void *)__##name##_desc
158 158
159#define SKCIPHER_REQUEST_ON_STACK(name, tfm) \
160 char __##name##_desc[sizeof(struct skcipher_request) + \
161 crypto_skcipher_reqsize(tfm)] CRYPTO_MINALIGN_ATTR; \
162 struct skcipher_request *name = (void *)__##name##_desc
163
164/** 159/**
165 * DOC: Symmetric Key Cipher API 160 * DOC: Symmetric Key Cipher API
166 * 161 *