Skip to contentSkip to conversation

What is the difference between aead.ko and authenc.ko ?

DISCUSSION Dean Jenkins 2 participants 2 messages Nov 7, 2008 – Nov 10, 2008 Crypto API

lore
Share & tools
lore
#0 lore raw

Hi,

Can anyone explain the difference between aead.ko and authenc.ko ?

How does crypto decide to use aead.ko instead of authenc.ko ? I am guessing it is something to do with XFRM ?

Thanks,

Regards,
Dean Jenkins
MontaVista Software

maintainer
#1 lore raw
Quoted 2 lines · Dean Jenkins

Can anyone explain the difference between aead.ko and authenc.ko ?

AEAD is a type of crypto algorithms, just like cipher or hash.

Authenc is a particular AEAD algorithm, just like AES is a cipher or SHA is a hash.

Quoted 2 lines

How does crypto decide to use aead.ko instead of authenc.ko ? I am guessing it is something to do with XFRM ?

Well IPsec uses the AEAD interface so it loads the aead.ko due to symbol dependencies. The authenc module is loaded if the user specifies a normal block cipher and hash algorithm.

Cheers,

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