Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1304322 > unrolled thread

Re: ahash alg that does not implement import/export failed to register

Started byHerbert Xu <herbert@gondor.apana.org.au>
First post2016-01-08 11:00 +0100
Last post2016-01-08 11:00 +0100
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: ahash alg that does not implement import/export failed to  register Herbert Xu <herbert@gondor.apana.org.au> - 2016-01-08 11:00 +0100

#1304322 — Re: ahash alg that does not implement import/export failed to register

FromHerbert Xu <herbert@gondor.apana.org.au>
Date2016-01-08 11:00 +0100
SubjectRe: ahash alg that does not implement import/export failed to register
Message-ID<qOBZW-4VO-47@gated-at.bofh.it>
On Thu, Jan 07, 2016 at 08:49:31AM -0600, Tom Lendacky wrote:
> 
> Is it expected that import and export should work across algorithm
> implementations (eg. export sha1 state from hardware driver and import
> into sha1-generic algorithm)?  Or is the state purely meant for use by
> the driver only? I see a few hardware drivers exporting/importing
> to/from sha1_state and sha256_state and that is what prompts this
> question.

For algorithms in general there is no requirement for the states
to be exported in a particular format.  For certain special cases
such as crc32c we do require a specific format but you don't have
to worry about this for SHA.

Cheers,
-- 
Email: Herbert Xu <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web