Re: [PATCH 1/1 v4] Add CryptoAPI User Interface Support

2008-08-06 Thread Evgeniy Polyakov
Hi. On Mon, Aug 04, 2008 at 10:43:13AM -0700, Loc Ho ([EMAIL PROTECTED]) wrote: > We wasn't plan on protecting this. It is the caller responsibity to call in > the proper order. If the caller want to change the key, it musts do so before > issue run or after all run operations completed. Actuall

RE: [PATCH 1/1 v4] Add CryptoAPI User Interface Support

2008-08-04 Thread Loc Ho
Hi, > >What does prevent from simultaneous command execution? Or setkey() vs. >run() race? Do you rely on BKL which 'guards' ioctl execution? How is >->write() protected from ioctl()? > We wasn't plan on protecting this. It is the caller responsibity to call in the proper order. If the caller wa

Re: [PATCH 1/1 v4] Add CryptoAPI User Interface Support

2008-08-04 Thread Evgeniy Polyakov
Hi. On Wed, Jul 30, 2008 at 04:53:01PM -0700, Loc Ho ([EMAIL PROTECTED]) wrote: > This is Linux CryptoAPI user space interface support patch v4. This version > includes: > > * Add async support using Linux AIO. > * Interafce to choose Copy to/from user and pinning pages based on size of > data.