[crypto-discuss] generating aes keys in kernel

2007-04-30 Thread Darren J Moffat
Mark Powers wrote: > Darren J Moffat wrote: >> Can someone refresh my memory, do we have an API for creating keys in >> kernel ? Specifically I want to create a random AES key of a given >> length. >> >> I don't think we have this - but I need it! >> > I take it back, we do have the API entry po

[crypto-discuss] generating aes keys in kernel

2007-04-30 Thread Darren J Moffat
Mark Powers wrote: > Darren J Moffat wrote: >> Can someone refresh my memory, do we have an API for creating keys in >> kernel ? Specifically I want to create a random AES key of a given >> length. >> >> I don't think we have this - but I need it! >> > You're right we don't have it. We didn't ha

[crypto-discuss] generating aes keys in kernel

2007-04-30 Thread Darren J Moffat
Dan McDonald wrote: > On Mon, Apr 30, 2007 at 05:23:32PM +0100, Darren J Moffat wrote: >> Can someone refresh my memory, do we have an API for creating keys in >> kernel ? Specifically I want to create a random AES key of a given length. >> >> I don't think we have this - but I need it! > > Clos

[crypto-discuss] kssl & crypto_digest

2007-04-30 Thread Darren J Moffat
I was browsing through the KSSL source looking for bits of things to "clone" for ZFS crypto :-) and I discovered that kssl_compute_handshake_hashes() doesn't call crypto_digest*() but instead calls MD5*() and SHA1*() APIs directly. Now I know that if the data sizes are small we will never offlo

[crypto-discuss] generating aes keys in kernel

2007-04-30 Thread Darren J Moffat
Can someone refresh my memory, do we have an API for creating keys in kernel ? Specifically I want to create a random AES key of a given length. I don't think we have this - but I need it! -- Darren J Moffat

[crypto-discuss] kssl & crypto_digest

2007-04-30 Thread Krishna Yenduri
Darren J Moffat wrote: > I was browsing through the KSSL source looking for bits of things to > "clone" for ZFS crypto :-) and I discovered that > kssl_compute_handshake_hashes() doesn't call crypto_digest*() but > instead calls MD5*() and SHA1*() APIs directly. > > Now I know that if the data

[crypto-discuss] generating aes keys in kernel

2007-04-30 Thread Dan McDonald
On Mon, Apr 30, 2007 at 05:23:32PM +0100, Darren J Moffat wrote: > Can someone refresh my memory, do we have an API for creating keys in > kernel ? Specifically I want to create a random AES key of a given length. > > I don't think we have this - but I need it! Closest thing is probably random_

[crypto-discuss] generating aes keys in kernel

2007-04-30 Thread Dina K. Nimeh
Darren J Moffat wrote: > Mark Powers wrote: > >> Darren J Moffat wrote: >> >>> Can someone refresh my memory, do we have an API for creating keys in >>> kernel ? Specifically I want to create a random AES key of a given >>> length. >>> >>> I don't think we have this - but I need it! >>> >> I

[crypto-discuss] generating aes keys in kernel

2007-04-30 Thread Mark Powers
Darren J Moffat wrote: > Can someone refresh my memory, do we have an API for creating keys in > kernel ? Specifically I want to create a random AES key of a given > length. > > I don't think we have this - but I need it! > I take it back, we do have the API entry points (see uts/common/crypto/

[crypto-discuss] generating aes keys in kernel

2007-04-30 Thread Mark Powers
Darren J Moffat wrote: > Can someone refresh my memory, do we have an API for creating keys in > kernel ? Specifically I want to create a random AES key of a given > length. > > I don't think we have this - but I need it! > You're right we don't have it. We didn't have any consumers until now.

[crypto-discuss] generating aes keys in kernel

2007-04-30 Thread Garrett D'Amore
Garrett D'Amore wrote: > Darren J Moffat wrote: >> Dan McDonald wrote: >>> On Mon, Apr 30, 2007 at 05:23:32PM +0100, Darren J Moffat wrote: Can someone refresh my memory, do we have an API for creating keys in kernel ? Specifically I want to create a random AES key of a given leng

[crypto-discuss] generating aes keys in kernel

2007-04-30 Thread Garrett D'Amore
Darren J Moffat wrote: > Dan McDonald wrote: >> On Mon, Apr 30, 2007 at 05:23:32PM +0100, Darren J Moffat wrote: >>> Can someone refresh my memory, do we have an API for creating keys >>> in kernel ? Specifically I want to create a random AES key of a >>> given length. >>> >>> I don't think we h