[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20140428080006.GA14510@gondor.apana.org.au>
Date: Mon, 28 Apr 2014 16:00:06 +0800
From: Herbert Xu <herbert@...dor.apana.org.au>
To: Stanimir Varbanov <svarbanov@...sol.com>
Cc: "David S. Miller" <davem@...emloft.net>,
linux-arm-msm@...r.kernel.org,
Mona Hossain <mhossain@...eaurora.org>,
Hariprasad Dhalinarasimha <hnamgund@...eaurora.org>,
Zhen Kong <zkong@...eaurora.org>,
Niranjana Vishwanathapura <nvishwan@...eaurora.org>,
Rohit Vaswani <rvaswani@...eaurora.org>,
linux-kernel@...r.kernel.org, linux-crypto@...r.kernel.org
Subject: Re: [RFC PATCH v2 4/9] crypto: qce: Add ablkcipher algorithms
On Mon, Apr 14, 2014 at 03:48:40PM +0300, Stanimir Varbanov wrote:
>
> + if (IS_AES(flags)) {
> + switch (keylen) {
> + case AES_KEYSIZE_128:
> + case AES_KEYSIZE_256:
> + break;
> + default:
> + goto badkey;
You need to support 192 here. If the hardware doesn't do that
you can work around it by using a software fallback.
In general you need to provide everything that is supported by
the generic software implementation.
Cheers,
--
Email: Herbert Xu <herbert@...dor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists