From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
To: Xi Ruoyao <xry111@xry111.site>
Cc: Arnd Bergmann <arnd@arndb.de>,
Qunqin Zhao <zhaoqunqin@loongson.cn>, Lee Jones <lee@kernel.org>,
Herbert Xu <herbert@gondor.apana.org.au>,
linux-kernel@vger.kernel.org, loongarch@lists.linux.dev,
"David S . Miller" <davem@davemloft.net>,
linux-crypto@vger.kernel.org,
"derek.kiernan@amd.com" <derek.kiernan@amd.com>,
"dragan.cvetic@amd.com" <dragan.cvetic@amd.com>,
Yinggang Gu <guyinggang@loongson.cn>
Subject: Re: [PATCH v1 3/3] misc: ls6000se-sdf: Add driver for Loongson 6000SE SDF
Date: Tue, 14 Jan 2025 14:21:57 +0100 [thread overview]
Message-ID: <2025011407-muppet-hurricane-196f@gregkh> (raw)
In-Reply-To: <97000576d4ba6d94cea70363e321665476697052.camel@xry111.site>
On Tue, Jan 14, 2025 at 06:43:24PM +0800, Xi Ruoyao wrote:
> On Tue, 2025-01-14 at 11:17 +0100, Arnd Bergmann wrote:
> > On Tue, Jan 14, 2025, at 10:55, Qunqin Zhao wrote:
> > > Loongson Secure Device Function device supports the functions specified
> > > in "GB/T 36322-2018". This driver is only responsible for sending user
> > > data to SDF devices or returning SDF device data to users.
> >
> > I haven't been able to find a public version of the standard
>
> A public copy is available at
> https://openstd.samr.gov.cn/bzgk/gb/newGbInfo?hcno=69E793FE1769D120C82F78447802E14F,
> pressing the blue "online preview" button, enter a captcha and you can
> see it. But the copy is in Chinese, and there's an explicit notice
> saying translating this copy is forbidden, so I cannot translate it for
> you either.
>
> > but
> > from the table of contents it sounds like this is a standard for
> > cryptographic functions that would otherwise be implemented by a
> > driver in drivers/crypto/ so it can use the normal abstractions
> > for both userspace and in-kernel users.
> >
> > Is there some reason this doesn't work?
>
> I'm not an lawyer but I guess contributing code for that may have some
> "cryptography code export rule compliance" issue.
Issue with what? And why? It's enabling the functionality of the
hardware either way, so the same rules should apply no matter where the
driver ends up in or what apis it is written against, right?
thanks,
greg k-h
next prev parent reply other threads:[~2025-01-14 13:22 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-01-14 9:55 [PATCH v1 0/3] Drivers for Loongson security engine Qunqin Zhao
2025-01-14 9:55 ` [PATCH v1 1/3] mfd: Add support for Loongson Security Module Qunqin Zhao
2025-01-14 9:55 ` [PATCH v1 2/3] crypto: loongson - add Loongson RNG driver support Qunqin Zhao
2025-01-14 9:55 ` [PATCH v1 3/3] misc: ls6000se-sdf: Add driver for Loongson 6000SE SDF Qunqin Zhao
2025-01-14 10:17 ` Arnd Bergmann
2025-01-14 10:43 ` Xi Ruoyao
2025-01-14 13:21 ` Greg Kroah-Hartman [this message]
2025-01-15 2:58 ` Qunqin Zhao
2025-01-15 7:58 ` Greg Kroah-Hartman
2025-01-15 10:39 ` Zheng, Yaofei
2025-01-15 11:13 ` Xi Ruoyao
2025-01-26 4:26 ` WANG Xuerui
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=2025011407-muppet-hurricane-196f@gregkh \
--to=gregkh@linuxfoundation.org \
--cc=arnd@arndb.de \
--cc=davem@davemloft.net \
--cc=derek.kiernan@amd.com \
--cc=dragan.cvetic@amd.com \
--cc=guyinggang@loongson.cn \
--cc=herbert@gondor.apana.org.au \
--cc=lee@kernel.org \
--cc=linux-crypto@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=loongarch@lists.linux.dev \
--cc=xry111@xry111.site \
--cc=zhaoqunqin@loongson.cn \
/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