Re: [PATCH v2 1/3] keys, trusted: select the hash algorithm

2015-11-04 Thread Jarkko Sakkinen
On Tue, Nov 03, 2015 at 06:12:17PM +0200, Jarkko Sakkinen wrote: > On Tue, Nov 03, 2015 at 10:39:11AM -0500, Mimi Zohar wrote: > > On Tue, 2015-11-03 at 09:39 +0200, Jarkko Sakkinen wrote: > > > On Mon, Nov 02, 2015 at 07:16:49AM -0500, Mimi Zohar wrote: > > > > On Fri, 2015-10-30 at 13:35 +0200, J

Re: [PATCH v2 1/3] keys, trusted: select the hash algorithm

2015-11-03 Thread Jarkko Sakkinen
On Tue, Nov 03, 2015 at 10:39:11AM -0500, Mimi Zohar wrote: > On Tue, 2015-11-03 at 09:39 +0200, Jarkko Sakkinen wrote: > > On Mon, Nov 02, 2015 at 07:16:49AM -0500, Mimi Zohar wrote: > > > On Fri, 2015-10-30 at 13:35 +0200, Jarkko Sakkinen wrote: > > > > > > > @@ -787,6 +791,20 @@ static int geto

Re: [PATCH v2 1/3] keys, trusted: select the hash algorithm

2015-11-03 Thread Mimi Zohar
On Tue, 2015-11-03 at 09:39 +0200, Jarkko Sakkinen wrote: > On Mon, Nov 02, 2015 at 07:16:49AM -0500, Mimi Zohar wrote: > > On Fri, 2015-10-30 at 13:35 +0200, Jarkko Sakkinen wrote: > > > > > @@ -787,6 +791,20 @@ static int getoptions(char *c, struct > > > trusted_key_payload *pay, > > >

Re: [PATCH v2 1/3] keys, trusted: select the hash algorithm

2015-11-02 Thread Jarkko Sakkinen
On Mon, Nov 02, 2015 at 07:16:49AM -0500, Mimi Zohar wrote: > On Fri, 2015-10-30 at 13:35 +0200, Jarkko Sakkinen wrote: > > > @@ -787,6 +791,20 @@ static int getoptions(char *c, struct > > trusted_key_payload *pay, > > return -EINVAL; > > opt->pcrlo

Re: [PATCH v2 1/3] keys, trusted: select the hash algorithm

2015-11-02 Thread Jarkko Sakkinen
On Mon, Nov 02, 2015 at 07:16:49AM -0500, Mimi Zohar wrote: > On Fri, 2015-10-30 at 13:35 +0200, Jarkko Sakkinen wrote: > > > @@ -787,6 +791,20 @@ static int getoptions(char *c, struct > > trusted_key_payload *pay, > > return -EINVAL; > > opt->pcrlo

Re: [PATCH v2 1/3] keys, trusted: select the hash algorithm

2015-11-02 Thread Mimi Zohar
On Fri, 2015-10-30 at 13:35 +0200, Jarkko Sakkinen wrote: > @@ -787,6 +791,20 @@ static int getoptions(char *c, struct > trusted_key_payload *pay, > return -EINVAL; > opt->pcrlock = lock; > break; > + case Opt_h

[PATCH v2 1/3] keys, trusted: select the hash algorithm

2015-10-30 Thread Jarkko Sakkinen
Added 'hash=' option for selecting the hash algorithm for add_key() syscall and documentation for it. Signed-off-by: Jarkko Sakkinen --- Documentation/security/keys-trusted-encrypted.txt | 3 +++ include/keys/trusted-type.h | 1 + security/keys/Kconfig