From: Greg KH <email@example.com> To: "Kim, David" <firstname.lastname@example.org> Cc: "email@example.com" <firstname.lastname@example.org>, "email@example.com" <firstname.lastname@example.org>, "email@example.com" <firstname.lastname@example.org>, "Magee, Tim" <email@example.com> Subject: Re: nCipher HSM kernel driver submission feedback request Date: Mon, 16 Mar 2020 12:23:29 +0100 [thread overview] Message-ID: <20200316112329.GA3688743@kroah.com> (raw) In-Reply-To: <142189d3a42947d4953b22cf7202e327@exukdagfar01.INTERNAL.ROOT.TES> On Mon, Mar 16, 2020 at 10:44:46AM +0000, Kim, David wrote: > > > > The driver code for the hardware is straightforward and does not > > > contain any cryptographic components as the cryptography is handled > > > within the hardware's secure boundary. We have no plans to use the > > > linux kernel crypto APIs as our customers require compliance to the FIPS > > 140 standard or the eIDAS regulations. > > > > But what I said was, you NEED to use the linux kernel crypto apis as you need > > to not try to create your own. > > > > Just because this is the way you did it before, does not mean it is the correct > > thing to do. > > > > So what is wrong if you do use the existing apis? What is preventing you > > from doing that? > > > > Sorry Greg but I'm not understanding what the issue is. Can you please explain a > bit more what you mean with the apis? > > Our driver code is just a tube between proprietary code on the host machine and > proprietary code on the HSM. We are not trying to create our own linux crypto > apis because all the crypto stuff is happening in the existing proprietary code. If your device does "crypto", then it should tie into the existing kernel crypto apis so that your, and everyone elses, userspace code also uses the correct, existing, userspace crypto apis. We do not want to create a one-off-vendor-specific api for only one piece of hardware out there. That way lies madness and is not how we do things in the kernel whenever possible. thanks, greg k-h
next prev parent reply other threads:[~2020-03-16 11:23 UTC|newest] Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top 2020-03-13 9:48 Kim, David 2020-03-13 10:09 ` Greg KH 2020-03-16 10:44 ` Kim, David 2020-03-16 11:23 ` Greg KH [this message] 2020-03-23 6:49 ` Jason A. Donenfeld 2020-03-23 13:32 ` Kim, David 2020-03-23 13:59 ` Greg KH 2020-04-17 15:12 ` Kim, David
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=20200316112329.GA3688743@kroah.com \ --firstname.lastname@example.org \ --email@example.com \ --firstname.lastname@example.org \ --email@example.com \ --firstname.lastname@example.org \ --email@example.com \ --subject='Re: nCipher HSM kernel driver submission feedback request' \ /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
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).