Re: [PATCH v2] crypto: atmel-sha: fix algorihtm registration

2016-02-01 Thread Herbert Xu
On Fri, Jan 29, 2016 at 05:04:02PM +0100, Cyrille Pitchen wrote: > This patch implements the missing .import() and .export() mandatory > hooks for asynchronous hash algorithms. It also sets the relevant, non > zero, value for the .statesize field when declaring the supported SHA > algorithms. Indee

[PATCH v2] crypto: atmel-sha: fix algorihtm registration

2016-01-29 Thread Cyrille Pitchen
This patch implements the missing .import() and .export() mandatory hooks for asynchronous hash algorithms. It also sets the relevant, non zero, value for the .statesize field when declaring the supported SHA algorithms. Indeed a zero value of .statesize prevents the algorithm from being registered