From: guanjun <guanjun@linux.alibaba.com>
To: "Elliott, Robert (Servers)" <elliott@hpe.com>
Cc: "herbert@gondor.apana.org.au" <herbert@gondor.apana.org.au>,
"zelin.deng@linux.alibaba.com" <zelin.deng@linux.alibaba.com>,
"xuchun.shang@linux.alibaba.com" <xuchun.shang@linux.alibaba.com>,
"artie.ding@linux.alibaba.com" <artie.ding@linux.alibaba.com>,
"linux-crypto@vger.kernel.org" <linux-crypto@vger.kernel.org>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH v1 5/9] crypto/ycc: Add skcipher algorithm support
Date: Wed, 31 Aug 2022 10:52:34 +0800 [thread overview]
Message-ID: <037A82F1-7C15-44E2-96B9-57CFEC936D38@linux.alibaba.com> (raw)
In-Reply-To: <MW5PR84MB1842B41754897B029B6949E5AB739@MW5PR84MB1842.NAMPRD84.PROD.OUTLOOK.COM>
Hi Elliott,
> 2022年8月25日 上午12:24,Elliott, Robert (Servers) <elliott@hpe.com> 写道:
>
>
>
>> -----Original Message-----
>> From: 'Guanjun' <guanjun@linux.alibaba.com>
>> Sent: Wednesday, August 24, 2022 4:50 AM
>> Subject: [PATCH v1 5/9] crypto/ycc: Add skcipher algorithm support
>>
> ...
>
>> +static struct skcipher_alg ycc_skciphers[] = {
>> + {
>> + .base = {
>> + .cra_name = "cbc(aes)",
>> + .cra_driver_name = "ycc_cbc(aes)",
>
> In comparison, the aead driver puts the hardware driver name as a suffix,
> not a prefix, and uses dashes rather than underscores and parenthesis:
>> + .cra_name = "gcm(aes)",
>> + .cra_driver_name = "gcm-aes-ycc",
>
> and the pk driver uses a prefix with a dash:
>> + .cra_name = "rsa",
>> + .cra_driver_name = "ycc-rsa",
>
> Although the existing drivers are wildly inconsistent, it would be nice
> if this driver was at least consistent with itself. Suffixes with dashes
> seem to be the most popular, so consider these formats:
> cbc-aes-ycc
> gcm-aes-ycc
> rsa-ycc
>
Thanks for your comments. I will change these names as your suggestion in next version.
Best regards,
Guanjun
next prev parent reply other threads:[~2022-08-31 2:52 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-08-24 9:50 [PATCH v1 0/9] Drivers for Alibaba YCC (Yitian Cryptography Complex) cryptographic accelerator 'Guanjun'
2022-08-24 9:50 ` [PATCH v1 1/9] crypto/ycc: Add YCC (Yitian Cryptography Complex) accelerator driver 'Guanjun'
2022-08-24 14:57 ` Elliott, Robert (Servers)
2022-08-31 2:47 ` guanjun
2022-08-24 9:50 ` [PATCH v1 2/9] crypto/ycc: Add ycc ring configuration 'Guanjun'
2022-08-24 9:50 ` [PATCH v1 3/9] crypto/ycc: Add irq support for ycc kernel rings 'Guanjun'
2022-08-24 9:50 ` [PATCH v1 4/9] crypto/ycc: Add device error handling support for ycc hw errors 'Guanjun'
2022-08-24 9:50 ` [PATCH v1 5/9] crypto/ycc: Add skcipher algorithm support 'Guanjun'
2022-08-24 16:24 ` Elliott, Robert (Servers)
2022-08-31 2:52 ` guanjun [this message]
2022-08-24 9:50 ` [PATCH v1 6/9] crypto/ycc: Add aead " 'Guanjun'
2022-08-24 9:50 ` [PATCH v1 7/9] crypto/ycc: Add rsa " 'Guanjun'
2022-08-24 9:50 ` [PATCH v1 8/9] crypto/ycc: Add sm2 " 'Guanjun'
2022-08-24 9:50 ` [PATCH v1 9/9] MAINTAINERS: Add Yitian Cryptography Complex (YCC) driver maintainer entry 'Guanjun'
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=037A82F1-7C15-44E2-96B9-57CFEC936D38@linux.alibaba.com \
--to=guanjun@linux.alibaba.com \
--cc=artie.ding@linux.alibaba.com \
--cc=elliott@hpe.com \
--cc=herbert@gondor.apana.org.au \
--cc=linux-crypto@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=xuchun.shang@linux.alibaba.com \
--cc=zelin.deng@linux.alibaba.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®