Skip to content

Commit f858dde

Browse files
committed
crypto: ahash - Remove AHASH_REQUEST_ON_STACK
This patch removes AHASH_REQUEST_ON_STACK which is unused. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> Acked-by: Ard Biesheuvel <ardb@kernel.org> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
1 parent b00ba76 commit f858dde

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

‎include/crypto/hash.h‎

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -59,11 +59,6 @@ struct ahash_request {
5959
void *__ctx[] CRYPTO_MINALIGN_ATTR;
6060
};
6161

62-
#define AHASH_REQUEST_ON_STACK(name, ahash) \
63-
char __##name##_desc[sizeof(struct ahash_request) + \
64-
crypto_ahash_reqsize(ahash)] CRYPTO_MINALIGN_ATTR; \
65-
struct ahash_request *name = (void *)__##name##_desc
66-
6762
/**
6863
* struct ahash_alg - asynchronous message digest definition
6964
* @init: **[mandatory]** Initialize the transformation context. Intended only to initialize the

0 commit comments

Comments
 (0)