Re: Hardware acceleration indication in af_alg

2011-11-02 Thread Herbert Xu
Jamie Iles wrote: > >> diff --git a/include/linux/crypto.h b/include/linux/crypto.h >> index de9adec..3e14cee 100644 >> --- a/include/linux/crypto.h >> +++ b/include/linux/crypto.h >> @@ -51,6 +51,11 @@ >> #define CRYPTO_ALG_DYING 0x0040 >> #define CRYPTO_ALG_ASYNC 0x

Re: [PATCH v4 12/17] crypto: Add userspace report for aead type algorithms

2011-11-02 Thread Luis Henriques
Steffen Klassert secunet.com> writes: ... > + raead.blocksize = alg->cra_blocksize; > + raead.maxauthsize = aead->maxauthsize; > + raead.ivsize = aead->ivsize; > + > + NLA_PUT(skb, CRYPTOCFGA_REPORT_AEAD, > + sizeof(struct crypto_report_aead), &raead); This patch see