Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e9594a54 authored by Kees Cook's avatar Kees Cook Committed by Rishabh Bhatnagar
Browse files

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.

Change-Id: I28988ad863bfcc215b329c5410e6a6bf9ab7442e
Signed-off-by: default avatarKees Cook <keescook@chromium.org>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
Git-Repo: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git


Git-Commit: a9cbfe4c784436368790f0c59674f99ba97ae21e
Signed-off-by: default avatarRishabh Bhatnagar <rishabhb@codeaurora.org>
parent e826e8ef
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -156,11 +156,6 @@ struct skcipher_alg {
			    ] CRYPTO_MINALIGN_ATTR; \
	struct skcipher_request *name = (void *)__##name##_desc

#define SKCIPHER_REQUEST_ON_STACK(name, tfm) \
	char __##name##_desc[sizeof(struct skcipher_request) + \
		crypto_skcipher_reqsize(tfm)] CRYPTO_MINALIGN_ATTR; \
	struct skcipher_request *name = (void *)__##name##_desc

/**
 * DOC: Symmetric Key Cipher API
 *