From: Stephan Mueller <smueller@chronox.de>
To: sri sowj <srisowj4linux@gmail.com>
Cc: "linux-crypto@vger.kernel.org" <linux-crypto@vger.kernel.org>
Subject: Re: communicating from the user space
Date: Sat, 21 Feb 2015 08:01:32 +0100 [thread overview]
Message-ID: <1543956.4M98jElNTF@tachyon.chronox.de> (raw)
In-Reply-To: <CAHTT9VJhyHRMCsOZ+Unq7zTXNq7+iQpNvKCktPhDbZ_JA6vmsg@mail.gmail.com>
Am Samstag, 21. Februar 2015, 08:39:05 schrieb sri sowj:
Hi sri,
> Hi Stephen,
>
> Thank you very much for the information provided.
>
> I will try to explore more on AF_ALG , in between please can you also
> provide information regarding below ?
> #1: how openssl communicates to crypto h/w using PF_ALG
Search the net, there is an engine available
> #2: How man algorithms are supported?
All that the kernel crypto API supports
> #3: are there any samples to get start with.
Maybe you look into libkcapi -- there are plenty of examples.
>
> but if you can provide some info regarding cryptodev-linux from the
> openssl prospect it will be more helpful.
cryptodev-linux is not merged into the kernel and it looks that it never will
considering the presence of AF_ALG
>
>
> BR,
> Srisowj
>
> On Sat, Feb 21, 2015 at 2:28 AM, Stephan Mueller <smueller@chronox.de>
wrote:
> > Am Samstag, 21. Februar 2015, 01:27:04 schrieb sri sowj:
> >
> > Hi sri,
> >
> >> Hi ,
> >>
> >> I want to interact with Crypto Hardware from user space using openssl
> >> like libraries based applications through cryptodev-linux interface.
> >>
> >> it looks like openssl comes with cryptodev-linux support(through
> >> eng_cryptodev.c) .
> >> When I downloaded openssl,eng_cryptodev.c file is available by default.
> >>
> >> below link refers about eng_cryptodev.c for openssl support :
> >>
> >> http://repo.or.cz/w/cryptodev-linux.git/commitdiff/56cc4e3b8b761cb34f928f
> >> 4ee e59755d1f0afc53
> >>
> >> Note:looks like there are some additional changes done on
> >> eng_cryptodev.c file available in updated openssl source code.
> >>
> >> There seems to be some changes/patches also available recently for
> >> cryptodev-linux,below contains reference information.
> >>
> >> http://rt.openssl.org/Ticket/Display.html?id=2770&user=guest&pass=guest
> >>
> >>
> >> Please let me know if my understanding is incorrect .
> >
> > See AF_ALG and a generic user space library around it:
> >
> > http://www.chronox.de/libkcapi.html
> >
> >> BR,
> >> Srisowj
> >> --
> >> To unsubscribe from this list: send the line "unsubscribe linux-crypto"
> >> in
> >> the body of a message to majordomo@vger.kernel.org
> >> More majordomo info at http://vger.kernel.org/majordomo-info.html
> >
> > --
> > Ciao
> > Stephan
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-crypto" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
--
Ciao
Stephan
next prev parent reply other threads:[~2015-02-21 7:01 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-02-20 19:57 communicating from the user space sri sowj
2015-02-20 20:58 ` Stephan Mueller
2015-02-21 3:09 ` sri sowj
2015-02-21 7:01 ` Stephan Mueller [this message]
2015-02-22 13:02 ` sri sowj
2015-02-22 15:04 ` Stephan Mueller
2015-02-22 15:41 ` sri sowj
2015-02-22 19:15 ` Stephan Mueller
2015-02-22 21:26 ` Nikos Mavrogiannopoulos
2015-02-23 4:06 ` sri sowj
2015-02-23 8:18 ` Stephan Mueller
2015-02-23 8:30 ` Nikos Mavrogiannopoulos
2015-02-23 8:27 ` Nikos Mavrogiannopoulos
2015-02-23 15:47 ` sri sowj
2015-02-23 8:17 ` Stephan Mueller
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=1543956.4M98jElNTF@tachyon.chronox.de \
--to=smueller@chronox.de \
--cc=linux-crypto@vger.kernel.org \
--cc=srisowj4linux@gmail.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