Re: [PATCH 00/19] RFC, v2: "New" /dev/crypto user-space interface

2010-08-25 Thread Miloslav Trmac
- "Pavel Machek" wrote: > > * Advanced crypto module for OSPP for Common Criteria requires OS services > > implementing several low-level crypto algorithms (e.g. AES, RSA). This > > requires the separation of crypto services from the consumer of those > > services. (The threat model is

Re: [PATCH 00/19] RFC, v2: "New" /dev/crypto user-space interface

2010-08-24 Thread Tomas Mraz
On Wed, 2010-08-25 at 08:20 +0200, Pavel Machek wrote: > Hi! > > > Motivations for the extensions: governments are asking for more security > > features in the operating systems they procure, which make user-space > > implementations impractical. A few examples: > > > > * Advanced crypto module

Re: [PATCH 00/19] RFC, v2: "New" /dev/crypto user-space interface

2010-08-24 Thread Pavel Machek
Hi! > Motivations for the extensions: governments are asking for more security > features in the operating systems they procure, which make user-space > implementations impractical. A few examples: > > * Advanced crypto module for OSPP for Common Criteria requires OS services > implementing se

Re: [PATCH 00/19] RFC, v2: "New" /dev/crypto user-space interface

2010-08-23 Thread Miloslav Trmac
- "Arnd Bergmann" wrote: > On Friday 20 August 2010 10:45:43 Miloslav Trmač wrote: > > > > Major changes since the previous post: > > * "struct nlattr"-based extensible attributes used for extensibility > > of most operations, both for input and output attributes > > The API here looks ov

Re: [PATCH 00/19] RFC, v2: "New" /dev/crypto user-space interface

2010-08-23 Thread Nikos Mavrogiannopoulos
On Mon, Aug 23, 2010 at 10:09 AM, Arnd Bergmann wrote: >> This is an alternative design. There quite some reasons against that, >> such as the auditing features. For me the main reason was  that there >> was no way to make it as fast (zero-copy) as this design, for the >> requirements we had (int

Re: [PATCH 00/19] RFC, v2: "New" /dev/crypto user-space interface

2010-08-23 Thread Arnd Bergmann
On Sunday 22 August 2010 09:52:14 Nikos Mavrogiannopoulos wrote: > On 08/21/2010 07:08 PM, Arnd Bergmann wrote: > > On Friday 20 August 2010 10:45:43 Miloslav Trmač wrote: > >> * Full compat_ioctl implementation > > New drivers should be written to *avoid* compat_ioctl calls, using only > > very s

Re: [PATCH 00/19] RFC, v2: "New" /dev/crypto user-space interface

2010-08-22 Thread Tomas Mraz
On Fri, 2010-08-20 at 19:48 -0400, Ted Ts'o wrote: > On Fri, Aug 20, 2010 at 07:03:18PM +0200, Nikos Mavrogiannopoulos wrote: > > On 08/20/2010 03:56 PM, Ted Ts'o wrote: > > > On Fri, Aug 20, 2010 at 10:45:43AM +0200, Miloslav Trmač wrote: > > >> Hello, following is a patchset providing an user-sp

Re: [PATCH 00/19] RFC, v2: "New" /dev/crypto user-space interface

2010-08-22 Thread Nikos Mavrogiannopoulos
On 08/21/2010 07:08 PM, Arnd Bergmann wrote: > On Friday 20 August 2010 10:45:43 Miloslav Trmač wrote: >> >> Major changes since the previous post: >> * "struct nlattr"-based extensible attributes used for extensibility >> of most operations, both for input and output attributes > The API here lo

Re: [PATCH 00/19] RFC, v2: "New" /dev/crypto user-space interface

2010-08-21 Thread Arnd Bergmann
On Friday 20 August 2010 10:45:43 Miloslav Trmač wrote: > > Major changes since the previous post: > * "struct nlattr"-based extensible attributes used for extensibility > of most operations, both for input and output attributes The API here looks overly complex resulting from the use of a comb

Re: [PATCH 00/19] RFC, v2: "New" /dev/crypto user-space interface

2010-08-20 Thread Ted Ts'o
On Fri, Aug 20, 2010 at 07:03:18PM +0200, Nikos Mavrogiannopoulos wrote: > On 08/20/2010 03:56 PM, Ted Ts'o wrote: > > On Fri, Aug 20, 2010 at 10:45:43AM +0200, Miloslav Trmač wrote: > >> Hello, following is a patchset providing an user-space interface to > >> the kernel crypto API. It is based on

Re: [PATCH 00/19] RFC, v2: "New" /dev/crypto user-space interface

2010-08-20 Thread Nikos Mavrogiannopoulos
On 08/20/2010 03:56 PM, Ted Ts'o wrote: > On Fri, Aug 20, 2010 at 10:45:43AM +0200, Miloslav Trmač wrote: >> Hello, following is a patchset providing an user-space interface to >> the kernel crypto API. It is based on the older, BSD-compatible, >> implementation, but the user-space interface is di

Re: [PATCH 00/19] RFC, v2: "New" /dev/crypto user-space interface

2010-08-20 Thread Ted Ts'o
On Fri, Aug 20, 2010 at 10:45:43AM +0200, Miloslav Trmač wrote: > Hello, following is a patchset providing an user-space interface to > the kernel crypto API. It is based on the older, BSD-compatible, > implementation, but the user-space interface is different. What's the goal of exporting the ke

[PATCH 00/19] RFC, v2: "New" /dev/crypto user-space interface

2010-08-20 Thread Miloslav Trmač
Hello, following is a patchset providing an user-space interface to the kernel crypto API. It is based on the older, BSD-compatible, implementation, but the user-space interface is different. Major changes since the previous post: * "struct nlattr"-based extensible attributes used for extensibili