Re: [PATCH v2 2/4] crypto: arm64/sm4-ce - Make dependent on sm4 library instead of sm4-generic

From: Tianjia Zhang
Date: Fri Jul 16 2021 - 05:32:32 EST


Hi Herbert,

On 7/16/21 3:48 PM, Herbert Xu wrote:
On Thu, Jun 24, 2021 at 04:08:55PM +0800, Tianjia Zhang wrote:

+int sm4_ce_setkey(struct crypto_tfm *tfm, const u8 *in_key,
+ unsigned int key_len)
+{
+ struct sm4_ctx *ctx = crypto_tfm_ctx(tfm);
+
+ return sm4_expandkey(ctx, in_key, key_len);
+}

This triggers a new warning. Please fix and resubmit.

Thanks,


Thanks for your comment, I will fix and resubmit in next version patch.

Cheers,
Tianjia