Re: [PATCH v1] crypto: ccp - Add hash state import and export support

2016-01-26 Thread Herbert Xu
On Mon, Jan 25, 2016 at 08:58:41AM -0600, Tom Lendacky wrote: > > Many of the fields in the rctx structure are set during the update > operation and don't matter to the driver from an export and import > perspective. I included them to make the routines simple, but if > user-space exposure is a

Re: [PATCH v1] crypto: ccp - Add hash state import and export support

2016-01-25 Thread Herbert Xu
On Tue, Jan 12, 2016 at 11:17:38AM -0600, Tom Lendacky wrote: > Commit 8996eafdcbad ("crypto: ahash - ensure statesize is non-zero") > added a check to prevent ahash algorithms from successfully registering > if the import and export functions were not implemented. This prevents > an oops in the

Re: [PATCH v1] crypto: ccp - Add hash state import and export support

2016-01-24 Thread Herbert Xu
On Fri, Jan 22, 2016 at 11:22:48AM -0600, Tom Lendacky wrote: > On 01/12/2016 11:17 AM, Tom Lendacky wrote: > > Commit 8996eafdcbad ("crypto: ahash - ensure statesize is non-zero") > > added a check to prevent ahash algorithms from successfully registering > > if the import and export functions

Re: [PATCH v1] crypto: ccp - Add hash state import and export support

2016-01-22 Thread Tom Lendacky
On 01/12/2016 11:17 AM, Tom Lendacky wrote: > Commit 8996eafdcbad ("crypto: ahash - ensure statesize is non-zero") > added a check to prevent ahash algorithms from successfully registering > if the import and export functions were not implemented. This prevents > an oops in the hash_accept