Skip to contentSkip to conversation

cryptodev support

DISCUSSION Nikos Mavrogiannopoulos 2 participants 5 messages Mar 17, 2010 – Apr 11, 2010 Crypto API

lore
Share & tools
lore
#0 lore raw

Hello,
I needed to access crypto hardware modules from userspace and I made
that by adding cryptodev support on top of linux-crypto. It is a separate module available at:
http://repo.or.cz/w/cryptodev-linux.git

It was originally based on the old cryptodev module found at
http://www.logix.cz/michal/devel/cryptodev/

In the extras directory there is a patch for openssl that will make use of the /dev/crypto. Gnutls (2.9.x) will use /dev/crypto if it compiled with --enable-cryptodev.

regards,
Nikos

#1 lore raw
Quoted 6 lines · Nikos Mavrogiannopoulos

Hello,
I needed to access crypto hardware modules from userspace and I made
that by adding cryptodev support on top of linux-crypto. It is a separate module available at:
http://repo.or.cz/w/cryptodev-linux.git

I'm also interested in the userspace module (we are working on a patch for opencryptoki), but this version looks quite different from the ideas "recently" discussed in this mailing list and, probably even more important, from the idea for future development (i.e. moving to a socket-like interface).

Couldn't be useful to start discussing (read: receive directives) and officially introduce cryptodev in linux-crypto, instead of losing so many energies?

Best,

Signature · 3 lines
Emanuele Cesena <[email protected]>

Il corpo non ha ideali
#2 lore raw
Quoted 7 lines · Emanuele Cesena
Quoted 6 lines · Nikos Mavrogiannopoulos

Hello,
I needed to access crypto hardware modules from userspace and I made
that by adding cryptodev support on top of linux-crypto. It is a separate module available at:
http://repo.or.cz/w/cryptodev-linux.git

Quoted 5 lines

I'm also interested in the userspace module (we are working on a patch for opencryptoki), but this version looks quite different from the ideas "recently" discussed in this mailing list and, probably even more important, from the idea for future development (i.e. moving to a socket-like interface).

I'm not aware of the discussion in the ml. I don't argue that this is the only way to expose the internal API to userspace. It is one way that few other OS's support as well. For this reason it is the best from the user-space developer point of view to have a single API across many OS'.

regards,
Nikos

#3 lore raw
Quoted 4 lines · Nikos Mavrogiannopoulos

It is one way that
few other OS's support as well. For this reason it is the best from the user-space developer point of view to have a single API across many OS'.

This is really good, in my opinion.
What the others think?

Best,

Signature · 3 lines
Emanuele Cesena <[email protected]>

Il corpo non ha ideali
#4 lore raw
Quoted 6 lines · Emanuele Cesena
Quoted 3 lines · Nikos Mavrogiannopoulos

It is one way that
few other OS's support as well. For this reason it is the best from the user-space developer point of view to have a single API across many OS'.

This is really good, in my opinion.
What the others think?

Hello,
For anyone interested in the /dev/crypto for linux I've setup a website
and made a beta release of the cryptodev module. It can be found at:
http://home.gna.org/cryptodev-linux/

regards,
Nikos