Skip to contentSkip to conversation

ghash-clmulni: does not load

DISCUSSION Stephan Mueller 1 participant 2 messages Nov 26, 2015 Crypto API

lore
Share & tools
lore
#0 lore raw

Hi Tadeusz,

testing the current cryptodev-2.6 tree, ghash-clmulni does not load. In the init function

	err = crypto_register_ahash(&ghash_async_alg);

returns EINVAL.

Any ideas?

Signature · 2 lines
Ciao
Stephan
#1 lore raw

Am Donnerstag, 26. November 2015, 13:45:26 schrieb Stephan Mueller:

Hi,

Quoted 8 lines

Hi Tadeusz,

testing the current cryptodev-2.6 tree, ghash-clmulni does not load. In the init function

	err = crypto_register_ahash(&ghash_async_alg);

returns EINVAL.

It looks like the halg.statesize is missing. When I add that field, the insmod works. But I do not know which statesize is needed to provide a full patch.

Ciao
Stephan