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,
--
Email: Herbert Xu <[email protected]>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
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