Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

crypto: kpp - Add helper to set reqsize

The value of reqsize should only be changed through a helper.
To do so we need to first add a helper for this.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>

+6
+6
include/crypto/internal/kpp.h
··· 50 50 return req->__ctx; 51 51 } 52 52 53 + static inline void kpp_set_reqsize(struct crypto_kpp *kpp, 54 + unsigned int reqsize) 55 + { 56 + crypto_kpp_alg(kpp)->reqsize = reqsize; 57 + } 58 + 53 59 static inline void *kpp_tfm_ctx(struct crypto_kpp *tfm) 54 60 { 55 61 return tfm->base.__crt_ctx;