Re: [Cryptodev-linux-devel] ? about cryptosession2

2014-03-05 Thread Phil Sutter
Hi, On Wed, Mar 05, 2014 at 10:01:16AM -0700, Brad Walker wrote: > I noticed that on FreeBSD 7 OpenBSD cryptodev.h defines an ioctl called: > CIOCGSESSION2 > > But, this is not defined in the cryptodev.h file for Linux. > > Curious to know why that is? Cryptodev-linux is meant to be compatible

Re: [Cryptodev-linux-devel] sha1 decrypt example needed..

2014-03-05 Thread Phil Sutter
Hi, On Tue, Mar 04, 2014 at 06:23:51PM -0700, Brad Walker wrote: > I'm trying to understand how to encrypt/decrypt data using SHA1. SHA1 is not a cipher, therefore you can't use it for en-/decryption. > I see there is an example for AES and I have it working. But, I can't seem > to find somethin

[Cryptodev-linux-devel] ? about cryptosession2

2014-03-05 Thread Brad Walker
I noticed that on FreeBSD 7 OpenBSD cryptodev.h defines an ioctl called: CIOCGSESSION2 But, this is not defined in the cryptodev.h file for Linux. Curious to know why that is? Thanks. -brad w. ___ Cryptodev-linux-devel mailing list Cryptodev-linux-de

[Cryptodev-linux-devel] sha1 decrypt example needed..

2014-03-05 Thread Brad Walker
I'm trying to understand how to encrypt/decrypt data using SHA1. I see there is an example for AES and I have it working. But, I can't seem to find something equivalent for SHA1.. Does anyone have a working example for SHA1 that I can use? Thanks. -brad w. __