Skip to contentSkip to conversation

ahash and halg.statesize

DISCUSSION Stephan Mueller 2 participants 2 messages Nov 26, 2015 – Nov 27, 2015 Crypto API

lore
Share & tools
lore
#0 lore raw

Hi Herbert,

after Fabio's confirmation on the mxs-dcp ahash implementations, I briefly looked for the invocation of crypto_register_ahash and found numerous invocations. After taking two examples (sahara, n2), I did not find halg.statesize.

Thus, I would conclude that none of these ciphers would work currently.

I am currently not sure how to solve that issue as every ahash implementation must be assessed for its statesize.

Ciao
Stephan

maintainer
#1 lore raw
Quoted 10 lines · Stephan Mueller

after Fabio's confirmation on the mxs-dcp ahash implementations, I briefly looked for the invocation of crypto_register_ahash and found numerous invocations. After taking two examples (sahara, n2), I did not find halg.statesize.

Thus, I would conclude that none of these ciphers would work currently.

I am currently not sure how to solve that issue as every ahash implementation must be assessed for its statesize.

Unfortunately these drivers can cause algif_hash to crash when the latter invokes the export/import functions.

So we need to audit them one-by-one and ensure that export and import actually works before turning them back on.

Cheers,

Signature · 3 lines
Email: Herbert Xu <[email protected]>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt