Re: crypto: GCM API usage

2013-10-03 Thread Marcelo Cerri
On Thu, Oct 03, 2013 at 08:03:45AM +0200, tobias.pol...@fau.de wrote: > > I haven't used the IV generation facility of the Crypto API, but it > > seems to be very straightforward although there's no documentation > > about that. > > > > You should use aead_givcrypt_set_callback(), aead_givcrypt_set

Re: crypto: GCM API usage

2013-10-02 Thread tobias . polzer
> I haven't used the IV generation facility of the Crypto API, but it > seems to be very straightforward although there's no documentation > about that. > > You should use aead_givcrypt_set_callback(), aead_givcrypt_set_assoc() > and aead_givcrypt_set_crypt() as you would use the regular aead > fun

Re: crypto: GCM API usage

2013-09-19 Thread Marcelo Cerri
On Mon, Sep 16, 2013 at 08:34:11PM +0200, Dominik Paulus wrote: > Hi, > > On Mon, Sep 16, 2013 at 12:58:40PM +0200, > dominik.d.pau...@studium.uni-erlangen.de wrote: > > We are currently trying to add encryption support to the usbip kernel > > driver. Unfortunately, there is almost no documentati

Re: crypto: GCM API usage

2013-09-16 Thread Dominik Paulus
Hi, On Mon, Sep 16, 2013 at 12:58:40PM +0200, dominik.d.pau...@studium.uni-erlangen.de wrote: > We are currently trying to add encryption support to the usbip kernel > driver. Unfortunately, there is almost no documentation for the kernel > crypto API. So far, we couldn't figure out how to use th