Skip to contentSkip to conversation

Link order of the AES-module(s)

DISCUSSION Sebastian Siewior 2 participants 2 messages Jan 22, 2008 – Mar 13, 2008 Crypto API

lore
Share & tools
lore
#0 lore raw

Hello Herbert,

this is just for the protocol. If you build the two aes modules into the kernel (1x asm + 1x generic) than the asm module is initialized before the generic one and even before the crypto API itself. This was allready the case before I started to dig around :)
This is currently not a problem because the module itself isn't used at that time and the init code doesn't do much.

Sebastian

maintainer
#1 lore raw
Quoted 8 lines · Sebastian Siewior

Hello Herbert,

this is just for the protocol. If you build the two aes modules into the kernel (1x asm + 1x generic) than the asm module is initialized before the generic one and even before the crypto API itself. This was allready the case before I started to dig around :)
This is currently not a problem because the module itself isn't used at that time and the init code doesn't do much.

Right as long as the data structures for registering algorithms do not require initialisations this is OK.

Thanks,

Signature · 4 lines
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <[email protected]>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt