commit | cc831d32d7b1bd45c5d74c44d8e39d354049c369 | [log] [tgz] |
---|---|---|
author | Cyrille Pitchen <cyrille.pitchen@atmel.com> | Fri Jan 29 17:04:02 2016 +0100 |
committer | Herbert Xu <herbert@gondor.apana.org.au> | Sat Jan 30 22:14:27 2016 +0800 |
tree | 94c789fa3421027fc62c8400fb646ea0a8c4874e | |
parent | a7c58ac06224b83dba93eaafde88535d5da60aef [diff] |
crypto: atmel-sha - fix algorihtm registration 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. Signed-off-by: Cyrille Pitchen <cyrille.pitchen@atmel.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>